Re: Running 2 httpd on one mache question.

2000-01-27 Thread Chris Thompson

On Wed, Jan 26, 2000 at 03:22:12PM -0300, Martin A. Langhoff wrote:
 But there's one thing that I can't imagine. When I run top, how do I
 tell memory/cpu consumption from lightweight daemons from the mem/cpu
 consumption from mod_perl daemons?

We have a web farm that hosts four separate apaches. Production plain,
Certification Plain, Java Servlet Production, and Java Servlet
Certification.

Certification is our term for a QA site, for testing before it goes into
production.

The two plain apaches use the same binary. The two java's do too. We
specify a different httpd.conf on the command line. 

To keep track of which is which, we have each of the four with a different
owner. web, webc, webj and webjc. That way when you look at top you can
easily tell by ownership which is which. This helps us in our java
environment  where you not only have apache, but have a JDK process
running as well, which DOESNT have a different name.


| Chris Thompson  [EMAIL PROTECTED] | 
| Senior VP, X4 Networks  [EMAIL PROTECTED]|
+--+
| GPG/PGP Key [0x86CF264F] available at http://cthompson.com/keys  |
| Fingerprint: 9820 A304 65AD F44A A658  83F6 667D D93B 86CF 264F  |
+--+



Re: Running 2 httpd on one mache question.

2000-01-26 Thread Joshua Chamas

"Martin A. Langhoff" wrote:
 
 Hi all,
 
 I've read all the documentation on how to run 2 different httpd, one
 for lightweight serving and a mod_perl enabled daemon. Also read the
 threads about this last weeks.
 
 But there's one thing that I can't imagine. When I run top, how do I
 tell memory/cpu consumption from lightweight daemons from the mem/cpu
 consumption from mod_perl daemons?
 
 Thanks in advance..
 

A couple ways, first, the mod_perl httpd will be taking up much
more RAM, but what I really do is rename the lightweight httpd
binary to another name, like phttpd (for proxy-httpd), or some 
such, then its real easy to tell.  You'll have to change the 
apachectl command script with the new binary name of apache.

-- Joshua
_
Joshua Chamas   Chamas Enterprises Inc.
NodeWorks  free web link monitoring   Huntington Beach, CA  USA 
http://www.nodeworks.com1-714-625-4051