Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Wed Apr 17 21:57:23.075175 2013] [proxy_fcgi:error] [pid 9263:tid 140530454267648] (70007)The timeout specified has expired: [client 58.169.202.172:49017] AH01075: Error dispatching request to :, referer:
- Timeout 600
- <IfModule proxy_module>
- ProxyPassMatch ^/(.*.php)$ fcgi://127.0.0.1:9001/home/pyrokinetiq/scripts/$1 timeout=600
- ProxyTimeout 600
- </IfModule>
- ProxyPassMatch ^/(.+.php.*)$ fcgi://127.0.0.1:9000/<docroot>/$1 timeout=1800
- <Proxy fcgi://127.0.0.1:9000>
- ProxySet timeout=1800
- </Proxy>
- ProxyPassMatch ^/(.+.php.*)$ fcgi://127.0.0.1:9000/<docroot>/$1
- ProxyPassMatch ^/(.*.php)$ fcgi://127.0.0.1:9001/path/to/webroot/$1 timeout=120
- #1: Start output immediately
- #Note: Sending the header is innocuous
- # it can be changed later using the $replace parameter
- # (see #3)
- header( 'Content-Type: application/json' );
- #2: Run slow query
- mysql_query( "SELECT * FROM giant_table" );
- #3: Change header as needed
- header( 'Content-Type: application/csv', true );
- #output content
- <IfModule mod_proxy.c>
- request_terminate_timeout 610s
- ; This is a hard kill switch on php execution. It ignores the
- ; max_execution_time that can be set/changed with php_ini. Basically
- ; it avoids timeout issues between apache and php-fpm.
- request_terminate_timeout=30
- <IfModule reqtimeout_module>
- RequestReadTimeout header=20-40,MinRate=500 body=20,MinRate=500
- </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement