Slow initial loading of PHP scripts
Announcement
Collapse
No announcement yet.
mod_lsapi slow load
Collapse
X
-
Im 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 Ill 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.)
- Scott
Comment
-
I only have 1 account using CageFS right now, and using mod_lsapi, Im 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 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.
Comment
Comment