Simple Machines Community Forum

SMF Support => Server Performance and Configuration => Topic started by: -Scott on January 03, 2010, 07:31:58 AM

Title: Need some tweaking help
Post by: -Scott on January 03, 2010, 07:31:58 AM
I been having trouble with a loaded server, I noticed the qps were high, checked and smf has not been able to detect a compatible accelerator.... which must have broken during an OS upgrade or something.  Been trying myself to get either EA or APC configured and have no luck, so I asked host to setup, they got EA installed but it broke something because no php pages would load at all. After going round and round with the techs they told EA was not compatable with smf!  Is there something with my current setup that EA or APC won't work? Anybody run into this issue?



cPanel 11.25.0-R42399 - WHM 11.25.0 - X 3.9
CENTOS 5.2 i686 standard
Forum version: SMF 1.1.11 (more detailed)
Current SMF version: SMF 1.1.11
PHP version: 4.4.9
MySQL version: 4.1.22-standard
Server version: Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4
GD version: bundled (2.0.28 compatible)



-Scott
Title: Re: Need some tweaking help
Post by: Something like that on January 03, 2010, 05:49:29 PM
Is there any reason why you're running such old software?
Title: Re: Need some tweaking help
Post by: -Scott on January 03, 2010, 07:47:01 PM
I tried myself and every time I run into some issue of things not working, php pages not loading ect. I had my host try upgrade php, was a dead end they gave up and they couldn't figure out why the site was breaking after upgrade. Well they got apache updated and it broke eA of course they couldn't fix that either. I've given up I figure if the techs can't do it. So here I sit  :( I am in the heat of the season and very uneasy about even trying to do it myself now. I did 800 online fairly smooth last year at this time but I'm in trouble now.. were setting online records and growth is more than expected, the server is not coping at all without an accelorator.. tonight is bad.

http://www.iceshanty.com/ice_fishing/status3.php


Scott
Title: Re: Need some tweaking help
Post by: -Scott on January 03, 2010, 08:42:15 PM
Ouch we shattered our online record with 1092 on in 15mins. Server not happy!

Processor: Intel® Pentium® D CPU 2.80GHz (2800.197MHz)
Load averages: 248.98, 174.90, 89.39
Memory usage: 96.65% (1995712k / 2064896k)
Swap: 15.281% (320356k / 2096440k) 

MySQL processes
Total processes: 141 (140 sleeping, 1 running, 0 locked)

MySQL Statistics
MySQL 4.1.x
We have detected MySQL was restarted less than 24 Hours ago. These recommendations may not be accurate.
Connections per second:  10.6452 
Kilobytes received per second:  56.4711 
Kilobytes sent per second:  590.5155 
Queries per second:  219.0306 
Title: Re: Need some tweaking help
Post by: -Scott on January 04, 2010, 01:40:24 PM
Mark can you recomend what I should be running?


Quote from: «Mark» on January 03, 2010, 05:49:29 PM
Is there any reason why you're running such old software?
Title: Re: Need some tweaking help
Post by: Something like that on January 04, 2010, 02:48:21 PM
Quote from: -Scott on January 04, 2010, 01:40:24 PM
Mark can you recomend what I should be running?


Quote from: «Mark» on January 03, 2010, 05:49:29 PM
Is there any reason why you're running such old software?

Your MySQL is several versions old, as is your PHP. You might want to go with a newer distro.

But if you're getting 1000 online in 15 minutes, I don't think you have enough CPU power in that box. When I was running a similar CPU, I found 300 users in 15 minutes was maxing it out. I would recommend moving to a quad core box.
Title: Re: Need some tweaking help
Post by: -Scott on January 04, 2010, 03:02:59 PM
This traffic is seasonal will only last for another 3 weeks at best. I just need it to survive for that long and then we take a downturn fast. I have two servers available to help. Any help be appreciated on getting this main server up to par. I'd like to try that before I would upgrade.


Scott
Title: Re: Need some tweaking help
Post by: Something like that on January 04, 2010, 03:11:36 PM
Your idea offloading of stuff is good.

Disabling features you don't use (e.g. the calendar) will help.

And you should be able to get APC working. I'm not that familiar with Apache though, so I can't help too well there. It will reduce your CPU usage about 30%.
Title: Re: Need some tweaking help
Post by: rsw686 on January 06, 2010, 09:37:17 AM
You are running CentOS 5.2, which comes with PHP 5.1.6 and MySQL 5. How did you get PHP 4 and MySQL 4 on there as that is not even offered as a package. Have you enabled third party repos?
Title: Re: Need some tweaking help
Post by: -Scott on January 06, 2010, 10:16:40 AM
I am out of that hosting place guys! Thanks for the help.

Scott
Title: Re: Need some tweaking help
Post by: 青山 素子 on January 06, 2010, 11:33:36 AM
Quote from: rsw686 on January 06, 2010, 09:37:17 AM
You are running CentOS 5.2, which comes with PHP 5.1.6 and MySQL 5. How did you get PHP 4 and MySQL 4 on there as that is not even offered as a package. Have you enabled third party repos?

An earlier post mentions cPanel. Perhaps it's offered as an option through there?