Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

DO NOT REPLY [Bug 11331] New: - stale cgi process entries

From: <bugzilla(at)apache.org>
Date: Wed Jul 31 2002 - 10:31:29 EDT


DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11331>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11331

stale cgi process entries

           Summary: stale cgi process entries
           Product: Apache httpd-2.0
           Version: 2.0.39
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: All
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: abatko@cs.mcgill.ca

We recently discovered hundreds of stale process entries in the process table, and they were all cgi programs.

We're running 2.0.39 with suexec.

It seems that EVERY cgi program that's run leaves behind a process entry.

Below is an example just for one user (abatko):

% ps auxwwww | sort | grep ^abatko | wc -l

     412

Do you need help?X

# now run a cgi program

% ps auxwwww | sort | grep ^abatko | wc -l

     413

# now stop/start apache

% apachectl stop
% apachectl start

% ps auxwwww | sort | grep ^abatko | wc -l

       0

# now run a cgi program

Do you need more help?X

% ps auxwwww | sort | grep ^abatko | wc -l

       1

# now run another cgi program

% ps auxwwww | sort | grep ^abatko | wc -l

       2

Here's an example of what the process table looks like for the two cgi programs run above:

USER      PID %CPU %MEM   VSZ  RSS  TT  STAT STARTED      TIME COMMAND
abatko  26979  0.0  0.0     0    0  ??  Z    10:18AM   0:00.00  (perl)
abatko  26987  0.0  0.0     0    0  ??  Z    10:18AM   0:00.00  (c.cgi)

Please let me know if you need any other information.



To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org Received on Wed Jul 31 14:31:14 2002

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 16:43:45 EDT

Can we help you?X

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library