SMF Support > SMF 2.0.x Support
Httpd process hangs @ 100%
faceless:
Hi,
I just recently upgraded my PHP SMF forum from 1.1.5 to 2.0 Beta, and since the upgrade, I've been experiencing httpd processes hangs.
I restart the httpd servce, 10~15 mins later, 1 would come up, then a little while later, 10 more would spawn and dividing the cpu usage and eventually, crashes the server.
Here's my server info
--- Code: ---Forum version: SMF 2.0 Beta 3.1 Public (more detailed)
Current SMF version: SMF 2.0 Beta 3.1 Public
GD version: bundled (2.0.34 compatible)
MySQL version: 5.0.58
PHP: 5.2.6
Server version: Apache/2.2.3 (Red Hat)
--- End code ---
Forum url: hxxp:forums.pottershots.net/index.php [nonactive]
Php.ini
--- Code: ---max_execution_time = 90 ; Maximum execution time of each script, in seconds
max_input_time =90 ; Maximum amount of time each script may spend parsing request data
memory_limit = 256M
--- End code ---
Screenshot of the HTTPD processes hanging: hxxp:i37.tinypic.com/o54xhd.jpg [nonactive]
Grep of one of those hanging processes
--- Code: ---tal 0
lr-x------ 1 root root 64 Aug 16 21:55 0 -> /dev/null
l-wx------ 1 root root 64 Aug 16 21:55 1 -> /dev/null
l-wx------ 1 root root 64 Aug 16 21:55 10 -> /var/log/httpd/error_log
l-wx------ 1 root root 64 Aug 16 21:55 11 -> /var/www/vhosts/*********.org/statistics/logs/error_log
l-wx------ 1 root root 64 Aug 16 21:55 12 -> /var/www/vhosts/*********.com/statistics/logs/error_log
l-wx------ 1 root root 64 Aug 16 21:55 13 -> /var/www/vhosts/*********.net/statistics/logs/error_log
l-wx------ 1 root root 64 Aug 16 21:55 14 -> /var/www/vhosts/*********.net/statistics/logs/error_log
l-wx------ 1 root root 64 Aug 16 21:55 15 -> /var/www/vhosts/*********./statistics/logs/error_log
l-wx------ 1 root root 64 Aug 16 21:55 16 -> /var/www/vhosts/j/*********.net/statistics/logs/error_log
l-wx------ 1 root root 64 Aug 16 21:55 17 -> /var/www/vhosts/o/*********..ca/statistics/logs/error_log
l-wx------ 1 root root 64 Aug 16 21:55 18 -> /var/www/vhosts//*********..org/statistics/logs/error_log
l-wx------ 1 root root 64 Aug 16 21:55 19 -> /var/www/vhosts//*********..NET/statistics/logs/error_log
l-wx------ 1 root root 64 Aug 16 21:55 2 -> /var/log/httpd/error_log
l-wx------ 1 root root 64 Aug 16 21:55 20 -> /var/www/vhosts/*********.net/statistics/logs/error_log
l-wx------ 1 root root 64 Aug 16 21:55 21 -> /var/www/vhosts/*******.net/statistics/logs/error_log
l-wx------ 1 root root 64 Aug 16 21:55 22 -> /var/www/vhosts/*******.net/statistics/logs/error_log
l-wx------ 1 root root 64 Aug 16 21:55 23 -> /var/www/vhosts/*********.ca/statistics/logs/error_log
l-wx------ 1 root root 64 Aug 16 21:55 24 -> /var/www/vhosts/*********.ca/statistics/logs/error_log
l-wx------ 1 root root 64 Aug 16 21:55 25 -> /var/www/vhosts//*********..net/statistics/logs/error_log
l-wx------ 1 root root 64 Aug 16 21:55 26 -> /var/log/httpd/ssl_error_log
l-wx------ 1 root root 64 Aug 16 21:55 27 -> /var/log/httpd/access_log
l-wx------ 1 root root 64 Aug 16 21:55 28 -> /var/www/vhosts//*********.org/statistics/logs/access_log
l-wx------ 1 root root 64 Aug 16 21:55 29 -> /var/www/vhosts/*********.com/statistics/logs/access_log
lr-x------ 1 root root 64 Aug 16 21:55 3 -> /dev/urandom
l-wx------ 1 root root 64 Aug 16 21:55 30 -> /var/www/vhosts/*********..net/statistics/logs/access_log
l-wx------ 1 root root 64 Aug 16 21:55 31 -> /var/www/vhosts/*********..net/statistics/logs/access_log
l-wx------ 1 root root 64 Aug 16 21:55 32 -> /var/www/vhosts/*********.net/statistics/logs/access_log
l-wx------ 1 root root 64 Aug 16 21:55 33 -> /var/www/vhosts/*********..com/statistics/logs/access_log
l-wx------ 1 root root 64 Aug 16 21:55 34 -> /var/www/vhosts/*********..net/statistics/logs/access_log
l-wx------ 1 root root 64 Aug 16 21:55 35 -> /var/www/vhosts/*********..ca/statistics/logs/access_log
l-wx------ 1 root root 64 Aug 16 21:55 36 -> /var/www/vhosts/*******.org/statistics/logs/access_log
l-wx------ 1 root root 64 Aug 16 21:55 37 -> /var/www/vhosts/*******.NET/statistics/logs/access_log
l-wx------ 1 root root 64 Aug 16 21:55 38 -> /var/www/vhosts/*********.net/statistics/logs/access_log
l-wx------ 1 root root 64 Aug 16 21:55 39 -> /var/www/vhosts/*******.net/statistics/logs/access_log
lrwx------ 1 root root 64 Aug 16 21:55 4 -> socket:[58062461]
l-wx------ 1 root root 64 Aug 16 21:55 40 -> /var/www/vhosts/*******.net/statistics/logs/access_log
l-wx------ 1 root root 64 Aug 16 21:55 41 -> /var/www/vhosts/*********.ca/statistics/logs/access_log
l-wx------ 1 root root 64 Aug 16 21:55 42 -> /var/www/vhosts/*********.ca/statistics/logs/access_log
l-wx------ 1 root root 64 Aug 16 21:55 43 -> /var/www/vhosts/*********.ca/statistics/logs/access_ssl_log
l-wx------ 1 root root 64 Aug 16 21:55 44 -> /var/www/vhosts/*******s.net/statistics/logs/access_log
l-wx------ 1 root root 64 Aug 16 21:55 45 -> /var/log/httpd/ssl_access_log
l-wx------ 1 root root 64 Aug 16 21:55 46 -> /var/log/httpd/ssl_request_log
lr-x------ 1 root root 64 Aug 16 21:55 47 -> pipe:[58873128]
l-wx------ 1 root root 64 Aug 16 21:55 48 -> pipe:[58873128]
lr-x------ 1 root root 64 Aug 16 21:55 49 -> pipe:[58873129]
lrwx------ 1 root root 64 Aug 16 21:55 5 -> socket:[58062462]
l-wx------ 1 root root 64 Aug 16 21:55 50 -> pipe:[58873129]
lrwx------ 1 root root 64 Aug 16 21:55 51 -> /var/log/httpd/jk-runtime-status
lrwx------ 1 root root 64 Aug 16 21:55 52 -> /var/log/httpd/jk-runtime-status.lock
lr-x------ 1 root root 64 Aug 16 21:55 53 -> eventpoll:[58873718]
lrwx------ 1 root root 64 Aug 16 21:55 54 -> socket:[58906308]
lrwx------ 1 root root 64 Aug 16 21:55 6 -> socket:[58062466]
lrwx------ 1 root root 64 Aug 16 21:55 7 -> socket:[58062467]
lr-x------ 1 root root 64 Aug 16 21:55 8 -> pipe:[58873124]
l-wx------ 1 root root 64 Aug 16 21:55 9 -> pipe:[58873124]
--- End code ---
I also run the Beta on another site and it runs very stable
--- Code: ---Forum version: SMF 2.0 Beta 3.1 Public (more detailed)
Current SMF version: SMF 2.0 Beta 3.1 Public
GD version: bundled (2.0.28 compatible)
MySQL version: 5.0.22
PHP: 5.1.6
Server version: Apache/2.2.3 (CentOS)
--- End code ---
Thanks and if u need any other info, i'll be more than happy to provide them.
SwapsRulez:
Does SMF Upgrade can affect the httpd package. I think NO. SMF Upgrade package upgrades the SMF package files on the server and atmost some database changes. But it wont affect the httpd files and service. Its the problem with your host or something.
Check if you've changed some settings in httpd.conf file. After making changes, you should restart the service. May be you are missing that. Also try restoring backup of the configuration files if you are missing something there. :)
I'm sure its not gonna help you, but just a try. :P
faceless:
--- Quote from: SwapsRulez on August 17, 2008, 02:30:58 PM ---Does SMF Upgrade can affect the httpd package. I think NO. SMF Upgrade package upgrades the SMF package files on the server and atmost some database changes. But it wont affect the httpd files and service. Its the problem with your host or something.
Check if you've changed some settings in httpd.conf file. After making changes, you should restart the service. May be you are missing that. Also try restoring backup of the configuration files if you are missing something there. :)
I'm sure its not gonna help you, but just a try. :P
--- End quote ---
No actually, it in fact is a problem with one of the script or something from the forum. I took my time last night shutting each and every site to see which site was causing this delay and when I got to that forum and shut it down, the process never spawned back again. It would usually spawn back in the first 5~10 mins after service restart. I waited for 30mins just to make sure, and when I reneabled the site again, httpd processes started to hang.
I haven't made any modification.
And it seems something on the forum triggers this... xD
Thanks though!
karlbenson:
Mods installed?
faceless:
--- Quote from: karlbenson on August 17, 2008, 04:05:58 PM ---Mods installed?
--- End quote ---
5 Mods but only 1 active.
Auto Embed Video/Audio Clips
But I tried disabling it and it still occurs.
Is there some debug mode I can put my forum into? It almost seem like as long as any user doesn't do that 1 thing that hangs it, everything works great...
Navigation
[0] Message Index
[#] Next page
Go to full version