Bierteufel
Registered User
Hallo,
ich habe ein kleines Problem:
System:
CENTOS 5.x
PSA 9.5.X
Apache mittels mod_fcgid (teilweise VHOST mit eigenen PHP.INIs)
RAM zweistellig GB..
CGI Wrapper:
FCGID.CONF
Folgende Fehlermeldung kommt ab & zu:
Ein ulimit -a liefert mir: 1024 Files
Dieses habe ich schon gelesen:
http://wherethebitsroam.com/blogs/j...modfcgid-couldnt-set-child-process-attributes
Wie kann ich die Ulimits für den Apache erhöhen, so dass die Config auch greift ?
Oder sollte ich im CGI Wraper noch
PHP_FCGI_CHILDREN=0 (automatisch ?)
setzen ?
ich habe ein kleines Problem:
System:
CENTOS 5.x
PSA 9.5.X
Apache mittels mod_fcgid (teilweise VHOST mit eigenen PHP.INIs)
RAM zweistellig GB..
CGI Wrapper:
PHP:
#!/bin/sh
PHPRC="/etc/php-ini.d/php-${UID}.ini"
[ -f ${PHPRC} ] || PHPRC="/etc/php.ini"
export PHPRC
exec /usr/bin/php-cgi
FCGID.CONF
PHP:
LoadModule fcgid_module /usr/lib64/httpd/modules/mod_fcgid.so
<IfModule mod_fcgid.c>
SocketPath /var/lib/httpd/fcgid/sock
</IfModule>
<IfModule mod_fcgid.c>
IdleTimeout 3600
ProcessLifeTime 7200
MaxProcessCount 128
DefaultMaxClassProcessCount 16
IPCConnectTimeout 30
IPCCommTimeout 45
DefaultInitEnv RAILS_ENV production
</IfModule>
Folgende Fehlermeldung kommt ab & zu:
Code:
[error] (24)Too many open files: mod_fcgid: couldn't set child process attributes: /var/lib/apache2/fcgid/sock/####.#####
[warn] (24)Too many open files: mod_fcgid: spawn process /var/www/test.tld/html/test.php error
Ein ulimit -a liefert mir: 1024 Files
Dieses habe ich schon gelesen:
http://wherethebitsroam.com/blogs/j...modfcgid-couldnt-set-child-process-attributes
Wie kann ich die Ulimits für den Apache erhöhen, so dass die Config auch greift ?
Oder sollte ich im CGI Wraper noch
PHP_FCGI_CHILDREN=0 (automatisch ?)
setzen ?