FastCGI and out of memory errors
I use the PHP Java Bridge (with Tomcat server) and face "Out Of Memory" errors.
As far as I know PHP starts php-cgi processes. These processes are being reused by Apache until a certain limit. After resuse, the process can be removed. But the removal is not performed. That leads to an "Out of Memory".
I understand that the following parameters are important for the process:
1. PHP_FCGI_CHILDREN
2. PHP_FCGI_MAX_REQUESTS
3. MaxRequestsPerProcess (in /../fcgid.conf)
But in WHM, I can't find anything about this.
Can someone advice me?
Thanks in advance.
-
Hello :) You may find the following thread helpful in understanding how to add the custom FCGI settings: Info reguarding of different Apache modules used in combination It includes details about the IfModule statements that you wrap the configuration settings in before posting them in "WHM Home " Service Configuration " Apache Configuration " Include Editor " Pre VirtualHost Include". Thank you. 0
Please sign in to leave a comment.
Comments
1 comment