You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2013/03/06 22:54:19 UTC

[Bug 54649] New: Incorrect PIDFILE prevent httpd restart

https://issues.apache.org/bugzilla/show_bug.cgi?id=54649

            Bug ID: 54649
           Summary: Incorrect PIDFILE prevent httpd restart
           Product: Apache httpd-2
           Version: 2.2.23
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
          Assignee: bugs@httpd.apache.org
          Reporter: louisbenoit@videotron.ca
    Classification: Unclassified

Created attachment 30026
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30026&action=edit
Contains error log, conf and service init

This situation was encountered when all the following conditions were met:
(1) The number of allowed thread for a process (ulimit -u) was smaller than the
maximum number of configured thread specified in the configuration file.
(2) The number of simultaneous HTTP request was greater than the limit imposed
by ulimit -u

This caused the main thread to exits but the child thread are still running. So
the PID in the PIDFILE is not the correct one and the service "stop" does not
work.

This was reproduce using Apache Benchmark: for example "ab -n 200 -c 200
http://..."  when "ulimit -u 32" was inserted before the deamon start in
/etc/init.d.httpd.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org