hosted by liquidweb


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

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
  #1  
Old 04-13-2005, 11:29 AM
ataylor ataylor is offline
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
  #2  
Old 04-13-2005, 11:35 AM
adaml adaml is offline
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.

__________________
adamlivesley
http://84degrees.com

  #3  
Old 04-13-2005, 11:37 AM
ataylor ataylor is offline
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
  #4  
Old 04-13-2005, 11:48 AM
ataylor ataylor is offline
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.

  #5  
Old 04-13-2005, 11:48 AM
vidahost vidahost is offline
Web Hosting Evangelist
 
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.

__________________
Vidahost - UK cloud hosting

  #6  
Old 04-16-2005, 05:33 AM
MattF MattF is offline
Web Hosting Master
 
Join Date: Nov 2000
Location: UK
Posts: 3,127
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.

__________________
Matt Freeman - Reassuringly cynical and controversial

Reply

Related posts from TheWhir.com
Title Type Date Posted
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
CDNetworks Releases New Versions of Cloud Load Balancer, Cloud Storage Web Hosting News 2012-09-10 15:26:28


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
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com 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?