Re: How big are your httpd's?

2002-12-14 Thread harm
On Sat, Dec 14, 2002 at 04:50:25AM +0100, Axel Andersson wrote:
 Hi everyone,
 I would like to ask you how big your mod_perl enabled (v1) httpd's 
 grow. I'm using a homegrown publication system based on Template 
 Toolkit that delivers about 2000 Perl pages daily. After the first page 
 load, the daemons consume around 7 MB of RAM each, but after 24 hours 
 they've grown to something around 12 MB, with a record-holder of 16 MB.

  PID USER PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
19019 http   9   0 19844  14M  3884 S 3.9  0.7   0:13 apache.perl.new
19419 http   9   0 19852  15M  4388 S 2.6  0.7   0:14 apache.perl.new
19513 http   9   0 19276  13M  3860 S 2.6  0.6   0:13 apache.perl.new
19277 http   9   0 19360  14M  4144 S 2.1  0.7   0:16 apache.perl.new
19282 http   9   0 19456  14M  4052 S 2.1  0.7   0:13 apache.perl.new
19285 http   9   0 19332  14M  4048 S 2.1  0.6   0:15 apache.perl.new

They do about 60 dynamic pages / day.

 To me this seems like quite a lot, but I would like to get some numbers 
 from other people as to what's normal.

Nothing weird there.

 
 Thanks in advance,
 Axel Andersson
 

-- 
The Moon is Waxing Gibbous (76% of Full)



Re: How big are your httpd's?

2002-12-14 Thread Jonathan M. Hollin
harm wrote:


  PID USER PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
19019 http   9   0 19844  14M  3884 S 3.9  0.7   0:13 apache.perl.new
19419 http   9   0 19852  15M  4388 S 2.6  0.7   0:14 apache.perl.new
19513 http   9   0 19276  13M  3860 S 2.6  0.6   0:13 apache.perl.new
19277 http   9   0 19360  14M  4144 S 2.1  0.7   0:16 apache.perl.new
19282 http   9   0 19456  14M  4052 S 2.1  0.7   0:13 apache.perl.new
19285 http   9   0 19332  14M  4048 S 2.1  0.6   0:15 apache.perl.new


What command do I use to get this report please?


--
Jonathan M. Hollin

Technical Director:  Digital-Word Co. (http://digital-word.com/)
Co-ordinator:  WYPUG (http://wypug.pm.org/)




Re: How big are your httpd's?

2002-12-14 Thread Ged Haywood
Hi there,

On Sat, 14 Dec 2002, Jonathan M. Hollin wrote:

 harm wrote:
 
PID USER PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
  19019 http   9   0 19844  14M  3884 S 3.9  0.7   0:13 apache.perl.new
  19419 http   9   0 19852  15M  4388 S 2.6  0.7   0:14 apache.perl.new
  19513 http   9   0 19276  13M  3860 S 2.6  0.6   0:13 apache.perl.new
  19277 http   9   0 19360  14M  4144 S 2.1  0.7   0:16 apache.perl.new
  19282 http   9   0 19456  14M  4052 S 2.1  0.7   0:13 apache.perl.new
  19285 http   9   0 19332  14M  4048 S 2.1  0.6   0:15 apache.perl.new
 
 What command do I use to get this report please?

top, and possibly you'd pipe the output through grep, but you'd need
to read the manpage for top first.  Type 'man top' and 'man grep' for
those manpages.

How did you know that your processes were getting big if you didn't
use top?  On second thoughts, don't answer that.  The mod_perl list is
relatively tolerant of off-topic posts, but not of laziness.  Please
don't ask general OS questions here as an alternative to learning
about your operating system.

73,
Ged.




Re: How big are your httpd's?

2002-12-14 Thread Jonathan M. Hollin
Ged Haywood wrote:


What command do I use to get this report please?


top, and possibly you'd pipe the output through grep, but you'd need
to read the manpage for top first.  Type 'man top' and 'man grep' for
those manpages.

How did you know that your processes were getting big if you didn't
use top?  On second thoughts, don't answer that.  The mod_perl list is
relatively tolerant of off-topic posts, but not of laziness.  Please
don't ask general OS questions here as an alternative to learning
about your operating system.


I am trying to learn about my operating system.  I am trying to learn 
about lots of things.

Did I really need to be criticised for asking?  Now that I know to use 
top, then of course I can RTFM to learn more.  But I didn't know about 
top - I've been trying to get this information with ps (which I have 
learned).  So I asked my harmless (or so I thought) question.  Now I know.

Thank you so very much for your kind help Ged.


--
Jonathan M. Hollin

Technical Director:  Digital-Word Co. (http://digital-word.com/)
Co-ordinator:  WYPUG (http://wypug.pm.org/)



How big are your httpd's?

2002-12-13 Thread Axel Andersson
Hi everyone,
I would like to ask you how big your mod_perl enabled (v1) httpd's 
grow. I'm using a homegrown publication system based on Template 
Toolkit that delivers about 2000 Perl pages daily. After the first page 
load, the daemons consume around 7 MB of RAM each, but after 24 hours 
they've grown to something around 12 MB, with a record-holder of 16 MB.

To me this seems like quite a lot, but I would like to get some numbers 
from other people as to what's normal.

Thanks in advance,
Axel Andersson



Re: How big are your httpd's?

2002-12-13 Thread Nate Campi
On Sat, Dec 14, 2002 at 04:50:25AM +0100, Axel Andersson wrote:
 Hi everyone,
 I would like to ask you how big your mod_perl enabled (v1) httpd's 
 grow. I'm using a homegrown publication system based on Template 
 Toolkit that delivers about 2000 Perl pages daily. After the first page 
 load, the daemons consume around 7 MB of RAM each, but after 24 hours 
 they've grown to something around 12 MB, with a record-holder of 16 MB.
 
 To me this seems like quite a lot, but I would like to get some numbers 
 from other people as to what's normal.

I don't know what's normal for other people, but with a personal
Mason-driven site with only a few hundred visitors a day I get this:

  PID USER PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
 5661 www-data   9   0 15232  14M  9988 S 0.0  2.3   0:01 apache
 2517 www-data   9   0 14256  13M  9984 S 0.0  2.1   0:01 apache
 2518 www-data   9   0 14124  13M  9968 S 0.0  2.1   0:01 apache
 2519 www-data   9   0 14076  13M  9968 S 0.0  2.1   0:01 apache
16638 www-data   9   0 14024  13M  9964 S 0.0  2.1   0:01 apache
26290 www-data   9   0 13948  13M  9948 S 0.0  2.1   0:00 apache
26289 www-data  11   0 13852  13M  9960 S 0.5  2.0   0:01 apache
 2520 www-data   9   0 13816  13M  9816 S 0.0  2.0   0:01 apache
26288 www-data   9   0 13812  13M  9960 S 0.0  2.0   0:01 apache
18348 www-data   9   0 12692  12M  9904 S 0.0  1.9   0:01 apache
 2996 root   9   0 12156  11M 10420 S 0.0  1.8   0:57 apache

Linux 2.4.19 x86 SMP with 600 megs of RAM. I think your numbers are
probably fairly normal.
-- 
Nate Campi   http://www.campin.net 

The basic notion underlying USENET is the flame. - Rospach, Chuq von




msg31747/pgp0.pgp
Description: PGP signature