Web Host Chat
Bringing Hosts & Customers together since 2001
Home QLinks Members Your Profile Register FAQ's Hosts Only Area SMS Alerts Advertising
User Information
»REGISTER NOW!

Go Back   Web Host Chat > Web Hosting Chat > Hosting Software and additional add-on products
Reply
 
LinkBack Thread Tools
Old 20th December 2006   #1 (permalink)
Registered User (26)
Going on up...
Join Date: Nov 2006
Posts: 24
web-project is on a distinguished road
Thumbs down clientexec + cron = problems

Hi all,

Does any one know the resources usage for clientexec + cron?

So far I used default settings for cron:

Quote:
30 * * * * /usr/local/bin/php -q /home/user/public_html/services.php 'order'
30 * * * * /usr/local/bin/php -q /home/user/public_html/services.php 'deletependingusers'
30 * * * * /usr/local/bin/php -q /home/user/public_html/services.php 'order'
0 0 * * * /usr/local/bin/php -q /home/user/public_html/services.php 'rebiller'
* * * * * /usr/local/bin/php -q /home/user/public_html/services.php 'fetchticket'
0 0 * * * /usr/local/bin/php -q /home/user/public_html/services.php 'autosuspend'
30 * * * * /usr/local/bin/php -q /home/user/public_html/services.php 'order'
30 * * * * /usr/local/bin/php -q /home/user/public_html/services.php 'invoicegenerator'
30 * * * * /usr/local/bin/php -q /home/user/public_html/services.php 'autoclose'
* * * * * /usr/local/bin/php -q /home/user/public_html/services.php 'serverstatus'
Abuse depatment sent me email saying that "I had used more than 2% CPU daily, 3% memory daily, run more than 16 simultaneous processes per user for longer than 30 CPU seconds. cron setup at this account made the server totally unstable and we had to reboot it".

Is it true?
__________________
Registered User
web-project is offline   Reply With Quote
Old 20th December 2006   #2 (permalink)
I am Staff at
Loho
About My Company!

Certified Host
Join Date: Jun 2004
Age: 22
Posts: 132
Rebuke is on a distinguished road
Well, at 30 mins past the hour you're running a lot of processes, including "/usr/local/bin/php -q /home/user/public_html/services.php 'order'" 3 times, which doesn't seem right.

Never having used clientexec I can't say what load each process is, but running everything at 30 mins past the hour seems strange, if they're separate processes why not spread them out a bit, if they have to run at the same time why do you have to put them in as separate cron jobs...
__________________
Alex Brett
alex.brett@loho.co.uk
Loho Internet Services
www.loho.co.uk
__________________
Web Host - Certified Member
Rebuke is offline   Reply With Quote
Old 21st December 2006   #3 (permalink)
Registered User (49)
Private Office...
Join Date: Nov 2006
Location: South East UK
Posts: 38
SixtyClear is on a distinguished road
Yeah i agree with "Rebuke".

I myself run ClientExec, we have the Cron Jobs seperated out with a fairly substantial time gap in between each so that they run at very random times thus not causing a load issue.

Although it seems your using all of the ClientExec cron jobs, whereas we aren't, we are using only 2/3 jobs, as everything else, like ticketing is piped into the system via PHP, and all orders are manual processes.

I would recommend changing the times so they all run at random times during the day to help distribute the load.
__________________
Registered User
SixtyClear is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
ClientExec for Billing Management? Websites.Co.UK Hosting Software and additional add-on products 17 26th April 2007 09:01 AM
clientexec licenses from £4.00 + get cpanel account for FREE! wise Web Hosting and Related Offers 0 6th August 2006 09:56 PM
clientexec license for £4.00 plus first month free!! wise Web Hosting and Related Offers 0 6th July 2006 01:40 PM
cron jobs richard Business and Technical Advice 6 21st January 2003 02:38 AM


Some great companies!


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0