Portál AbcLinuxu, 9. listopadu 2025 02:37
# This is the Apache server configuration file for providing FastCGI support
# through mod_fcgid
#
# Documentation is available at http://fastcgi.coremail.cn/doc.htm
LoadModule fcgid_module modules/mod_fcgid.so
# Use FastCGI to process .fcg .fcgi & .fpl scripts
# Don't do this if mod_fastcgi is present, as it will try to do the same thing
<IfModule !mod_fastcgi.c>
AddHandler fcgid-script fcg fcgi fpl
MaxProcessCount 30
IdleTimeout 300
BusyTimeout 300
# ProcessLifeTime 7200
ProcessLifeTime 60
IPCConnectTimeout 300
IPCCommTimeout 7200
</IfModule>
# Sane place to put sockets and shared memory file
SocketPath /var/run/mod_fcgid
SharememPath /var/run/mod_fcgid/fcgid_shm
Problém je, že když se daný proces php-cgi poprvé staruje tak vytíží CPU na 100%, pak už je to ale normální. Případně mám dobře nastavené časy v nastavení toho fast cgi?
Na otázku zatím nikdo bohužel neodpověděl.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.