HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   100% cpu load on nginx + php-fpm with prestashop 1.5 (http://www.howtoforge.com/forums/showthread.php?t=61400)

denisdenis 12th April 2013 15:10

100% cpu load on nginx + php-fpm with prestashop 1.5
 
Hey guys

I managed to set up my VPS (single core, 1 gig ram) with the prestashop guide here on HowtoForge. Everything is working, except for the extremely high CPU load, the frontpage has an OK load time, but the product pages take forever to load, when 1 user opens 1 page the CPU loads shoots to 100% and still takes ~2seconds to process, I'm thinking there is something wrong in the php code, but I don't know how i can find out what is using up so much resources. Via htop I can see its php-fpm: pool, but that's not really helping me find out what is wrong ofcourse.

The php5-fpm log is showing me only this warning:
[12-Apr-2013 12:36:16] WARNING: [pool www] server reached pm.max_children setting (10), consider raising it
[12-Apr-2013 12:41:49] WARNING: [pool www] server reached pm.max_children setting (10), consider raising it
[12-Apr-2013 12:56:26] WARNING: [pool www] server reached pm.max_children setting (10), consider raising it
[12-Apr-2013 12:56:43] WARNING: [pool www] server reached pm.max_children setting (10), consider raising it
[12-Apr-2013 12:59:39] WARNING: [pool www] server reached pm.max_children setting (10), consider raising it

But as I did a little bit of looking around 10 isn't an unusual low number for this setting.

Hope anyone can help me out with this.

Kind regards

Edit: this is my website: www.deepdevotionshop.com

tczaude 28th May 2013 23:14

Hi tell my do ypu use atributtes

tczaude 28th May 2013 23:15

and give debug and profilers output


All times are GMT +2. The time now is 14:03.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.