How to fix timeout

esh2213

New member
Joined
Dec 26, 2017
Messages
2
Hi
i want users with slow internet connections able to get request
an i think me must config Module reqtimeout_module

i with this post https://help.directadmin.com/item.php?id=302

config like this :

<IfModule reqtimeout_module>
RequestReadTimeout header=20-40,MinRate=7 body=30,MinRate=7
</IfModule>

but this not work and slow connections timeout :(

what should I do?
 
Hello,

First you should from reading error logs of your web-server. Time-out might occur in several places:

- connection to apache/nginx
- connection to PHP (for example if you use PHP-FPM)
- waiting for a response from PHP
- waiting for a response from apache/nginx


with slow connections depending on error you get you might have issues with max requests, i.e. processes keep running even if a browser closed connection, and here you might hit a limit on number of processes in MySQL/PHP/Apache/NGINX.

So you should really try and identify at what moment you have an issue with timeouts. For this you should read logs.

Please feel free to post extract of them here if you don't know how to deal with them. Keep in mind to use formatting in a reply form and code tags.
 
Back
Top