News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

Need some tweaking help

Started by -Scott, January 03, 2010, 07:31:58 AM

Previous topic - Next topic

-Scott

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

Something like that

Is there any reason why you're running such old software?

-Scott

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

-Scott

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 

-Scott

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?

Something like that

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.

-Scott

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

Something like that

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%.

rsw686

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?
The Reptile File
Everything reptile for anyone reptile friendly

Aquaria Talk
Community for freshwater and saltwater aquariums enthusiasts

-Scott

I am out of that hosting place guys! Thanks for the help.

Scott

青山 素子

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?
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Advertisement: