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

Discussion in 'HOWTO-Related Questions' started by denisdenis, Apr 12, 2013.

  1. denisdenis

    denisdenis New Member

    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
     
  2. tczaude

    tczaude New Member

    Hi tell my do ypu use atributtes
     
  3. tczaude

    tczaude New Member

    and give debug and profilers output
     

Share This Page