hosted by liquidweb

Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : Need help with server load issue...

Forum Jump

Need help with server load issue...

Reply Post New Thread In Programming Discussion Subscription
Send news tip View All Posts Thread Tools Search this Thread Display Modes
Web Hosting Guru
Join Date: Feb 2003
Posts: 286

Need help with server load issue...

I've recently been helping out a forum which has been warned by their host for server load. The cpu usage of the forum rocketed seemingly randomly and stuck, with a single php file taking up a large amount of CPU time...

This is a heavily modified XMB forum. It is not the busiest board in the world, with a maximum of 20 users online at one time. XMB usually handles this kind of usage with ease, so I thought it was probably the modifications which had been applied to it. So I uploaded a clean version of the file which was causing the problem, and CPU usage by the file did not decrease. I'm kind of at a loss.. Could this have been a change to server settings by the host which caused this jump in CPU usage?

If this isn't solved by Monday, the host is kicking the forum out, so I'm trying numerous things to reduce the load. Any tips at all for this, possible routes I could take to reduce the CPU usage by this file would be greatly appreciated.

Sponsored Links
Web Hosting Guru
Join Date: Oct 2002
Location: York, United Kingdom
Posts: 260
Try using a different forum software. If not there your host is playing with you.


Web Hosting Guru
Join Date: Feb 2003
Posts: 286
I know an XMB board with just as much modifications with more users which runs fine. There is something paticular which is causing this.

Conversion also isn't really an easy option at this point. The database is 350mb and is heavily modified.

Sponsored Links
Web Hosting Guru
Join Date: Feb 2003
Posts: 286
Nope, its viewthread.php. Like showthread.php on this forum...

It was using a maximum of 65 queries before, but by uploading a clean file it is now 22. But its still using a lot of CPU...

edit: thats weird.. my post is above yours. oh well.

Join Date: Nov 2004
Location: England
Posts: 513
Is the file in question a statistics file? Those things can take ages to run, especially on a 350Mb db.

Web Hosting Master
Join Date: Nov 2000
Location: Thailand
Posts: 3,344
It isn't always the number of users, I've seen boards with a dozen users on at a time cause all sorts of problem, sloppy coding, poor add-on like ones that generate unique images for posts etc.. (think its something to do with winamp?' and corrupt (but not flagged as corrupt) database tables can all case problem.

Reassuringly cynical and controversial - Twitter: @nonuby


Related posts from
Title Type Date Posted
Managed WordPress Web Host Pagely Suffers Temporary Downtime Web Hosting News 2014-10-30 15:47:35
WHMCS Security Issue Allows for Information Disclosure Web Hosting News 2013-10-25 09:30:46
Amazon Web Services Northern Virginia Outage Rocks Instagram, Vine Web Hosting News 2013-08-26 14:33:03
LeaseWeb Adds Load Balancing Service to Public Cloud Web Hosting News 2013-08-07 10:35:22
GoGrid Launches Dynamic Load Balancer Service Built for Cloud Web Hosting News 2013-01-29 10:07:53

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Log in with your username and password

Forgot Password?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Web Hosting News:
WHT Membership
WHT Membership



Welcome to

Create your username to jump into the discussion! is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.

(4 digit year)

Already a member?