Ticket #1128 (closed malfunction: fixed)
fastcgi idle timeout
|Reported by:||greg||Owned by:|
|Priority:||major||Milestone:||ispCP ω 1.0 - RC5|
|Component:||Config Files||Version:||ispCP ω 1.0.0 - RC4|
|Severity:||Don't know||Keywords:||fastcgiconfig fastcgiserver|
I have a timeout error with a file upload, importing a big sql dump with phpMyAdmin (~ 8Mo compressed). This could be normal but I have searched how to push the limits and I don't understand everything...
First I change some parameters into the master php.ini to allow greater file post/upload/execution time... So phpMyAdmin accept to process my file upload.
But then I have after about 2'30 an error 500 :
[Fri Mar 21 16:24:46 2008] [error] [client XX.XX.XX.XX] FastCGI: comm with server "/var/www/fcgi/master/php5-fcgi-starter" aborted: idle timeout (30 sec), referer: http://admin.myiscpserver.net/tools/pma/db_import.php?db=109_db&token=a682bb10eede6c085e879b9decbfce58&goto=db_structure.php [Fri Mar 21 16:24:46 2008] [error] [client XX.XX.XX.XX] FastCGI: incomplete headers (0 bytes) received from server "/var/www/fcgi/master/php5-fcgi-starter", referer: http://admin.myiscpserver.net/tools/pma/db_import.php?db=109_db&token=a682bb10eede6c085e879b9decbfce58&goto=db_structure.php
In fact, the transfer take about 2 minutes and then I have this 30s idle timeout during processing... But I don't understand why only 30s ?
From the file /etc/apache2/mods-available/fastcgi_ispcp.conf I find a parameter -idle-timeout (a FastCgiConfig? option) at 300 and not 30 ! On the other hand if I add this same parameter to the FastCgiServer? option, idle timeout looks good.
So, I don't know how fastcgi have to work and if it's really a bug or an intented behaviour... But FastCgiConfig? options don't seem to be used in this case, while adding them to FastCgiServer? solves my problem (as my file is very big, after some times phpMyAdmin tell me that time limit is reached, and I can submit again my dump file to continue the import : works good for me)