Slow php rendering on Debian

Discussion in 'Installation/Configuration' started by aferra, Oct 5, 2014.

  1. aferra

    aferra New Member

    Hi all,
    I need some help. I have installed ispconfig on a dedicated server (Kimsufi).
    This is my server config:
    Debian 7.6 64bit
    Intel Atom™ N2800 2c/4t 1.86 GHz
    4Gb RAM
    1TB HD

    I have 10 Wordpress sites running on server, all sites use fast-cgi.
    I notice slow responses from sites, at the first page load I have from 3 to 6 seconds of waiting time before I can see the page.

    My apache2 config:
    <IfModule mpm_prefork_module>
    StartServers 8
    MinSpareServers 20
    MaxSpareServers 40
    MaxClients 100
    MaxRequestsPerChild 100
    </IfModule>

    <IfModule mpm_worker_module>
    StartServers 2
    MinSpareThreads 25
    MaxSpareThreads 75
    ThreadLimit 64
    ThreadsPerChild 25
    MaxClients 100
    MaxRequestsPerChild 100
    </IfModule>

    <IfModule mpm_event_module>
    StartServers 2
    MinSpareThreads 25
    MaxSpareThreads 75
    ThreadLimit 64
    ThreadsPerChild 25
    MaxClients 100
    MaxRequestsPerChild 100
    </IfModule>

    My php config:
    memory_limit = 256M

    Someone can help me ?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    A atom processor is not that fast and on first page load, php-fcgi gets started and also no php code is in the apc or xcache and also other wordpress caches are not filled yet, so this time can be normal. Furter requests should be faster then. And you should install caches in wordpress like w3total cache. The apache configuration that you posted has no influence on that.
     
  3. aferra

    aferra New Member

    Thanks Till,
    I havo no problems on the wordpress frontend, I use a wp chache plugin.
    The problems is for the admin dashboard.

    Thanks Alessandro
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Like I pointed out, thats normal when you have a slow processor and there is not much that you can do to speed this up. Ensure that you have either xcache or apc running and you can try to optimize mysql.
     

Share This Page