borked apache

Elan Ruusamäe glen at delfi.ee
Wed Mar 16 15:15:39 CET 2005


On Wednesday 16 March 2005 14:18, Marcin Król wrote:
> Looks like it
> doesn't liked those changes:
> http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/apache.init?r1=1.34&r2=1.35
> but on the other hand, when using "/etc/rc.d/init.d/httpd restart"
> manually it never hangs...
just an tought...

httpd.${HTTPD_MPM}
if this exceeds 8bytes, the process name is truncated in /proc/$pid/status 
(/proc/$pid/cmdline?) and pidof program fails to locate pid.

i tested on my system, and did not observe such situation right now. but i'm 
pretty sure it did exist on other older systems.
kernel 2.6.9. 

so perhaps you could execute:
$ doexec cat DAAAAAAAAAAAAAAAAAAAAAAAAAA
and see if pidof "sees" pid of that cat program:

$ pidof DAAAAAAAAAAAAAAAAAAAAAAAAAA
846


-- 
glen




More information about the pld-devel-en mailing list