Re: Server broken with 2.0.47-1
I took the server down for just a few minutes to see whether the problems
were related to this bug report (no one was accessing the server at the
time): http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21485
This report appears to be a different issue. I still can't access any pages
(browser just "hangs" at a blank page) even without mod_ssl loaded. I
switched between installing
libapr0_2.0.46-3_i386.deb apache2-common_2.0.46-3_i386.deb apache2-mpm-worker_2.0.46-3_i386.deb
and
libapr0_2.0.47-1_i386.deb apache2-common_2.0.47-1_i386.deb apache2-mpm-worker_2.0.47-1_i386.deb
I collected this process info. Here's what's running after
/etc/init.d/apache2 start with 2.0.47-1:
www-data 2479 0.0 0.8 62288 3192 ? S 12:19 0:00 /usr/sbin/apache2 -D proxy -k start
www-data 2482 0.0 0.8 62288 3192 ? S 12:19 0:00 /usr/sbin/apache2 -D proxy -k start
www-data 2484 0.0 0.8 62288 3192 ? S 12:19 0:00 /usr/sbin/apache2 -D proxy -k start
www-data 2485 0.0 0.8 62288 3192 ? S 12:19 0:00 /usr/sbin/apache2 -D proxy -k start
www-data 2486 0.0 0.8 62288 3192 ? S 12:19 0:00 /usr/sbin/apache2 -D proxy -k start
www-data 2487 0.0 0.8 62288 3192 ? S 12:19 0:00 /usr/sbin/apache2 -D proxy -k start
www-data 2488 0.0 0.8 62288 3192 ? S 12:19 0:00 /usr/sbin/apache2 -D proxy -k start
www-data 2489 0.0 0.8 62288 3192 ? S 12:19 0:00 /usr/sbin/apache2 -D proxy -k start
www-data 2490 0.0 0.8 62288 3192 ? S 12:19 0:00 /usr/sbin/apache2 -D proxy -k start
www-data 2491 0.0 0.8 62288 3192 ? S 12:19 0:00 /usr/sbin/apache2 -D proxy -k start
www-data 2492 0.0 0.8 62288 3192 ? S 12:19 0:00 /usr/sbin/apache2 -D proxy -k start
www-data 2493 0.0 0.8 62288 3192 ? S 12:19 0:00 /usr/sbin/apache2 -D proxy -k start
www-data 2494 0.0 0.8 62288 3192 ? S 12:19 0:00 /usr/sbin/apache2 -D proxy -k start
www-data 2495 0.0 0.8 62288 3192 ? S 12:19 0:00 /usr/sbin/apache2 -D proxy -k start
www-data 2496 0.0 0.8 62288 3192 ? S 12:19 0:00 /usr/sbin/apache2 -D proxy -k start
www-data 2497 0.0 0.8 62288 3192 ? S 12:19 0:00 /usr/sbin/apache2 -D proxy -k start
www-data 2498 0.0 0.8 62288 3192 ? S 12:19 0:00 /usr/sbin/apache2 -D proxy -k start
www-data 2499 0.0 0.8 62288 3192 ? S 12:19 0:00 /usr/sbin/apache2 -D proxy -k start
www-data 2500 0.0 0.8 62288 3192 ? S 12:19 0:00 /usr/sbin/apache2 -D proxy -k start
www-data 2501 0.0 0.8 62288 3192 ? S 12:19 0:00 /usr/sbin/apache2 -D proxy -k start
www-data 2502 0.0 0.8 62288 3192 ? S 12:19 0:00 /usr/sbin/apache2 -D proxy -k start
www-data 2503 0.0 0.8 62288 3192 ? S 12:19 0:00 /usr/sbin/apache2 -D proxy -k start
www-data 2504 0.0 0.8 62288 3192 ? S 12:19 0:00 /usr/sbin/apache2 -D proxy -k start
www-data 2505 0.0 0.8 62288 3192 ? S 12:19 0:00 /usr/sbin/apache2 -D proxy -k start
www-data 2506 0.0 0.8 62288 3192 ? S 12:19 0:00 /usr/sbin/apache2 -D proxy -k start
root 2507 0.0 0.6 6564 2644 ? S 12:19 0:00 /usr/sbin/apache2 -D server -k start
www-data 2508 0.0 0.7 62144 2984 ? S 12:19 0:00 /usr/sbin/apache2 -D server -k start
www-data 2509 0.0 0.0 0 0 ? Z 12:19 0:00 [apache2] <defunct>
www-data 2511 0.0 0.8 62288 3192 ? S 12:19 0:00 /usr/sbin/apache2 -D proxy -k start
www-data 2512 0.0 0.7 62144 2984 ? S 12:19 0:00 /usr/sbin/apache2 -D server -k start
www-data 2513 0.0 0.8 62288 3192 ? S 12:19 0:00 /usr/sbin/apache2 -D proxy -k start
www-data 2514 0.0 0.8 62288 3192 ? S 12:19 0:00 /usr/sbin/apache2 -D proxy -k start
www-data 2540 0.0 0.7 62136 2976 ? S 12:19 0:00 /usr/sbin/apache2 -D server -k start
One can see that the "proxy" apache2 starts fine but the "server"
never has enough threads running.
A little while after running /etc/init.d/apache2 stop:
root 2476 0.0 0.7 6708 2776 ? S 12:19 0:00 /usr/sbin/apache2 -D proxy -
www-data 2479 0.0 0.0 0 0 ? Z 12:19 0:00 [apache2] <defunct>
root 2507 0.0 0.6 6564 2644 ? S 12:19 0:00 /usr/sbin/apache2 -D server
www-data 2508 0.0 0.0 0 0 ? Z 12:19 0:00 [apache2] <defunct>
www-data 2512 0.0 0.7 62144 2984 ? S 12:19 0:00 /usr/sbin/apache2 -D server
www-data 2540 0.0 0.7 62136 2976 ? S 12:19 0:00 /usr/sbin/apache2 -D server
And still a few minutes later:
www-data 2512 0.0 0.7 62144 2984 ? S 12:19 0:00 /usr/sbin/apache2 -D server
www-data 2540 0.0 0.7 62136 2976 ? S 12:19 0:00 /usr/sbin/apache2 -D server
Also later tried an strace. I added this startup line to /etc/init.d/apache2:
strace -f /usr/sbin/apache2ctl -D server -k start &> /tmp/a2-strace
I pasted the strace to the end of this first message before I realised how
large it was. It's available from here:
<https://macrology.co.nz/files/apache2-strace.txt> (206kB)
<https://macrology.co.nz/files/apache2-strace.txt.bz2> (13kB)
I started the 2.0.47 server via /etc/init.d/apache2, waited a while and
then stopped the server.
Regards,
Adam
Reply to: