Jump to content

Hosting Provider Warn Me Due To High Server Load On product.php


Recommended Posts

I have a critical problem now. Last night my hosting provider warn me of high server load on product.php. It utilize the server resources up to 79%. If it's continue like this, my shop could be suspended since it breaks the TOS.

I already turned the force compile to be off (force compile=false). But the visitors traffic is high.

I really need advice about this. I hope someone could help me.

Link to comment
Share on other sites

Who is your provider? It seems like some of those really cheap monthly providers are not suitable for prestashop, I am no expert I have no idea why CPU usage can be so high, but this is not the only case I have read where prestashop has taking a lot of CPU, I think you should simply upgrade to better hosting.

Link to comment
Share on other sites

Well I think this would be potentially a critical problem for others too. Is it because of the lack of data so that I didn't get any suggestion?
All I need to know is, is there any other way besides turning the force compile off to minimize the server load?
I didn't install any "excessive" module that will only slows down my website. I only install the necessary one.
I hope someone could help me. TIA.

Link to comment
Share on other sites

Last year I had 2 accounts with the same host. Suddenly one account was suspended, saying I was using "excessive" resources. Weirdly the other account was fine, even though it was receiving more visitors. Both installations were using the same Presta version and the same modules. Eventually i had the suspended account terminated, the other account went on with no trobules at all for the span of the contract.

The suspended account was moved for me by my new host, and placed into a new server exactly the same as it was. I am still with that host and have never had any problems with them and have never had any comments of excessive resource usage.

My point is that if the host is running low spec servers which are stuffed full of accounts, then yes, if your getting high traffic your site could make the cpu usage go up when combined with all the other accounts on the server. What Orian1 said above could be your best bet.

Link to comment
Share on other sites

Well it seems I knew the trigger of this problem.
My Awstats log shows that 3 different search engine robots crawl my site at the same day and almost same time (Yahoo Slurp @ 15:26, Yandex.ru @ 15:42, Googlebot @ 16:01) with about 2500 hits of pages.
Actually I have 6 prestashop installed on the same host, and so far only one have this problem (which is with the largest amount of products and categories).
I'll keep observing on this problem. And if the problem continues I'll consider to move this site to another host.
Thank you.

Link to comment
Share on other sites

  • 6 months later...

What host did you use.. my host webhostingpad.com is giving me the same grief and the only thing I did differently to this site after it was fine is submit it to all the search engines.

Can anyone suggest a vps hosting service?

This is pissing me off with them so quick to suspend..

Link to comment
Share on other sites

Checking my error log I found this huge mess.. what the heck.. help.. does anything here have to do with why my server is wanting to give me the boot??

