Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. [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:
  2.  
  3. Timeout 600
  4. <IfModule proxy_module>
  5. ProxyPassMatch ^/(.*.php)$ fcgi://127.0.0.1:9001/home/pyrokinetiq/scripts/$1 timeout=600
  6. ProxyTimeout 600
  7. </IfModule>
  8.  
  9. ProxyPassMatch ^/(.+.php.*)$ fcgi://127.0.0.1:9000/<docroot>/$1 timeout=1800
  10.  
  11. <Proxy fcgi://127.0.0.1:9000>
  12. ProxySet timeout=1800
  13. </Proxy>
  14. ProxyPassMatch ^/(.+.php.*)$ fcgi://127.0.0.1:9000/<docroot>/$1
  15.  
  16. ProxyPassMatch ^/(.*.php)$ fcgi://127.0.0.1:9001/path/to/webroot/$1 timeout=120
  17.  
  18. #1: Start output immediately
  19. #Note: Sending the header is innocuous
  20. # it can be changed later using the $replace parameter
  21. # (see #3)
  22. header( 'Content-Type: application/json' );
  23.  
  24. #2: Run slow query
  25. mysql_query( "SELECT * FROM giant_table" );
  26.  
  27. #3: Change header as needed
  28. header( 'Content-Type: application/csv', true );
  29.  
  30. #output content
  31.  
  32. <IfModule mod_proxy.c>
  33.  
  34. request_terminate_timeout 610s
  35.  
  36. ; This is a hard kill switch on php execution. It ignores the
  37. ; max_execution_time that can be set/changed with php_ini. Basically
  38. ; it avoids timeout issues between apache and php-fpm.
  39. request_terminate_timeout=30
  40.  
  41. <IfModule reqtimeout_module>
  42. RequestReadTimeout header=20-40,MinRate=500 body=20,MinRate=500
  43. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement