You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Albert Poon <al...@bigtearice.net> on 2006/09/27 17:52:44 UTC
[users@httpd] apache-worker bugged child, cannot close connection
I will keep it short:
Related settings:
ServerLimit 8
StartServers 8
MaxClients 512
MinSpareThreads 512
MaxSpareThreads 0
ThreadsPerChild 64
MaxRequestsPerChild 0
Problem: (well, see for yourself)
Current Time: Wednesday, 27-Sep-2006 23:34:09 HKT
Restart Time: Wednesday, 27-Sep-2006 06:00:20 HKT
Parent Server Generation: 9
Server uptime: 17 hours 33 minutes 49 seconds
Total accesses: 781692 - Total Traffic: 28.2 GB
CPU Usage: u1129.62 s1146.09 cu7.51563 cs0 - 3.61% CPU load
12.4 requests/sec - 468.0 kB/second - 37.9 kB/request
256 requests currently being processed, 256 idle workers
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
_W__C_____________C___K_K_____KW____C_W____________W____________
_C___K_____W__W__W__KWK______WK___WC__W_K__K_W_C___W____________
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
__W_____W_____K____________________W____K__________K_K_W_C__C___
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
___WWKK_CW______W__C_W_C__________C______W_W______W_W___________
____CC__W_W___________W_W_______W_________K_C_KK________________
Eventually all lines will be full of "W" and the server will reject all new
connections.
Tried but no good:
EnableMMAP On/Off
EnableSendfile On/Off
KeepAlive On/Off
Last words:
PLEASE HELP!
Best Regards,
Albert Poon
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] apache-worker bugged child, cannot close connection
Posted by Albert Poon <al...@bigtearice.net>.
On Wed, 27 Sep 2006 14:00:33 -0400, Joshua Slive wrote
> On 9/27/06, Albert Poon <al...@bigtearice.net> wrote:
>
> > I am sure PHP4 was compiled threadsafe, because I had to recompile it
when I
> > switched from prefork to worker. I recompiled the PHP4 together with all
> > extensions too. I have to use worker mpm because the server has limited
RAM...
>
> It's not simply a question of compiling php4 as threadsafe. All the
> supporting libraries that are used by php must also be threadsafe.
> Here's what the php developers have to say on the subject:
> http://www.php.net/manual/en/faq.installation.php#faq.installation.apache2
>
> That is not to say it is impossible to run php with worker, but if
> you haven't looked carefully at the thread-safety issue, then I certainly
> wouldn't recommend it. Stuck processes (especially when they are
> stuck in pthread mutexes) can most certainly be a symptom of
> thread-unsafe libraries.
>
> Joshua.
>
> >
> > Best Regards,
> >
> > Albert Poon
> >
> >
> > ---------------------------------------------------------------------
> > 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@httpd.apache.org
> > " from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
Alright... I'll try digging into everything I installed on the box... Thanks
Joshua~
Best Regards,
Albert Poon
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] apache-worker bugged child, cannot close connection
Posted by Joshua Slive <jo...@slive.ca>.
On 9/27/06, Albert Poon <al...@bigtearice.net> wrote:
> I am sure PHP4 was compiled threadsafe, because I had to recompile it when I
> switched from prefork to worker. I recompiled the PHP4 together with all
> extensions too. I have to use worker mpm because the server has limited RAM...
It's not simply a question of compiling php4 as threadsafe. All the
supporting libraries that are used by php must also be threadsafe.
Here's what the php developers have to say on the subject:
http://www.php.net/manual/en/faq.installation.php#faq.installation.apache2
That is not to say it is impossible to run php with worker, but if you
haven't looked carefully at the thread-safety issue, then I certainly
wouldn't recommend it. Stuck processes (especially when they are
stuck in pthread mutexes) can most certainly be a symptom of
thread-unsafe libraries.
Joshua.
>
> Best Regards,
>
> Albert Poon
>
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] apache-worker bugged child, cannot close connection
Posted by Albert Poon <al...@bigtearice.net>.
On Wed, 27 Sep 2006 13:38:17 -0400, Joshua Slive wrote
> On 9/27/06, Joshua Slive <jo...@slive.ca> wrote:
> > On 9/27/06, Albert Poon <al...@bigtearice.net> wrote:
> >
> > > However I am not familiar with gdb... thus I C&P the result here...
sorry if
> > > its too long...
> >
> > I'm not an expert in this either but...
> >
> > It looks like you are using the worker mpm, in which case the
> > instructions I referenced tell you to use "thread apply bt all"
> >
> > But that brings up another point. You seem to be using the worker mpm
> > in conjuction with php. Have you read all the warning about this?
> > Are you sure that all the libraries you are using are threadsafe?
> > Have you tried using the prefork mpm to see if the problem goes away?
>
> Oops... It's actually "thread apply all bt full", and it is in a
> different part of the instructions than what I referenced for you.
>
> Joshua.
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
I am sure PHP4 was compiled threadsafe, because I had to recompile it when I
switched from prefork to worker. I recompiled the PHP4 together with all
extensions too. I have to use worker mpm because the server has limited RAM...
Best Regards,
Albert Poon
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] apache-worker bugged child, cannot close connection
Posted by Joshua Slive <jo...@slive.ca>.
On 9/27/06, Joshua Slive <jo...@slive.ca> wrote:
> On 9/27/06, Albert Poon <al...@bigtearice.net> wrote:
>
> > However I am not familiar with gdb... thus I C&P the result here... sorry if
> > its too long...
>
> I'm not an expert in this either but...
>
> It looks like you are using the worker mpm, in which case the
> instructions I referenced tell you to use "thread apply bt all"
>
> But that brings up another point. You seem to be using the worker mpm
> in conjuction with php. Have you read all the warning about this?
> Are you sure that all the libraries you are using are threadsafe?
> Have you tried using the prefork mpm to see if the problem goes away?
Oops... It's actually "thread apply all bt full", and it is in a
different part of the instructions than what I referenced for you.
Joshua.
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] apache-worker bugged child, cannot close connection
Posted by Joshua Slive <jo...@slive.ca>.
On 9/27/06, Albert Poon <al...@bigtearice.net> wrote:
> However I am not familiar with gdb... thus I C&P the result here... sorry if
> its too long...
I'm not an expert in this either but...
It looks like you are using the worker mpm, in which case the
instructions I referenced tell you to use "thread apply bt all"
But that brings up another point. You seem to be using the worker mpm
in conjuction with php. Have you read all the warning about this?
Are you sure that all the libraries you are using are threadsafe?
Have you tried using the prefork mpm to see if the problem goes away?
Joshua.
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] apache-worker bugged child, cannot close connection
Posted by Albert Poon <al...@bigtearice.net>.
On Wed, 27 Sep 2006 12:57:16 -0400, Joshua Slive wrote
> On 9/27/06, Albert Poon <al...@bigtearice.net> wrote:
>
> > Problem: (well, see for yourself)
> >
> > Current Time: Wednesday, 27-Sep-2006 23:34:09 HKT
> > Restart Time: Wednesday, 27-Sep-2006 06:00:20 HKT
> > Parent Server Generation: 9
> > Server uptime: 17 hours 33 minutes 49 seconds
> > Total accesses: 781692 - Total Traffic: 28.2 GB
> > CPU Usage: u1129.62 s1146.09 cu7.51563 cs0 - 3.61% CPU load
> > 12.4 requests/sec - 468.0 kB/second - 37.9 kB/request
> > 256 requests currently being processed, 256 idle workers
> >
> > WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
> > _W__C_____________C___K_K_____KW____C_W____________W____________
> > _C___K_____W__W__W__KWK______WK___WC__W_K__K_W_C___W____________
> > WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
> > __W_____W_____K____________________W____K__________K_K_W_C__C___
> > WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
> > ___WWKK_CW______W__C_W_C__________C______W_W______W_W___________
> > ____CC__W_W___________W_W_______W_________K_C_KK________________
> >
> > Eventually all lines will be full of "W" and the server will reject all
new
> > connections.
>
> Attach to some of the "stuck" processes with a debugger (those that
> sit in "W" on the same request forever) and see what they are up to:
> http://httpd.apache.org/dev/debugging.html#backtrace
>
> Joshua.
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
Thanks Joshua!
However I am not familiar with gdb... thus I C&P the result here... sorry if
its too long...
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols
found)...
Attaching to program: /usr/local/sbin/httpd, process 23223
Reading symbols from /lib/libm.so.4...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.4
Reading symbols from /usr/local/lib/libaprutil-1.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libaprutil-1.so.2
Reading symbols from /usr/local/lib/libexpat.so.6...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libexpat.so.6
Reading symbols from /usr/local/lib/libiconv.so.3...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /usr/local/lib/libapr-1.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libapr-1.so.2
Reading symbols from /lib/libcrypt.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypt.so.3
Reading symbols from /usr/lib/libpthread.so.2...(no debugging symbols
found)...done.
warning: Unable to get location for thread creation breakpoint: generic error
[New Thread 0x8377a00 (sleeping)]
[New Thread 0x8377800 (sleeping)]
[New Thread 0x8377600 (sleeping)]
[New Thread 0x8377400 (sleeping)]
[New Thread 0x8377200 (sleeping)]
[New Thread 0x8377000 (sleeping)]
[New Thread 0x8356e00 (sleeping)]
[New Thread 0x8356c00 (sleeping)]
[New Thread 0x8356a00 (sleeping)]
[New Thread 0x8356800 (sleeping)]
[New Thread 0x8356600 (sleeping)]
[New Thread 0x8356400 (sleeping)]
[New Thread 0x8356200 (sleeping)]
[New Thread 0x8356000 (sleeping)]
[New Thread 0x8335e00 (sleeping)]
[New Thread 0x8335c00 (sleeping)]
[New Thread 0x8335a00 (sleeping)]
[New Thread 0x8335800 (sleeping)]
[New Thread 0x8335600 (sleeping)]
[New Thread 0x8335400 (sleeping)]
[New Thread 0x8335200 (sleeping)]
[New Thread 0x8335000 (sleeping)]
[New Thread 0x8314e00 (sleeping)]
[New Thread 0x8314c00 (sleeping)]
[New Thread 0x8314a00 (sleeping)]
[New Thread 0x8314800 (sleeping)]
[New Thread 0x8314600 (sleeping)]
[New Thread 0x8314400 (sleeping)]
[New Thread 0x8314200 (sleeping)]
[New Thread 0x8314000 (sleeping)]
[New Thread 0x82f6e00 (sleeping)]
[New Thread 0x82f6c00 (sleeping)]
[New Thread 0x82f6a00 (sleeping)]
[New Thread 0x82f6800 (sleeping)]
[New Thread 0x82f6600 (sleeping)]
[New Thread 0x82f6400 (sleeping)]
[New Thread 0x82f6200 (sleeping)]
[New Thread 0x82f6000 (sleeping)]
[New Thread 0x82e5e00 (sleeping)]
[New Thread 0x82e5c00 (sleeping)]
[New Thread 0x82e5a00 (sleeping)]
[New Thread 0x82e5800 (sleeping)]
[New Thread 0x82e5600 (sleeping)]
[New Thread 0x82e5400 (sleeping)]
[New Thread 0x82e5200 (sleeping)]
[New Thread 0x82e5000 (sleeping)]
[New Thread 0x82d4e00 (sleeping)]
[New Thread 0x82d4c00 (sleeping)]
[New Thread 0x82d4a00 (sleeping)]
[New Thread 0x82d4800 (sleeping)]
[New Thread 0x82d4600 (sleeping)]
[New Thread 0x82d4400 (sleeping)]
[New Thread 0x82d4200 (sleeping)]
[New Thread 0x82d4000 (sleeping)]
[New Thread 0x82c3e00 (sleeping)]
[New Thread 0x82c3c00 (sleeping)]
[New Thread 0x82c3a00 (sleeping)]
[New Thread 0x82c3800 (sleeping)]
[New Thread 0x82c3600 (sleeping)]
[New Thread 0x82c3400 (sleeping)]
[New Thread 0x82c3200 (sleeping)]
[New Thread 0x82c3000 (sleeping)]
[New Thread 0x820ae00 (sleeping)]
[New Thread 0x820ac00 (sleeping)]
[New Thread 0x820aa00 (sleeping)]
[New Thread 0x820a600 (LWP 100094)]
[New Thread 0x80a5000 (runnable)]
Loaded symbols for /usr/lib/libpthread.so.2
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /usr/local/libexec/apache22/mod_authn_file.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_authn_file.so
Reading symbols from /usr/local/libexec/apache22/mod_authn_dbm.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_authn_dbm.so
Reading symbols from /usr/local/libexec/apache22/mod_authn_anon.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_authn_anon.so
Reading symbols from /usr/local/libexec/apache22/mod_authn_default.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_authn_default.so
Reading symbols from /usr/local/libexec/apache22/mod_authn_alias.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_authn_alias.so
Reading symbols from /usr/local/libexec/apache22/mod_authz_host.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_authz_host.so
Reading symbols from /usr/local/libexec/apache22/mod_authz_groupfile.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_authz_groupfile.so
Reading symbols from /usr/local/libexec/apache22/mod_authz_user.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_authz_user.so
Reading symbols from /usr/local/libexec/apache22/mod_authz_dbm.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_authz_dbm.so
Reading symbols from /usr/local/libexec/apache22/mod_authz_owner.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_authz_owner.so
Reading symbols from /usr/local/libexec/apache22/mod_authz_default.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_authz_default.so
Reading symbols from /usr/local/libexec/apache22/mod_auth_basic.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_auth_basic.so
Reading symbols from /usr/local/libexec/apache22/mod_auth_digest.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_auth_digest.so
Reading symbols from /usr/local/libexec/apache22/mod_file_cache.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_file_cache.so
Reading symbols from /usr/local/libexec/apache22/mod_cache.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_cache.so
Reading symbols from /usr/local/libexec/apache22/mod_disk_cache.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_disk_cache.so
Reading symbols from /usr/local/libexec/apache22/mod_mem_cache.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_mem_cache.so
Reading symbols from /usr/local/libexec/apache22/mod_include.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_include.so
Reading symbols from /usr/local/libexec/apache22/mod_filter.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_filter.so
Reading symbols from /usr/local/libexec/apache22/mod_charset_lite.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_charset_lite.so
Reading symbols from /usr/local/libexec/apache22/mod_deflate.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_deflate.so
Reading symbols from /lib/libz.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libz.so.3
Reading symbols from /usr/local/libexec/apache22/mod_log_config.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_log_config.so
Reading symbols from /usr/local/libexec/apache22/mod_logio.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_logio.so
Reading symbols from /usr/local/libexec/apache22/mod_env.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_env.so
Reading symbols from /usr/local/libexec/apache22/mod_mime_magic.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_mime_magic.so
Reading symbols from /usr/local/libexec/apache22/mod_cern_meta.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_cern_meta.so
Reading symbols from /usr/local/libexec/apache22/mod_expires.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_expires.so
Reading symbols from /usr/local/libexec/apache22/mod_headers.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_headers.so
Reading symbols from /usr/local/libexec/apache22/mod_usertrack.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_usertrack.so
Reading symbols from /usr/local/libexec/apache22/mod_unique_id.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_unique_id.so
Reading symbols from /usr/local/libexec/apache22/mod_setenvif.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_setenvif.so
Reading symbols from /usr/local/libexec/apache22/mod_version.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_version.so
Reading symbols from /usr/local/libexec/apache22/mod_ssl.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_ssl.so
Reading symbols from /usr/lib/libssl.so.4...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libssl.so.4
Reading symbols from /lib/libcrypto.so.4...(no debugging symbols
found)...done.
Loaded symbols for /lib/libcrypto.so.4
Reading symbols from /usr/local/libexec/apache22/mod_mime.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_mime.so
Reading symbols from /usr/local/libexec/apache22/mod_dav.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_dav.so
Reading symbols from /usr/local/libexec/apache22/mod_status.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_status.so
Reading symbols from /usr/local/libexec/apache22/mod_autoindex.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_autoindex.so
Reading symbols from /usr/local/libexec/apache22/mod_asis.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_asis.so
Reading symbols from /usr/local/libexec/apache22/mod_info.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_info.so
Reading symbols from /usr/local/libexec/apache22/mod_cgid.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_cgid.so
Reading symbols from /usr/local/libexec/apache22/mod_dav_fs.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_dav_fs.so
Reading symbols from /usr/local/libexec/apache22/mod_vhost_alias.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_vhost_alias.so
Reading symbols from /usr/local/libexec/apache22/mod_negotiation.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_negotiation.so
Reading symbols from /usr/local/libexec/apache22/mod_dir.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_dir.so
Reading symbols from /usr/local/libexec/apache22/mod_imagemap.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_imagemap.so
Reading symbols from /usr/local/libexec/apache22/mod_actions.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_actions.so
Reading symbols from /usr/local/libexec/apache22/mod_speling.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_speling.so
Reading symbols from /usr/local/libexec/apache22/mod_userdir.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_userdir.so
Reading symbols from /usr/local/libexec/apache22/mod_alias.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_alias.so
Reading symbols from /usr/local/libexec/apache22/mod_rewrite.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/mod_rewrite.so
Reading symbols from /usr/local/libexec/apache22/libphp4.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/libexec/apache22/libphp4.so
Reading symbols from /usr/local/lib/php/20020429-zts/mbstring.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/20020429-zts/mbstring.so
Reading symbols from /usr/local/lib/php/20020429-zts/mysql.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20020429-zts/mysql.so
Reading symbols from /usr/local/lib/mysql/libmysqlclient.so.12...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/mysql/libmysqlclient.so.12
Reading symbols from /usr/local/lib/php/20020429-zts/zlib.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20020429-zts/zlib.so
Reading symbols from /usr/local/lib/php/20020429-zts/session.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/20020429-zts/session.so
Reading symbols from /usr/local/lib/php/20020429-zts/bz2.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20020429-zts/bz2.so
Reading symbols from /usr/lib/libbz2.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libbz2.so.2
Reading symbols from /usr/local/lib/php/20020429-zts/gd.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20020429-zts/gd.so
Reading symbols from /usr/local/lib/libt1.so.5...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libt1.so.5
Reading symbols from /usr/local/lib/libfreetype.so.9...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libfreetype.so.9
Reading symbols from /usr/X11R6/lib/libX11.so.6...(no debugging symbols
found)...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /usr/X11R6/lib/libXpm.so.4...(no debugging symbols
found)...done.
Loaded symbols for /usr/X11R6/lib/libXpm.so.4
Reading symbols from /usr/local/lib/libpng.so.5...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libpng.so.5
Reading symbols from /usr/local/lib/libjpeg.so.9...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libjpeg.so.9
Reading symbols from /usr/X11R6/lib/libXext.so.6...(no debugging symbols
found)...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/local/lib/php/20020429-zts/pdf.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20020429-zts/pdf.so
Reading symbols from /usr/local/lib/libpdf.so.7...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libpdf.so.7
Reading symbols from /usr/local/lib/php/20020429-zts/mcrypt.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/20020429-zts/mcrypt.so
Reading symbols from /usr/local/lib/libmcrypt.so.8...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libmcrypt.so.8
Reading symbols from /usr/local/lib/libltdl.so.4...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libltdl.so.4
Reading symbols from /usr/local/lib/php/20020429-zts/overload.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/20020429-zts/overload.so
Reading symbols from /usr/local/lib/php/20020429-zts/pcre.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/php/20020429-zts/pcre.so
Reading symbols from /usr/local/lib/php/20020429-zts/openssl.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/20020429-zts/openssl.so
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols
found)...done.
Loaded symbols for /libexec/ld-elf.so.1
[Switching to Thread 0x820a600 (LWP 100094)]
0x2825155b in pthread_testcancel () from /usr/lib/libpthread.so.2
(gdb) where
#0 0x2825155b in pthread_testcancel () from /usr/lib/libpthread.so.2
#1 0x282499ce in pthread_mutexattr_init () from /usr/lib/libpthread.so.2
#2 0x280c1450 in ?? ()
I cannot tell whats wrong...
Best Regards,
Albert Poon
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] apache-worker bugged child, cannot close connection
Posted by Joshua Slive <jo...@slive.ca>.
On 9/27/06, Albert Poon <al...@bigtearice.net> wrote:
> Problem: (well, see for yourself)
>
> Current Time: Wednesday, 27-Sep-2006 23:34:09 HKT
> Restart Time: Wednesday, 27-Sep-2006 06:00:20 HKT
> Parent Server Generation: 9
> Server uptime: 17 hours 33 minutes 49 seconds
> Total accesses: 781692 - Total Traffic: 28.2 GB
> CPU Usage: u1129.62 s1146.09 cu7.51563 cs0 - 3.61% CPU load
> 12.4 requests/sec - 468.0 kB/second - 37.9 kB/request
> 256 requests currently being processed, 256 idle workers
>
> WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
> _W__C_____________C___K_K_____KW____C_W____________W____________
> _C___K_____W__W__W__KWK______WK___WC__W_K__K_W_C___W____________
> WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
> __W_____W_____K____________________W____K__________K_K_W_C__C___
> WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
> ___WWKK_CW______W__C_W_C__________C______W_W______W_W___________
> ____CC__W_W___________W_W_______W_________K_C_KK________________
>
> Eventually all lines will be full of "W" and the server will reject all new
> connections.
Attach to some of the "stuck" processes with a debugger (those that
sit in "W" on the same request forever) and see what they are up to:
http://httpd.apache.org/dev/debugging.html#backtrace
Joshua.
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org