1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

How to: tune php-cgi on high-traffic servers

Discussion in 'Plesk 11.x for Linux' started by MislavO, Sep 28, 2012.

  1. MislavO

    MislavO Regular Pleskian

    Jul 20, 2012
    Likes Received:
    Hello all. I'm in proccess of tunning services this days and i've tryed few configurations and so far i've seen that sites on server are loading faster and i got same feedback from clients, but there are still some issues.

    So i've read many articles here and on Internet, just few of them are
    and many others. Anyway, so far mysql is fine, but currently i'm very interested in tunning php-cgi. At the moment my fcgid.conf have:
    With this settings i see difference and i guess i'm on good path (Note: this are only current settings, i'm changing them every few days and trying some combinations - https://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html - old/new values).

    Some of this settings should be improved because i noticed that in some parts of day (probably high traffic/a lot of requests/visitors) websites are loading slower - some of them can't even get request from server and after like 60sec i get error 503). What i've found in logs is this:
    I've tryed to open this file, but it's crypted.

    So in short:
    1) do you have any suggestions how to improve fcgid.conf, i guess there are people who have more experience and knowledge with high traffic servers
    2) note that problem with websites is always the FIRST request, when websites is loading for the first time, after that, everything goes smooth and clear
    3) does anyone had problems with :
    I found almost nothing about this one, should i contact plesk support since file is crypted?
    4) NGINX is not enabled on server (there are still some problem, i will have to contact plesk support about this).

    If needed i can write server hardware configuration.
  2. abdi

    abdi Platinum Pleskian

    May 14, 2006
    Likes Received:
    Have you tried installing a caching engine, like APC or Memcache ..These can greatly improve your speeds.