51
Bug Reports / Re: Re: Load time achievement
Last post by Spuds -One thing I did notice while testing, using vhosts .... I had PHP set as on-demand (ispconfig default) and it would take a good 3-5 seconds to respond. It would also shoot out random token failure when in the admin panel.
The default pm.process_idle_timeout is 10s, and with pm = ondemand it means the PHP-FPM worker gets killed 10 seconds after going idle. Any time testing gaps between tries were long then every "new" request was a cold start and it would spawn a new PHP process, initialize extensions, reconnect to MySQL, and repopulate OPcache/APCu , all before the page starts rendering.
Anyway In production I always use dynamic workers so I was not familiar with the performance of ondemand. For testing I set it to static and a few workers. Just thought it was interesting.