Skip to main content

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.

Filter by
Sorted by
Tagged with
120 votes
4 answers
311k views

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 { ...
k0pernikus's user avatar
  • 4,420
91 votes
14 answers
323k views

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....
MiniQuark's user avatar
  • 4,005
36 votes
9 answers
158k views

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 ...
rahul286's user avatar
  • 1,667
34 votes
2 answers
177k views

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 "...
Guss's user avatar
  • 2,840
29 votes
3 answers
65k views

What is the IIS7 default keepalive time?

What is the IIS7 default time for HTTP keepAlive?
SDReyes's user avatar
  • 653
23 votes
3 answers
55k views

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 ...
Nitish Dhar's user avatar
22 votes
2 answers
32k views

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 ...
6bytes's user avatar
  • 805
17 votes
4 answers
36k views

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 ...
Tor Haugen's user avatar
17 votes
2 answers
36k views

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 (...
Leon's user avatar
  • 175
17 votes
2 answers
3k views

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 ...
dmourati's user avatar
  • 26.1k
16 votes
5 answers
10k views

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 ...
gareth_bowles's user avatar
14 votes
2 answers
33k views

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 ...
Mikko Ohtamaa's user avatar
12 votes
2 answers
16k views

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 ...
Stephen RC's user avatar
12 votes
1 answer
43k views

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> timeout http-keep-alive <timeout> timeout server <timeout> interact with each other. I'm ...
Mike Levy's user avatar
  • 255
12 votes
2 answers
13k views

How browsers handle multiple IPs [closed]

Can someone direct me to information on exact browsers behavior when browser gets multiple A records for a given hostname (say ip1 and ip2), and one of them is not accessible. I interested in EXACT ...
Sandman4's user avatar
  • 4,095
11 votes
1 answer
3k views

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 ...
Alex's user avatar
  • 399
10 votes
2 answers
39k views

Azure closing idle network connections

I'm running a proprietary client/server application on a single instance windows server 2k8R2 azure VM. The client is very dependent on a connection with the server. However if I spend a couple of ...
NoCarrier's user avatar
  • 329
10 votes
1 answer
56k views

How do I increase FastCGI read timeout to prevent 504 error on nginx?

I am running a file with considerable amount of coding. It takes approximately 55 seconds to process 500 users, but now I have to process 1000 users. The default timeout is 60 seconds, so I have to ...
rajankaneria's user avatar
10 votes
3 answers
51k views

AWS EC2 timeout connecting via SSH

I've just started using Amazon's free trial, and followed the "Launch an Amazon EC2 Instance" guide to set up the t2.micro instance, but I'm having trouble connecting to it over SSH. I've set up the ...
Kroltan's user avatar
  • 205
10 votes
1 answer
41k views

mod_proxy_ajp (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header

I am using mod_proxy_ajp with Tomcat and I receive the following error: (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header How do I fix this?
DD.'s user avatar
  • 3,144
10 votes
1 answer
49k views

Root cause of "curl: (56) SSL read: errno -5961" errors

I was evaluating some SSL failures, and noticed that when I use curl to one of the failing sites, I got curl: (56) SSL read: errno -5961; however, my google queries for that error didn't show the ...
Mike Pennington's user avatar
10 votes
2 answers
30k views

Too many TIME_WAIT state connections! [duplicate]

I've been reading about this everywhere all day, and from what I've gathered, TIME_WAIT is a relatively harmless state. It's supposed to be harmless even when there's too many. But if they're jumping ...
Hamza's user avatar
  • 101
9 votes
2 answers
15k views

Apache reaching MaxClients and locking the server

I currently have an Apache2 server running with mpm-prefork and mod_php on a OpenVZ VPS with 512M real / 1024M burstable RAM (no swap). After running some tests, I found that the maximum process size ...
Rodrigo Sieiro's user avatar
9 votes
1 answer
42k views

How to configure reasonable timeout for nfs?

I have nfs mount to a directory on remote machine. When the remote machine is down or disconnected, any command on the nounted nfs (such as: ls, or open file) is stuck. I want it to just fail in a ...
SHR's user avatar
  • 345
9 votes
2 answers
24k views

NGINX basic auth timeout?

I've protected a directory with satisfy and basic_auth, but seems that the validation is not stored in a cookie which after some time it's deleted, seems it's ip or something based. So i login once ...
Gabriel's user avatar
  • 446
9 votes
12 answers
30k views

ssh session idle timeout

The Solaris machine we do most of our development on has an annoying habit of timing out SSH sessions. Doesn't matter whether the client is my Ubuntu desktop, my Solaris desktop or my Windows desktop (...
Andrew's user avatar
  • 265
9 votes
3 answers
9k views

ESXcli command timeout at 30 minutes

I am working on a powercli script to loop through each datastore in our environment and reclaim space on the thin provisioned LUNs. All LUNs in the environment are Dell Equal Logic. vCenter ...
Lars's user avatar
  • 198
8 votes
1 answer
16k views

Using curl to make a HEAD request with a hard timeout

I'd like to use curl to send a HTTP HEAD request to a URL to verify that it is working correctly (server is up and sends a successful response). At the end, I need the final HTTP response code ...
jrdioko's user avatar
  • 577
8 votes
2 answers
102k views

tcptrack shows SYN_SENT connections, does that mean the SYN package reached the server?

our server suffered a serious connection timeout problem, so we track tcp connection with tcptrack we found out that, if the client started to connect to the server, tcptrack shows the connection, ...
xpu's user avatar
  • 93
8 votes
2 answers
4k views

Search and Domain in resolv.conf = slow lookups on Ubuntu

I have a machine running ubuntu 10.04 server. I've started getting long (5-10 second) delays when making connections to (some) sites outside of the LAN using tools like curl and wget. Using tcpdump ...
MikeL's user avatar
  • 183
7 votes
3 answers
114k views

Disable remote session timeout on Win Server 2012 R2

For botting purposes, I have to keep my Win Server 2012 R2 running without logging-off after I disconnect from Remote Session. Found information about it here: http://technet.microsoft.com/en-us/...
Sarchophagi's user avatar
7 votes
1 answer
25k views

pool www exited on signal 15 (SIGTERM): execution timed out

I'm running Drupal 6 with Nginx 1.5.1 and PHP-FPM (PHP 5.3.26) on a 1GB single core VPS with 3GB of swap space on SSD storage. I just switched from shared hosting to this unmanaged VPS because my site ...
rahim123's user avatar
  • 375
7 votes
2 answers
31k views

Nginx proxy timeout while uploading big files

I'm experiencing strange behaviour with Nginx. In my case Nginx acts as proxy to Jetty. Config below: server { listen 80; client_header_timeout 3m; client_body_timeout 3m; ...
tomekkup's user avatar
  • 171
7 votes
2 answers
59k views

How to prevent Windows 7 Remote Desktop time outs?

I can't seem to get some Windows 7 machines to prevent active but idle Remote Desktop connections from timing out. I've changed all of the local group policy settings on my test machine under ...
Peter's user avatar
  • 1,102
7 votes
1 answer
8k views

HAProxy, client timeouts when connecting from JDBC pool

I have a webapp (Tomcat/Hibernate/DBCP 1.4) that runs queries against MySQL, and this works fine for a certain load, say 50 queries a second. When I route the same moderate load through HAProxy (still ...
guckmal's user avatar
  • 171
7 votes
1 answer
30k views

Can't change NGINX timeout

I'm getting a 504 timeout on my Nginx server: 504 Gateway Time-out. The website allows users to download custom data files. The site works fine under most conditions and users can download some files ...
Jeff's user avatar
  • 243
7 votes
1 answer
16k views

Outbound Packets Dropping / Timeouts - Only with Azure

I have an issue with packets dropping to a third party data center in Florida, USA. The issue only occurs on Azure Virtual Machines, no matter which data center the VM is in. I've done the same tests ...
Andrew Bucklin's user avatar
7 votes
1 answer
4k views

Pacemaker/corosync timeout before resource transfers

This seems like a simple question, but one I can't seem to find the answer for despite going over the pacemaker documentation multiple times. I've got corosync set up with pacemaker to share a ...
user705142's user avatar
6 votes
2 answers
30k views

Nagios "CRITICAL - Socket timeout after 10 seconds" problems with service and host Checks

got a little bit of a problem with a Nagios system we are using in our office, which has only recently started appearing. what i would like to know really is the best solution to resolve this problem ...
Kristiaan's user avatar
  • 442
6 votes
2 answers
4k views

Timeout error in all my apps for every call to smtp servers

On my VPS (a tophost.it "TopServer" with Ubuntu 12.04 LTS), since a few days ago all my apps are became unable to send emails. All I could learn from the logs is that every request goes timeout. I ...
Darme's user avatar
  • 253
6 votes
1 answer
25k views

Apache reverse proxy timeout in 60 seconds

I have Apache Reverse proxy server which proxies request to my internal Apache server. I am using Apache version 2.4 on Linux platform. I encountered timeout page and HTTP ERROR 504 whenever back-end ...
Jayesh Labade's user avatar
5 votes
2 answers
17k views

Varnish 503 error after exactly 60 seconds... how to change this timeout value?

I'm running Varnish over Apache on a Drupal site. I have a PHP script that executes on a certain path of my site, and takes a really long time... like 60 - 120 seconds. When trying to access that page,...
Jordan Magnuson's user avatar
5 votes
3 answers
9k views

How to debug sporadic outbound connection timeouts?

I'm having trouble connecting to my remote host via SSH. I have narrowed the issue down to my local host only as other clients make nominal (fast and stable) connections every time. Attempting to ...
Chris Tonkinson's user avatar
5 votes
2 answers
26k views

mod_fcgid: read data timeout errors

I moved to an unmanaged server that uses fcgid (before I was using mod_php), and in the error logs I see tons of such errors: [Mon Apr 23 21:17:12 2012] [warn] [client 66.249.68.233] mod_fcgid: ...
giorgio79's user avatar
  • 1,887
5 votes
2 answers
14k views

MS Sql Server getting overloading with 'Suspended' queries, mostly reads. Any way to fix this?

I have a Microsoft Sql Server that handles a moderate amout of traffic for a company software suite made up of multiple clients in java and c#. It is getting overloaded with 'Suspended' queries. They ...
AAA's user avatar
  • 247
5 votes
1 answer
9k views

Debugging a timeout with ldap auth on apache

I'm trying to debug a timeout problem I have with Apache, for some months now. The pattern looks like this: On every first request of a new session (or after some time after the last request) the ...
Gerald Schneider's user avatar
5 votes
3 answers
968 views

HTTP (random?) connection timeout with Windows 7

Update: Reinstalled Windows 7 Installed Windows 8 Various Apache tweaks (AcceptFilter http none...) Installed Windows XP Some Wireshark log 1 0.000000000 HonHaiPr_0b:36:ae D-LinkIn_64:ca:28 ...
Dejan Marjanović's user avatar
5 votes
1 answer
6k views

MySQL query time-out available?

Is there a way to associate a time out to a query sent to the MySQL server? Expected behavior MySQL server would trigger a time out if the query did not complete after a time T provided by the ...
Déjà vu's user avatar
  • 5,646
5 votes
1 answer
3k views

mdadm marks hdd faulty even though it's in pristine health?

I have my custom NAS configured to spin down drives after 20 minutes of idle. Just now I checked /proc/mdstat and noticed a drive was marked as failed, however SMART shows the drive to be in very ...
Cobra_Fast's user avatar
5 votes
1 answer
6k views

Nginx as reverse proxy: how to properly configure gateway timeout?

We have configured Nginx as a reverse proxy to an Apache server farm, but I'm running into trouble with the gateway timeouts. Our Goal in human readable form is: "Deliver a request within one second, ...
user avatar

1
2 3 4 5
13