alchemisto Posted September 20, 2010 Share Posted September 20, 2010 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 More sharing options...
Orian1 Posted September 20, 2010 Share Posted September 20, 2010 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 More sharing options...
alchemisto Posted September 20, 2010 Author Share Posted September 20, 2010 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 More sharing options...
alchemisto Posted September 20, 2010 Author Share Posted September 20, 2010 @Orian1: Thanks for your suggestion but I don't think that would be the best solution. I've searching down for the similar problem and it seems that this was an old issue, but I still didn't find the best solution yet. Link to comment Share on other sites More sharing options...
DevNet Posted September 20, 2010 Share Posted September 20, 2010 Hi,Can you give us your website ?Best regards Link to comment Share on other sites More sharing options...
alchemisto Posted September 20, 2010 Author Share Posted September 20, 2010 Hi,Can you give us your website ?Best regards Hi DevNet, since I do not want to add extra-visitors to my site right now, I've send a private message to you. Please check your PM. Link to comment Share on other sites More sharing options...
DevNet Posted September 20, 2010 Share Posted September 20, 2010 To realize the traffic, do you have the http's log over the period problem? Link to comment Share on other sites More sharing options...
jhnstcks Posted September 20, 2010 Share Posted September 20, 2010 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 More sharing options...
alchemisto Posted September 21, 2010 Author Share Posted September 21, 2010 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 More sharing options...
ScubaLessonsInc Posted April 6, 2011 Share Posted April 6, 2011 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 More sharing options...
MrBaseball34 Posted April 6, 2011 Share Posted April 6, 2011 Since most bots honor the Crawl-delay option in robots.txt.add one. This will slow down there crawl activity. Crawl-delay: 10 Link to comment Share on other sites More sharing options...
ScubaLessonsInc Posted April 6, 2011 Share Posted April 6, 2011 Thanks.. how can I edit the robot.txt file? I did the generate option.. Link to comment Share on other sites More sharing options...
ScubaLessonsInc Posted April 6, 2011 Share Posted April 6, 2011 where on the file should I put it? Just never had to edit that. I still am worried they are going to kick me to the curb... do you know any vps hosting companies that can do this for me. Regards, T Link to comment Share on other sites More sharing options...
ScubaLessonsInc Posted April 6, 2011 Share Posted April 6, 2011 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 More sharing options...
MrBaseball34 Posted April 6, 2011 Share Posted April 6, 2011 how can I edit the robot.txt filewhere 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 More sharing options...
MrBaseball34 Posted April 6, 2011 Share Posted April 6, 2011 how can I edit the robot.txt filewhere 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 More sharing options...
ScubaLessonsInc Posted April 6, 2011 Share Posted April 6, 2011 Done.. now I will pray.. thanks so much Mr. Baseball! let me know if your in Florida and want to dive Link to comment Share on other sites More sharing options...
MrBaseball34 Posted April 6, 2011 Share Posted April 6, 2011 Sounds like a deal.Hope things work out for you. Link to comment Share on other sites More sharing options...
idoityourself Posted May 22, 2013 Share Posted May 22, 2013 I know this is old but Ive had the same problem today, host shut my site down. I noticed there is a robot.txt file that appeared in the public_html just before this happened, could that be part of the problem? Link to comment Share on other sites More sharing options...
Dh42 Posted May 22, 2013 Share Posted May 22, 2013 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 More sharing options...
idoityourself Posted May 22, 2013 Share Posted May 22, 2013 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 More sharing options...
Dh42 Posted May 22, 2013 Share Posted May 22, 2013 They look like a cheap lowend reseller. What package do you have? Link to comment Share on other sites More sharing options...
SmartDataSoft Posted May 22, 2013 Share Posted May 22, 2013 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 More sharing options...
vekia Posted May 22, 2013 Share Posted May 22, 2013 it all depends on your hosting configuration. How much ram you've got, what about CPU limit? you've got many attributes / combinations on your products? Link to comment Share on other sites More sharing options...
Recommended Posts