[04-Apr-2011 16:58:08] PHP Warning:  htmlentities() [function.htmlentities]: Invalid multibyte sequence in argument in /home2/toolsupp/public_html/classes/Tools.php on line 446
[04-Apr-2011 16:59:01] PHP Warning:  htmlentities() [function.htmlentities]: Invalid multibyte sequence in argument in /home2/toolsupp/public_html/classes/Tools.php on line 446
[04-Apr-2011 17:41:04] PHP Warning:  htmlentities() [function.htmlentities]: Invalid multibyte sequence in argument in /home2/toolsupp/public_html/classes/Tools.php on line 446
[04-Apr-2011 17:41:10] PHP Warning:  htmlentities() [function.htmlentities]: Invalid multibyte sequence in argument in /home2/toolsupp/public_html/classes/Tools.php on line 446
[04-Apr-2011 17:41:29] PHP Warning:  htmlentities() [function.htmlentities]: Invalid multibyte sequence in argument in /home2/toolsupp/public_html/classes/Tools.php on line 446
[04-Apr-2011 17:41:53] PHP Warning:  htmlentities() [function.htmlentities]: Invalid multibyte sequence in argument in /home2/toolsupp/public_html/classes/Tools.php on line 446
[05-Apr-2011 14:04:25] PHP Warning:  chmod() [function.chmod]: No such file or directory in /home2/toolsupp/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php on line 50
[05-Apr-2011 14:04:39] PHP Warning:  chmod() [function.chmod]: No such file or directory in /home2/toolsupp/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php on line 50
[05-Apr-2011 14:04:39] PHP Warning:  include(/home2/toolsupp/public_html/tools/smarty/compile/acf64707f57e9055f7cd895de8484f69b5e67077.file.category-tree-branch.tpl.php) [function.include]: failed to open stream: No such file or directory in /home2/toolsupp/public_html/tools/smarty/sysplugins/smarty_internal_template.php on line 433
[05-Apr-2011 14:04:39] PHP Warning:  include() [function.include]: Failed opening '/home2/toolsupp/public_html/tools/smarty/compile/acf64707f57e9055f7cd895de8484f69b5e67077.file.category-tree-branch.tpl.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/toolsupp/public_html/tools/smarty/sysplugins/smarty_internal_template.php on line 433
[05-Apr-2011 14:22:09] PHP Warning:  include(/home2/toolsupp/public_html/tools/smarty/compile/acf64707f57e9055f7cd895de8484f69b5e67077.file.category-tree-branch.tpl.php) [function.include]: failed to open stream: No such file or directory in /home2/toolsupp/public_html/tools/smarty/sysplugins/smarty_internal_template.php on line 433
[05-Apr-2011 14:22:09] PHP Warning:  include() [function.include]: Failed opening '/home2/toolsupp/public_html/tools/smarty/compile/acf64707f57e9055f7cd895de8484f69b5e67077.file.category-tree-branch.tpl.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/toolsupp/public_html/tools/smarty/sysplugins/smarty_internal_template.php on line 433
[05-Apr-2011 16:10:17] PHP Warning:  include(/home2/toolsupp/public_html/tools/smarty/compile/acf64707f57e9055f7cd895de8484f69b5e67077.file.category-tree-branch.tpl.php) [function.include]: failed to open stream: No such file or directory in /home2/toolsupp/public_html/tools/smarty/sysplugins/smarty_internal_template.php on line 433
[05-Apr-2011 16:10:17] PHP Warning:  include() [function.include]: Failed opening '/home2/toolsupp/public_html/tools/smarty/compile/acf64707f57e9055f7cd895de8484f69b5e67077.file.category-tree-branch.tpl.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/toolsupp/public_html/tools/smarty/sysplugins/smarty_internal_template.php on line 433
[05-Apr-2011 16:37:42] PHP Warning:  include(/home2/toolsupp/public_html/tools/smarty/compile/acf64707f57e9055f7cd895de8484f69b5e67077.file.category-tree-branch.tpl.php) [function.include]: failed to open stream: No such file or directory in /home2/toolsupp/public_html/tools/smarty/sysplugins/smarty_internal_template.php on line 433
[05-Apr-2011 16:37:42] PHP Warning:  include() [function.include]: Failed opening '/home2/toolsupp/public_html/tools/smarty/compile/acf64707f57e9055f7cd895de8484f69b5e67077.file.category-tree-branch.tpl.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/toolsupp/public_html/tools/smarty/sysplugins/smarty_internal_template.php on line 433

Link to comment
Share on other sites


how can I edit the robot.txt file
where on the file should I put it?

Open in any text editor. download using ftp client and edit, then re-upload to your site.
Or, if you have cPanel, use Filemanager to edit the file.

Place it after the User-agent: * line.


do you know any vps hosting companies that can do this for me.

We use Site5 and they are very reasonable and reliable. http://www.site5.com
Link to comment
Share on other sites


how can I edit the robot.txt file
where on the file should I put it?

Open in any text editor (NOT MSWord). download using ftp client and edit, then re-upload to your site.
Or, if you have cPanel, use Filemanager to edit the file.

Place it after the User-agent: * line.


do you know any vps hosting companies that can do this for me.

We use Site5 and they are very reasonable and reliable. http://www.site5.com
Link to comment
Share on other sites

  • 2 years later...

The robots.txt has nothing to do with it. All that file does is tell the spiders (such as google and bing) how often to spider your site and what files to not spider.

 

Who is your host, what package do you have? What version of Prestashop are you running? What is your monthly traffic?

Link to comment
Share on other sites

Its only 600 visits a day. Using heart internet, they said they going to put it back up and assume it was a one off. Dont know what version of PS because I cant log in still to see but its 1.4 something I think. The latest version doesn't work with some of my modules.

Link to comment
Share on other sites

Its only 600 visits a day. Using heart internet, they said they going to put it back up and assume it was a one off. Dont know what version of PS because I cant log in still to see but its 1.4 something I think. The latest version doesn't work with some of my modules.

we are using our prestashop in hostgator normal package and it work fine. not problem at all. i suggest you to update your prestashop and switch a better server that is good for you.

Link to comment
Share on other sites

×
×
  • Create New...