I'm running PHP as a FCGI (FastCGI) module to isolate my user environments from each other properly.
No specific script causes this behaviour, I have multiple "handwritten" PHP scripts as well as Typo3 and Mambo / Joomla / whatever processes running and they all collect open file descriptors roughly at the same speed.
Here is an example virtualhost configuration:
<VirtualHost xx.xxx.xxx.xx:80>
ServerName foobar.name
ServerAlias *.foobar.name
ServerAdmin <email address hidden>
DocumentRoot "/xxxxx/webs/jens/name.foobar/"
FcgidIdleTimeout 30
SuexecUserGroup "jens" "jens"
<Directory "/xxxxx/webs/jens/name.foobar/">
<FilesMatch "\.(php)$">
SetHandler fcgid-script
FCGIWrapper /xxxxx/jens/foobar.name/php-fcgi-starter .php
Options +ExecCGI
</FilesMatch>
Order allow,deny
allow from all
</Directory>
Alias /awstats "/xxxxx/webs/jens/awstats/foobar.name"
Alias /awstats-icon "/usr/share/awstats/icon/"
ErrorLog "/xxxxx/logs/jens-foobar.name-error.log"
CustomLog "/xxxxx/logs/jens-foobar.name-access.log" combined
</VirtualHost>
Here is the referenced (autogenerated) "php-fcgi-starter" script:
I'm running PHP as a FCGI (FastCGI) module to isolate my user environments from each other properly.
No specific script causes this behaviour, I have multiple "handwritten" PHP scripts as well as Typo3 and Mambo / Joomla / whatever processes running and they all collect open file descriptors roughly at the same speed.
Here is an example virtualhost configuration:
<VirtualHost xx.xxx.xxx.xx:80> webs/jens/ name.foobar/ " webs/jens/ name.foobar/ "> jens/foobar. name/php- fcgi-starter .php webs/jens/ awstats/ foobar. name" awstats/ icon/" logs/jens- foobar. name-error. log" logs/jens- foobar. name-access. log" combined
ServerName foobar.name
ServerAlias *.foobar.name
ServerAdmin <email address hidden>
DocumentRoot "/xxxxx/
FcgidIdleTimeout 30
SuexecUserGroup "jens" "jens"
<Directory "/xxxxx/
<FilesMatch "\.(php)$">
SetHandler fcgid-script
FCGIWrapper /xxxxx/
Options +ExecCGI
</FilesMatch>
Order allow,deny
allow from all
</Directory>
Alias /awstats "/xxxxx/
Alias /awstats-icon "/usr/share/
ErrorLog "/xxxxx/
CustomLog "/xxxxx/
</VirtualHost>
Here is the referenced (autogenerated) "php-fcgi-starter" script:
umask 022 /xxxxx/ jens/foobar. name/' MAX_REQUESTS= 250 MAX_REQUESTS jens/foobar. name/'
PHPRC='
export PHPRC
PHP_FCGI_CHILDREN=0
export PHP_FCGI_CHILDREN
PHP_FCGI_
export PHP_FCGI_
exec /usr/bin/php-cgi -c '/xxxxx/
I will read up on FPM, thank you for the info. But I still regard this as a bug ;)
Cheers
Jens