in reply to Re^4: Apache / 30,000 Perl script serving limit
in thread Apache / 30,000 Perl script serving limit

What seems to be more interesting than that they do get a new PID (which is to be expected with mod_cgid) is that they're still running after several seconds (observe the STIME column) — presuming the output you've shown is of a single ps call, of course.  In case environment.pl is just printing out the environment, this shouldn't take several seconds... so I would try to find out why that is...

BTW, even on HP-UX, you can get a nice tree-like display of processes with ps (similarly to what option -f does on Linux). This is often helpful to easily see which processes forked which...  For this, you'd need to enable XPG4 mode, which you do via the env variable UNIX95. This makes option -H available, so you can then write, for example

$ UNIX95=1 ps -efH

(not sure if you're aware of it, so I thought it might be worth mentioning...)

Replies are listed 'Best First'.
Re^6: Apache / 30,000 Perl script serving limit
by QcMonk (Novice) on May 06, 2009 at 20:44 UTC

    You are quite the observer my friend, Those lines were from a series of calls ps -fu www | grep environment.pl