Quantcast
Channel: Alan Seiden, Author at Seiden Group
Viewing all articles
Browse latest Browse all 139

PHP_FCGI_MAX_REQUESTS Solves Job Cleanup Issues

$
0
0

One of PHP’s strengths is that each PHP job or process cleans itself up after every request. This makes PHP very reliable and stable. On occasion, though, an extension may have a bug that leaks memory or causes other problems over time. If that happens, PHP’s FastCGI settings provide a solution. PHP_FCGI_MAX_REQUESTS A setting in fastcgi.conf, PHP_FCGI_MAX_REQUESTS determines how many requests a PHP job should handle before ending and restarting. The default of zero (0) means each job will handle an unlimited number of requests. When PHP_FCGI_MAX_REQUESTS is greater than zero, the job will restart after it receives that number...

The post PHP_FCGI_MAX_REQUESTS Solves Job Cleanup Issues appeared first on Seiden Group.


Viewing all articles
Browse latest Browse all 139

Trending Articles