Questions tagged [timeout]

The timeout term refers to a predefined period of time allowed to elapse before an event is to occur. Timeout may also refer to an event that takes place after a specified period of time elapses.

A timeout refers to both the process of defining, setting and controlling a predefined interval of time specifically related to executing a process when it has elapsed, as well as the process to execute itself.

A timeout may be cancelled, reset or reconfigured at any time, or allowed to run its course. Timeouts typically run once, although may be reused if the required functionality is required more than once.

In computing a timeout may be used to execute a predefined block of code after a specified amount of time, typically to throttle or control event flow or scope digest.

9712 questions
4
votes
1 answer

Diagnose intermittent connection timeout?

I have a java client that invokes a thread to hit a servlet and retrieves last few lines from logs at the server, and show the retrieved log lines on the client. Every once in a while, the log thread times out. Application server is Tomcat, but the…
Abhijeet Kashnia
  • 12,290
  • 8
  • 38
  • 50
4
votes
2 answers

youtube gdata timeout

I have a Problem with the GDATA API for Youtube. Without making changes at my php Settings or the code I can not Access YouTube any more via PHP API. Creating a new Zend_Gdata_YouTube Object and Loading Video data results in a…
4
votes
1 answer

HAProxy: drops connections from DBCP, why?

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 just using a single database), I get a failure,…
James McCabe
  • 1,879
  • 2
  • 15
  • 22
4
votes
1 answer

BIDS SSRS Report query timeout issue while using Stored Procedure with timeout settings set appropriately

I've ran into a Timeout issue while executing a stored procedure for a SSRS Report I've created in Business Intelligence Development studio (BIDS). My stored procedure is pretty large and on average takes nearly 4 minutes to execute in SQL Server…
4
votes
3 answers

Socket not closing when timeout set

I am new to socket programming, and have a piece of code which opens a socket and writes into it. I set the timeout for the socket as one minute, and want to close the socket and exit after I reach a certain condition. My code is not closing the…
PermGenError
  • 45,977
  • 8
  • 87
  • 106
4
votes
2 answers

HttpWebRequest - The operation has timed out

I'm trying to invoke a web page, by using HttpWebRequest, however I'm getting "the operation has timed out error". string sURL = "http://localhost:53667/MyPage.aspx"; WebRequest wrGETURL = WebRequest.Create(sURL); wrGETURL.Timeout =…
Rivka
  • 2,172
  • 10
  • 45
  • 74
4
votes
2 answers

Heroku, H12 and passthrough upload timeouts

Overview: I have a photobooth that takes pictures and sends them to my web application. Then my web application store users data and sends the picture to user facebook profile/fanpage. My web app runs Ruby on Rails @ Heroku Cedar stack. Flow: My…
Rafael Oliveira
  • 2,823
  • 4
  • 33
  • 50
4
votes
1 answer

SwiftMailer Batch email times my Server out

I realise that batchEmail is no longer part of the new SwiftMailer. So I made this script:
TheBlackBenzKid
  • 26,324
  • 41
  • 139
  • 209
4
votes
3 answers

WCF and inactivity timeout: is it possible to disable the inactivity timeout?

I have a service that would be running forever, without matter if there is clients or not that access to this service, but after a long time without clients activity, to be able to connect with a client. This is because for example, after a vacation…
Álvaro García
  • 18,114
  • 30
  • 102
  • 193
4
votes
1 answer

Fiddler behavior during timeout

I'm using Fiddler to track down a timeout issue between the browser app and server. What I want to find out is whether the server is sending a response that is ignored by the browser or whether the server never sends a response back at all. In…
ScottyB
  • 2,167
  • 1
  • 30
  • 46
4
votes
3 answers

Open source file upload with no timeout on IIS6 with ASP, ASP.NET 2.0 or PHP5

I'm after a cross-platform cross-browser way of uploading files such that there is no timeout. Uploads aren't necessarily huge -- some just take a long time to upload because of the uploader's slow connection -- but the server times out anyway. I…
Christopher Done
  • 5,886
  • 4
  • 35
  • 38
4
votes
1 answer

PHP session timeout is 0, but session still expiring

I am running Apache 2.2 with the latest build of PHP and mysql. In my PHP.ini file, I can see the session timeout is set to 0, meaning the session stays live until the browser closes. I have noticed however, that sometimes when coming in in the…
Eds
  • 533
  • 4
  • 16
  • 35
4
votes
2 answers

How to terminate ruby function execution if it takes too long time to work?

I have some ruby code like this: result1 = function_1(params) result2 = function_2(params) result3 = function_3(params) But sometimes some of them can take too much time to work (this functions are depends on internet connection speed). I need to…
Alve
  • 1,315
  • 2
  • 17
  • 16
4
votes
2 answers

Implementing timeouts in MS-DOS/FreeDOS applications

I'm writing an DOS Protected Mode application for FreeDOS in C. The Compiler is Open Watcom 1.8. I need to write a timeout routine, that initiates a timeout variable and then when timeout variable becomes zero the application will know that a…
jacks
  • 294
  • 3
  • 15
4
votes
1 answer

ANR keyDispatchingTimedOut but no own classes in stacktrace

I receive bug reports for my Android-App regarding an ANR keyDispatchingTimedOut. Amazingly the stack traces within this report do not contain any of my own classes. I also checked my onPause() and onResume() methods, they should not need a very…
Elmi
  • 5,899
  • 15
  • 72
  • 143
1 2 3
99
100