Ubuntu Apache 10 second timeout

Posted on

Ubuntu Apache 10 second timeout – Managing your servers can streamline the performance of your team by allowing them to complete complex tasks faster. Plus, it can enable them to detect problems early on before they get out of hand and compromise your business. As a result, the risk of experiencing operational setbacks is drastically lower.

But the only way to make the most of your server management is to perform it correctly. And to help you do so, this article will share nine tips on improving your server management and fix some problem about apache-2.2, ubuntu, timeout, , .

I’m debugging an API I’m building using netcat to send raw HTTP requests. The thing is that Apache closes the connection after 10 seconds, giving me very little time to type. I know that I could pipe a file to nc, or use any other workaround, but I’d like it to work as it’s supposed to.

The Timeout directive in apache2.conf is at its default of 300 seconds, KeetAliveTimeout at 15 seconds. Where could this 10 second timeout possibly be defined? I’m running Ubuntu 10.04 Desktop.

Thanks,

Andreas

Solution :

This sounds like mod_reqtimeout needs some tweaking. Take a look at the docs for mod_reqtimeout

On ubuntu 10.04, I believe you will find the configuration in:

/etc/apache2/mods-enabled/reqtimeout.conf

Leave a Reply

Your email address will not be published.