apache - Zend Framework application times out with strange message -
i hoping me figure out why application keeps timing out. built using zend framework. i'm trying run script takes few minutes finish. works fine on local machine (mamp) times out on prod server (ubuntu). relevant php.ini settings on both servers are: max_execution_time = 600 max_input_time = 600 memory_limit = 512m post_max_size = 8m
it should run 10 minutes before timing out right? on ubuntu server it'll run 1-2 minutes , time out message printed in middle of browser:
"backend server did not respond in time. app server busy , cannot handle requests in time."
pretty sure it's zend message can't find on internet.
thank help.
that message looks it's mod_fastcgi.
when run php under fastcgi (or run under fastcgi), php script separate entity web server. you've configured php process run 10 minutes, apache/mod_fastcgi configured wait shorter period php script start returning data.
the idea insulate apache process external processes go off weeds never return (eventually, apache run out of listeners)
if have access fastcgi configuration section of httpd.conf, check out values -appconntimeout or -idle-timeout.
unfortunately (or fortunately, if you're sysadmin @ hosting company), can't override these settings via .htaccess or per virtualhost. @ least, not according documentation
Comments
Post a Comment