Questions tagged [timeout]

In computing, a timeout is either an error condition or event that occurs when an event exceeds the time frame permitted to it, or the period of time allotted to a given event.

In computing, a timeout is either an error condition or event that occurs when an event exceeds the time frame permitted to it, or the period of time allotted to a given event.

For an example of an event being a timeout, a network timeout [error] occurs when a response is expected from a networked device, but not received within a specified time period.

As an example of a timeout being defined as a period of time, ftp servers often have idle timeouts, after which inactive connections are closed.

591 questions
112
votes
4 answers

How to disable timeout for nginx?

On a local development machine, I have a nginx reverse proxy like so: server { listen 80; server_name myvirtualhost1.local; location / { proxy_pass http://127.0.0.1:8080; } server { listen 80; server_name myvirtualhost2.local; …
k0pernikus
  • 3,830
  • 4
  • 16
  • 17
77
votes
14 answers

How can I set a short timeout with the ping command?

I am trying to write a script that lists all the hosts on my LAN (there a about 20 of them) and writes the ping status next to each host. I have the DHCP leases file, so I have all the IPs (say, 10.0.0.1, 10.0.0.2, etc.), all I need is the ping…
MiniQuark
  • 3,695
  • 2
  • 20
  • 23
36
votes
9 answers

Nginx + php-fpm "504 Gateway Time-out" error with almost zero load (on a test-server)

After debugging for 6-hours - I am giving this up :| We have a nginx+php-fpm+mysql in LAN with almost 100 wordpress (created and used by different designers/developers all working on test wordpres setup) We are using nginx without any issues from…
rahul286
  • 1,647
  • 4
  • 20
  • 25
29
votes
3 answers

What is the IIS7 default keepalive time?

What is the IIS7 default time for HTTP keepAlive?
SDReyes
  • 643
  • 2
  • 8
  • 15
28
votes
2 answers

Nginx proxy_read_timeout vs. proxy_connect_timeout

I've started using Nginx as a reverse proxy for a set of servers that provide some sort of service. The service can be rather slow at times (its running on Java and the JVM sometimes gets stuck in "full garbage collection" that may take several…
Guss
  • 2,520
  • 5
  • 32
  • 55
23
votes
3 answers

nginx connection timeout & client closed connection issue

I have this nginx server running on AWS & it was working all fine until recently when couple of users started complaining about the website not opening until they made some 10 attempts to access it. I never was able to repro the issue from my side.…
Nitish Dhar
  • 331
  • 1
  • 2
  • 5
22
votes
2 answers

https timeout while http works

I've set up SSL for my domain and it works from Apache perspective. The problem is that accessing my domain over HTTPS sometimes results in timeouts. When it doesn't work, it takes some time to access my website over HTTP but it never times out. Why…
6bytes
  • 795
  • 2
  • 9
  • 15
17
votes
4 answers

Timeout saving table in SQL Server

I'm trying to add a column to a table with much data in SQL Server 2005, using SSMS. So I browse to the table, select Modify, and add the new column. Then, when I press Save, I get the following warning: Saving Definition Changes to tables with…
Tor Haugen
  • 449
  • 4
  • 6
  • 14
17
votes
2 answers

DNS Server Responses and Timeouts

We're experiencing a frustrating problem on our LAN. Periodically, DNS queries to our ISP nameservers timeout forcing a 5 second delay. Even if I bypass /etc/resolv.conf by using a direct dig to one of our DNS servers, I still encounter the…
dmourati
  • 24,720
  • 2
  • 40
  • 69
17
votes
2 answers

How to debug apache timeouts?

I run a PHP web application on an Apache 2.2 server (Ubuntu Server 10.04, 8x2GHz, 12Gb RAM) using prefork. Each day Apache gets about 100k-200k requests, of these about 100-200 hits the timeout limit (so about one in every thousand), pretty much all…
Leon
  • 175
  • 1
  • 1
  • 6
15
votes
5 answers

Why does my ssh timeout vary with network location?

When I'm ssh'ed into one of our office servers (which run Fedora 10) from home, my session times out after a fairly short period of activity (5 minutes or so). I've tried using TcpKeepAlive on the client side, to no effect. The thing I don't…
gareth_bowles
  • 8,867
  • 9
  • 33
  • 42
14
votes
2 answers

Setting timeout for cron jobs

Do Ubuntu Linux cron (Vixie cron?) support setting timeout for its jobs? Specifically, the process would be killed after X seconds unless it finishes successfully by then. I have had some cases where tasks have been hanging due to network…
Mikko Ohtamaa
  • 1,364
  • 3
  • 17
  • 28
12
votes
2 answers

SSH Connections freezing with "Write failed: Broken pipe"

I am connecting to a CentOS 5.5 box via SSH from a Ubuntu 11.04 machine. The connection appears to work as expected when it is in active use (i.e. no lag or loss), but if it is left inactive for a while it will freeze up and become unresponsive.…
Stephen RC
  • 621
  • 3
  • 8
  • 13
11
votes
1 answer

Increase disk detection timeout at boot with Linux/Systemd

I have a machine with a lot of disks, and an extra SAS controller in HBA mode. This seems to cause Linux to think for at least 8-10 seconds once in initramfs before the disks actually appear. The timeout for disk detection is 10 seconds. This…
Alex
  • 369
  • 5
  • 22
11
votes
1 answer

Haproxy - timeout http-request vs timeout http-keep-alive vs timeout server

I'm trying to wrap my head around how the haproxy options timeout http-request timeout http-keep-alive timeout server interact with each other. I'm running an Apache website on two app servers living behind a haproxy…
Mike Levy
  • 245
  • 1
  • 3
  • 7
1
2 3
39 40