R
RomanF
Guest
Hello.
I have strange problem with Apache and Plesk 8.6. When somebody check mailbox using webmail (based on psa-horde), httpd daemon "freeze" and then start using 100% CPU. Any "freeze" httpd process has an unclosed connection to imap port (It can be shown by lsof command.). Can somebody explain why httpd don't close it after user logout? Also, I check hardware, include several RAM tests, and looks, like hardware is ok.. Maybe I forgot to check something else? Thanks in advance, Roman.
OS (Fedora8):
Linux hosting-node-0 2.6.26.8-57.fc8 #1 SMP Thu Dec 18 18:59:49 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
Installed packages:
httpd-2.2.9-1.fc8
php-imap-5.2.6-2.fc8
psa-courier-imap-add-8.6.0-fc8.build86080930.03
psa-horde-3.1.7-fc8.build86080722.00
Selinux was disabled at boot.
Here is verbose output:
[u1@hosting-node-0 u1]$ top -d1 | head -n 10
top - 07:25:34 up 23:39, 1 user, load average: 4.28, 3.68, 3.70
Tasks: 190 total, 4 running, 186 sleeping, 0 stopped, 0 zombie
Cpu(s): 61.0%us, 1.5%sy, 0.6%ni, 32.8%id, 3.9%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 4062748k total, 3251332k used, 811416k free, 271976k buffers
Swap: 3911788k total, 6196k used, 3905592k free, 1879112k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1104 apache 20 0 427m 42m 6388 R 100 1.1 1097:31 httpd
22940 apache 20 0 423m 43m 5408 R 100 1.1 774:31 httpd
9856 apache 20 0 425m 39m 5896 R 100 1.0 1370:10 httpd
[u1@hosting-node-0 base]$sudo lsof -p 1104
... Skipped ...
httpd 1104 apache 196uW REG 8,3 63655 3811934 /var/lib/php/session/sess_094u0rt3a6imbdmil2f8khkjh6 (deleted)
httpd 1104 apache 197u unix 0xffff8100726e6c00 562283 socket
httpd 1104 apache 198u IPv4 562285 TCP hosting-node-0.mydomain.org:42407->hosting-node-0.mydomain.org:imap (CLOSE_WAIT)
I have strange problem with Apache and Plesk 8.6. When somebody check mailbox using webmail (based on psa-horde), httpd daemon "freeze" and then start using 100% CPU. Any "freeze" httpd process has an unclosed connection to imap port (It can be shown by lsof command.). Can somebody explain why httpd don't close it after user logout? Also, I check hardware, include several RAM tests, and looks, like hardware is ok.. Maybe I forgot to check something else? Thanks in advance, Roman.
OS (Fedora8):
Linux hosting-node-0 2.6.26.8-57.fc8 #1 SMP Thu Dec 18 18:59:49 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
Installed packages:
httpd-2.2.9-1.fc8
php-imap-5.2.6-2.fc8
psa-courier-imap-add-8.6.0-fc8.build86080930.03
psa-horde-3.1.7-fc8.build86080722.00
Selinux was disabled at boot.
Here is verbose output:
[u1@hosting-node-0 u1]$ top -d1 | head -n 10
top - 07:25:34 up 23:39, 1 user, load average: 4.28, 3.68, 3.70
Tasks: 190 total, 4 running, 186 sleeping, 0 stopped, 0 zombie
Cpu(s): 61.0%us, 1.5%sy, 0.6%ni, 32.8%id, 3.9%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 4062748k total, 3251332k used, 811416k free, 271976k buffers
Swap: 3911788k total, 6196k used, 3905592k free, 1879112k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1104 apache 20 0 427m 42m 6388 R 100 1.1 1097:31 httpd
22940 apache 20 0 423m 43m 5408 R 100 1.1 774:31 httpd
9856 apache 20 0 425m 39m 5896 R 100 1.0 1370:10 httpd
[u1@hosting-node-0 base]$sudo lsof -p 1104
... Skipped ...
httpd 1104 apache 196uW REG 8,3 63655 3811934 /var/lib/php/session/sess_094u0rt3a6imbdmil2f8khkjh6 (deleted)
httpd 1104 apache 197u unix 0xffff8100726e6c00 562283 socket
httpd 1104 apache 198u IPv4 562285 TCP hosting-node-0.mydomain.org:42407->hosting-node-0.mydomain.org:imap (CLOSE_WAIT)