Re: Apache hangs on reload

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2010-01-23, at 4:42 PM, Jeff Trawick wrote:

> mod_fcgid tries to exit the httpd child process right after issuing
> that message.  I think it encounters the error because it is running
> in a child process from the old generation (before restart) and the
> lock was removed in the parent process.
> 
> Did you have to forcefully kill those same processes that said "can't
> get lock"?  Next time can you attach with gdb and get a backtrace?
> 
> Do something like this:
> 
> gdb /path/to/httpd 22501
> ...
> (gdb) where
> ...
> (gdb) quit


Doesn't seem to work (even when run as root):

# gdb /usr/sbin/apache2 14604
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
(no debugging symbols found)
Attaching to program: /usr/sbin/apache2, process 14604
ptrace: Operation not permitted.
/root/14604: No such file or directory.

Also, for some reason the message shows up in the main Apache log, and sometimes in the vhost's error log. If that helps.

-- 
Jeremy R.
Owner, NovaWave Solutions
http://www.novawave.net/


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux