Current time: 11-23-2024, 03:39 PM Hello There, Guest! (LoginRegister)


Post Reply 
timeout settings php
Author Message
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #1
timeout settings php
Habe hier Probleme mit einem PHP Script Laufzeit ungf. 6 min ...
Bei 4 min bricht das Script mit einem 500 error ab, obwohl in:
/etc/php5/php.ini
/var/virtual/fcgi/user.tld/php.ini

folgendes gesetzt ist:
Code:
max_execution_time = 600     ; Maximum execution time of each script, in seconds
max_input_time = 600 ; Maximum amount of time each script may spend parsing request data

Habe ich etwas übersehen (apache oder cgi settings) ?
09-21-2009 01:25 AM
Find all posts by this user Quote this message in a reply
ZooL Offline
Moderator
*****
Moderators

Posts: 3,429
Joined: Jan 2007
Reputation: 79
Post: #2
RE: timeout settings php
hi, fals ich das anmerken darf ist die etc php.ini unrelevant du solltest in /etc/apache2/mods-enable
in die fcgi oder fast cgi schauen

mfg
09-21-2009 07:07 AM
Visit this user's website Find all posts by this user Quote this message in a reply
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #3
RE: timeout settings php
(09-21-2009 07:07 AM)ZooL Wrote:  du solltest in /etc/apache2/mods-enable in die fcgi oder fast cgi schauen

hm - kommt immer noch zum Fehler:
exit(communication error), terminated by calling exit(), return code: 0
Code:
<IfModule mod_fcgid.c>
  AddHandler fcgid-script .php .php5
  SocketPath /var/lib/apache2/fcgid/sock
  IdleTimeout 400
  IdleScanInterval 120
  BusyTimeout 400
  BusyScanInterval 120
  ErrorScanInterval 3
  ZombieScanInterval 3
  ProcessLifeTime 3600
  SpawnScoreUpLimit 10
  SpawnScore 1
  TerminationScore 2
  MaxProcessCount 250
  DefaultMaxClassProcessCount 3
  DefaultMinClassProcessCount 0
  IPCConnectTimeout 60
  IPCCommTimeout 240
</IfModule>
(This post was last modified: 09-21-2009 11:04 PM by fulltilt.)
09-21-2009 09:20 PM
Find all posts by this user Quote this message in a reply
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #4
RE: timeout settings php
Habe auch untenstehende config probiert, nach 2 min bekomme ich einen 500er.
exit(communication error), terminated by calling exit(), return code: 0
Hat noch jemand eine Idee?
http://www.dumitrache.net/2009/06/ispcp-...er-errors/
(This post was last modified: 09-22-2009 08:30 PM by fulltilt.)
09-22-2009 07:04 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)