Jump to content

Excessive Resource Use by WHMCS?


donnyboy

Recommended Posts

========

Tue Sep 23 00:05:42 2008: '/usr/local/bin/php -c /home/huendin/www/php.ini /home/huendin/public_html/support/admin/cron.php ' (Exe: php [/usr/local/bin/php], Command: '/usr/local/bin/php -c /home/huendin/www/php.ini /home/huendin/public_html/support/admin/cron.php ', Dir: '/home/huendin') - of huendin has used 75.6 %CPU

Tue Sep 23 08:08:58 2008: '/usr/bin/php ' (Exe: php [/usr/bin/php], Script: '/home/huendin/public_html/support/admin/cron.php', Domain: http://www.midpulse.com, Request: '/support/admin/cron.php', Accessed from: 74.44.132.4) - of huendin has used 97.2 %CPU

Tue Sep 23 08:43:29 2008: '/usr/bin/php ' (Exe: php [/usr/bin/php], Script: '/home/huendin/public_html/support/admin/cron.php', Domain: http://www.midpulse.com, Request: '/support/admin/cron.php', Accessed from: 74.44.132.4) - of huendin has used 85.8 %CPU

Tue Sep 23 13:35:52 2008: 'tar czpf - . ' (Exe: tar [/bin/tar], Command: 'tar czpf - . ', Dir: '/home/huendin', Domain: midpulse.com, Accessed from: 98.206.62.113) - of huendin has used 24.6 %CPU

Tue Sep 23 13:36:23 2008: '/usr/bin/php ' (Exe: php [/usr/bin/php], Script: '/home/huendin/public_html/support/admin/systemdatabase.php', Domain: midpulse.com, Request: '/support/admin/systemdatabase.php?dlbackup=true', Accessed from: 98.206.62.113) - of huendin has used 32.4 %CPU

Tue Sep 23 18:43:23 2008: '/usr/bin/php ' (Exe: php [/usr/bin/php], Script: '/home/huendin/public_html/support/cart.php', Domain: http://www.midpulse.com, Request: '/support/cart.php?a=add&pid=1', Accessed from: 163.245.134.254) - of huendin has used 23.4 %CPU

========

 

This all started happening after upgrading our whmcs for the first time to v 3.6.2 in June.

 

Keep in mind, here's the server specs that we have this script running on:

 

CPU: Dual/Quad-Core Dual Xeon

4096 Memory (Minimum)

Raid 1

 

Does WHMCS really use that amount of resources? I can't believe it. What are my options, besides upgrading the server, because I know this server is more than capable of running many applications of whmcs on it.

Link to comment
Share on other sites

I'd suggest that using more than all available CPU is not only bad, but unlikely to be more than top misreporting or something.

After all, isn't 100% all there is of anything?

 

This reporting is very accurate. We are currently a reseller. Our account, along with each of our customer's accounts are allowed up to 20% cpu usage. any reports over 100% means it was over that 20% cpu usage.

Link to comment
Share on other sites

We're using a Dual Core Conroe (1.8Ghz with 2GB ram) with a consistant load of less than 10% CPU usage even on our busy days. With a few thousand hosting customers logging in to the billing system for everything from tickets (about 40 tickets average per day) and checking server status etc - never a problem.

 

A Quad Core should definitly be able to handle things if our little 'ole Dual Core Conroe handles it with almost no load on the server.

Link to comment
Share on other sites

We're using a Dual Core Conroe (1.8Ghz with 2GB ram) with a consistant load of less than 10% CPU usage even on our busy days. With a few thousand hosting customers logging in to the billing system for everything from tickets (about 40 tickets average per day) and checking server status etc - never a problem.

 

A Quad Core should definitly be able to handle things if our little 'ole Dual Core Conroe handles it with almost no load on the server.

 

Well I appreciate the stats you pitched in there. I'm absolutely sure it's a scripting problem now.

Link to comment
Share on other sites

I'd suggest that using more than all available CPU is not only bad, but unlikely to be more than top misreporting or something.

After all, isn't 100% all there is of anything?

 

Also, to answer your question more accurately, the server is running off of 4 cpus. That's how it can go over 100%. It's not out of the 20%.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated