All pastes #2046747 Raw Edit

Untitled

public text v1 · immutable
#2046747 ·published 2011-04-15 10:36 UTC
rendered paste body
Hi there,

I have a big problem with mod_fastcgi. I need, to run a php script up to about 2-3 mins. The script runs but fastcgi send an 500 header to the browser. If I check php after this, i can see the script is still running, just a header was sent.
And the log contains: 
[Fri Apr 15 10:39:11 2011] [notice] mod_fcgid: process /var/www/virtual/[...]/index.php(23154) exit(communication error), terminated by calling exit(), return code: 0

Technical information:

- works with ispcp (last stable)

fcgi version:
libapache2-mod-fcgid              1:2.2-1+lenny1

fcgi configuration:
<IfModule mod_fcgid.c>
  AddHandler fcgid-script .php .php5
  SocketPath /var/lib/apache2/fcgid/sock
  IdleTimeout 8200
  IdleScanInterval 120
  BusyTimeout 6900
  BusyScanInterval 120
  ErrorScanInterval 3
  ZombieScanInterval 3
  ProcessLifeTime 19600
  SpawnScoreUpLimit 10
  SpawnScore 1
  TerminationScore 2
  MaxProcessCount 980
  DefaultMaxClassProcessCount 980
  DefaultMinClassProcessCount 1
  IPCCommTimeout 16000
  MaxRequestsPerProcess 5000
</IfModule>
(this limits for testing purposes only)

apache2 version: 2.2.9-10+lenny9
php version:  5.2.6.dfsg.1-1+lenny10

-- 
Bests,

Kovács András