Re: Again, Modperl running scripts slower than non-modperl!?

2001-08-05 Thread Elizabeth Mattijsen

At 01:29 AM 8/5/01 -0500, John Buwa wrote:
91 processes: 89 sleeping, 2 running, 0 zombie, 0 stopped
CPU states:  0.0% user,  0.7% system,  0.0% nice, 99.2% idle
Mem:   257408K av,  228384K used,   29024K free,   13744K shrd,5380K buff
Swap:  265528K av,  184780K used,   80748K free8908K 
cached
  PID   USER PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM  CTIME COMMAND
25788 nobody 0   0  126M 125M  1076 S 0.0 49.8   0:13 httpd 
modperl server
25787 nobody 0   0  196M  32M  1356 S 0.0 12.9   0:19 httpd 
-modperl server
25799 nobody 0   0 32592  30M 8 S 0.0 12.2   0:10 httpd---Non 
modperl server

Not having read anything before this, but it seems that your machine is 
going into swap because there is not enough RAM available.  That kills your 
performance always.  Could you run your test on a different machine or 
temporarily switch off the regular server?

Trying to run close to 200 Mbyte modperl Apaches on a 256 Mbyte machine is 
not going to work.  Have you looked at MaxRequestsPerChild?

But even the non-modperl servers at 30 Mbyte size seems ridiculously large: 
are you sure you need all the modules that you compiled into Apache?


Elizabeth Mattijsen




Re: Again, Modperl running scripts slower than non-modperl!?

2001-08-05 Thread John Buwa


 Not having read anything before this, but it seems that your machine is
 going into swap because there is not enough RAM available.  That kills
your
 performance always.  Could you run your test on a different machine or
 temporarily switch off the regular server?

 Trying to run close to 200 Mbyte modperl Apaches on a 256 Mbyte machine is
 not going to work.  Have you looked at MaxRequestsPerChild?

This is set at 0

 But even the non-modperl servers at 30 Mbyte size seems ridiculously
large:
 are you sure you need all the modules that you compiled into Apache?

Im sorry that was a mistake the non modeperl apache is like this:
125 nobody 0   0   3960 0 SW0.0  0.0   5:58 httpd
  126 nobody 0   0   2960 0 SW0.0  0.0   0:19 httpd
  127 nobody 0   0   804  608   504 S 0.0  0.2   8:10 httpd
  128 nobody 0   0   888  724   592 S 0.0  0.2  11:21 httpd
  129 nobody 0   0   872  712   592 S 0.0  0.2   5:21 httpd

John




Re: Again, Modperl running scripts slower than non-modperl!?

2001-08-05 Thread Perrin Harkins

  Not having read anything before this, but it seems that your machine is
  going into swap because there is not enough RAM available.  That kills
 your
  performance always.  Could you run your test on a different machine or
  temporarily switch off the regular server?
 
  Trying to run close to 200 Mbyte modperl Apaches on a 256 Mbyte machine
is
  not going to work.  Have you looked at MaxRequestsPerChild?

 This is set at 0

What are you using to control process size?  Apache::SizeLimit?  It looks
like you have some code that hogs memory, and you'll need to control it
somehow.  Most people have servers more in the range of 10-40MB, with a
bunch of that shared.

- Perrin