hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Server Load
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Server Load

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 01-20-2010, 01:16 PM
jarchee jarchee is offline
Junior Guru
 
Join Date: Jul 2008
Location: Ottawa, Canada
Posts: 175

Server Load


Hi,

This might sound pretty odd!
I have a website on a dedicated server in a test environment. the platform that I used for the website has a caching capability that I use it very often.

The server is running Centos (latest) with Cpanel/WHM.

now that the size of DB is growing to over 400MB, the cache takes a life to complete. everytime that I run the cache and check the server status in cpanel I see the cpu load not going over 2(even less) and ram not going over 20%.
how can I increase these limits in cpanel or centos itself so the server will not kill the process before it is done?
Thank you.

Reply With Quote


Sponsored Links
  #2  
Old 01-20-2010, 01:38 PM
DigitalLinx DigitalLinx is offline
Premium Member
 
Join Date: Oct 2006
Location: /usr/src/linux/
Posts: 699
I assume the caching is done by the website by creating static pages so it wont query the database and load the php processor. But the problem is the caching program takes a long time to finish.
If so you would need to increase max_execution_time in php.ini or use set_time_limit() in the caching php file to override the php.ini setting for max_execution_time.

__________________
VPSnoc.com offers high quality Xen® OpenVZ & Windows® Virtual Private Servers at affordable prices.
99.95% Uptime | 24/7/365 Support | Unmetered bandwidth.
Follow us: twitter.com/VPSnoc - facebook.com/VPSnoc


Reply With Quote
  #3  
Old 01-20-2010, 01:59 PM
jarchee jarchee is offline
Junior Guru
 
Join Date: Jul 2008
Location: Ottawa, Canada
Posts: 175
I modified my php.ini and even in php setting in whm. it does not go over the limits that I mentioned.

What should I do?

Reply With Quote
Sponsored Links
  #4  
Old 01-20-2010, 02:04 PM
DigitalLinx DigitalLinx is offline
Premium Member
 
Join Date: Oct 2006
Location: /usr/src/linux/
Posts: 699
Any error messages in the website's error_log or /var/log/messages ?

__________________
VPSnoc.com offers high quality Xen® OpenVZ & Windows® Virtual Private Servers at affordable prices.
99.95% Uptime | 24/7/365 Support | Unmetered bandwidth.
Follow us: twitter.com/VPSnoc - facebook.com/VPSnoc


Reply With Quote
  #5  
Old 01-20-2010, 02:15 PM
jarchee jarchee is offline
Junior Guru
 
Join Date: Jul 2008
Location: Ottawa, Canada
Posts: 175
Nothing at all.

Reply With Quote
  #6  
Old 01-20-2010, 02:23 PM
DigitalLinx DigitalLinx is offline
Premium Member
 
Join Date: Oct 2006
Location: /usr/src/linux/
Posts: 699
Then my best bet is the script is dying on it's own. Try to add some debug information and extra error handling at crucial places, perhaps the script is exceeding php's memory_limit, but that should be logged in the website's error_log. Are you sure you have a Error_log directive in httpd.conf for that website?
We need errors in order to troubleshoot, otherwise we can just assume what's causing this.

__________________
VPSnoc.com offers high quality Xen® OpenVZ & Windows® Virtual Private Servers at affordable prices.
99.95% Uptime | 24/7/365 Support | Unmetered bandwidth.
Follow us: twitter.com/VPSnoc - facebook.com/VPSnoc


Reply With Quote
  #7  
Old 01-20-2010, 03:54 PM
CrazyTech CrazyTech is offline
Retired Moderator
 
Join Date: Mar 2003
Location: United States
Posts: 3,675
I have to say that if you're not getting anything in the error_log or the Apache log then it's probably time to debug the script. If it's hitting limits, there really should be an error message somewhere.

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can someone explain the difference Server load & CPU load? messa Hosting Security and Technology 5 10-08-2006 03:23 PM
What is my server load ? Load Balancing ? generouswebhostin Web Hosting Tutorials 22 09-17-2006 03:55 AM
My server load is low but my site is taking VERY long to load. xlogger Hosting Security and Technology 6 12-18-2005 05:33 PM
Server load not very high but pages load slowly singtel22 Hosting Security and Technology 17 01-27-2005 02:43 PM
Server Load Problem... are there any scripts to help bring the load down? raine Web Hosting Lounge 11 07-29-2003 06:25 PM

Related posts from TheWhir.com
Title Type Date Posted
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
FireHost Adds Scheduled Scaling Function to Cloud Hosting Web Hosting News 2011-12-15 17:05:55
Web Host Rackspace Adds New Features to Cloud Load Balancer Web Hosting News 2011-09-16 16:35:04
Cloud Infrastructure Firm Linode Launches Load Balancer as a Service Web Hosting News 2011-07-15 19:05:12


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?