Skip to main content

Server cache for shared hosting?

Comments

8 comments

  • 24x7server
    Hello :), I will suggest you please install FastCGI + XCache on your server. It will definitely increase your server performance.
    0
  • Forcerdj
    Hello :), I will suggest you please install FastCGI + XCache on your server. It will definitely increase your server performance.

    Thanks for the information, I will give it a go.
    0
  • cPanelMichael
    Hello, You may also find the following document helpful:
    0
  • Forcerdj
    Hello, You may also find the following document helpful: PHP Options - EasyApache 4 - cPanel Documentation Thanks!

    I'm still on EA3 with CloudLinux, should I stick with XCache?
    0
  • cPanelMichael
    I'm still on EA3 with CloudLinux, should I stick with XCache?

    Yes, it's acceptable to use XCache with EasyApache 3. The corresponding documentation is found at: PHP Options - EasyApache - cPanel Documentation Thank you.
    0
  • Forcerdj
    Hello :), I will suggest you please install FastCGI + XCache on your server. It will definitely increase your server performance.

    I am wondering if you can help me further. I switched to FastCGI and get Internal Server Error on all websites. I understand FastCGI needs configuring first so I edited /etc/httpd/conf/php.conf and put in some default values:
    MaxRequestsPerProcess 1000 FcgidMaxProcesses 200 FcgidProcessLifeTime 7200 MaxProcessCount 500 FcgidIOTimeout 400 FcgidIdleTimeout 600 FcgidIdleScanInterval 90 FcgidBusyTimeout 300 FcgidBusyScanInterval 80 ErrorScanInterval 3 ZombieScanInterval 3 DefaultMinClassProcessCount 0 DefaultMaxClassProcessCount 3 MaxRequestLen 20468982
    This didn't work so I used the settings from information I found on CloudLinux blog
    FcgidMinProcessesPerClass 0 FcgidMaxProcessesPerClass 8 FcgidMaxProcesses 150 FcgidIdleTimeout 60 FcgidProcessLifeTime 120 FcgidIdleScanInterval 30
    after restarting apache again nothing worked. Thanks
    0
  • Forcerdj
    Just a follow up I got it working again by running command: cagefsctl --force-update I am using the following settings as recommended from the CloudLinux blog:
    FcgidMinProcessesPerClass 0 FcgidMaxProcessesPerClass 14 FcgidMaxProcesses 300 FcgidIdleTimeout 60 FcgidIdleScanInterval 30 FcgidProcessLifeTime 120
    This is stored in post_virtualhost_2.conf I am noticing memory usage is a little higher but server load lower.
    0
  • cPanelMichael
    Just a follow up I got it working again by running command: cagefsctl --force-update

    I'm happy to see it's now working. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.