I'm noticing that accounts that use mod_lsapi to load PHP scripts experiencing a horribly slow load time when they are first being accessed. It takes about 30 seconds for the script to load (a simple phpinfo() page). But then if you refresh the page, it loads fine. Am I doing something wrong?
Yep, something is wrong. Our sites load very fast, even WordPress sites, which usually take a long time due to how many calls it takes to build the page. Shoot me a PM and I'll send you some sites so you can compare. I can tell you more about the configuration of those sites (php version, modules, site caching, etc.)
I am sure issue is not in mod_lsapi, what if you disable lsapi for this domain and open phpinfo page? Does this happens to all accounts on a server? Also, please check io/iops limits for roblematic LVE.
I only have 1 account using CageFS right now, and using mod_lsapi, I\'m just testing this out. The site loads fine when it is run through suphp.
I have to let it sit idle for about an hour or two before testing it and it takes 30 seconds for it to begin to process.
The IO for the account is set at 512KB/s. I do see it hitting that limit.
The IOPS is set at 256, but I don\'t see it getting any where close to that, max IOPS during that time was only 12. Are there suppose to be any options enabled in /usr/local/apache/conf/conf.d/lsapi.conf? All of the configuration options are commented out in that file.