timeout

How can I efficiently manipulate 500k records in SQL Server 2005?

I am getting a large text file of updated information from a customer that contains updates for 500,000 users. However, as I am processing this file, I often am running into SQL Server timeout errors. Here's the process I follow in my VB application that processes the data (in general): Delete all records from temporary table (to remo...

How can I timeout Client-scoped variables in Coldfusion?

I apologize if this is a "duh" question. It seems like the answer should be easily googleable, but I haven't found it yet. I am working on a large Coldfusion application that stores a large amount of session/user data in the Client scope (ie <cfset Client.UserName = "JoshuaC"> ). I did not write this application, and I don't have the lu...

How to Increase the time till a read timeout error occurs?

Hi all. I've written in PHP a script that takes a long time to execute [Image processing for thousands of pictures]. It's a meter of hours - maybe 5. After 15 minutes of processing, I get the error: ERROR The requested URL could not be retrieved The following error was encountered while trying to retrieve the URL: The URL which I c...

Flex - Increase timeout on a PHP service function call

I'm using Flash Builder 4 Beta 2. I have it connecting to a PHP service. The way I set this up was using the wizard, so I didn't actually write the code to connect to it. The service looks like this: package services.flash { import mx.rpc.AsyncToken; import com.adobe.fiber.core.model_internal; import mx.rpc.AbstractOperation; import val...

Why does my Net::Telnet program timeout?

I'm written small code to connect to remote server using Perl but observing error messages #!/usr/bin/perl -w use Net::Telnet; $telnet = new Net::Telnet ( Timeout=>60, Errmode=>'die'); $telnet->open('192.168.50.40'); $telnet->waitfor('/login:/'); $telnet->print('queen'); $telnet->waitfor('/password:/'); $telnet->print('kinG!'); ...

IE automation from a web service

I have a unique problem where I need a copy of IE to do some session management and run some JavaScript on the page. The goal is to retrieve a value representing the server side session ID written by the JavaScript into the HTML response. The code looks like this: public class RemoteFileProcessor { #region Fields (1)  private ...

DataTable Primary Key Time Out

Hi, I manage to load 2 million records in my DataTable; but I get Time out exception when I set the primary key on the DataTable. How can I set the time exception to wait till the present code is finish? Thank you, Rune DataColumn[] o_DataColumn_PrimaryKey = new DataColumn[1]; o_DataColumn_PrimaryKey[0] = vco_DataTable.Columns["MyFie...

asp.net 2.0 session timeout

I apologize in advance for this likely being asked before. I have an asp.net 2.0 web application and am trying to set the session timeout. My first attempt was to add this to the web.config. < sessionState mode="InProc" timeout="300" > Users would tell me though that after about 20 minutes of being idle and then trying to do something...

Specify connection timeout in java.nio

Using non-blocking I/O, the code for connecting to a remote address looks something like: SocketChannel channel = SelectorProvider.provider().openSocketChannel(); channel.configureBlocking(false); channel.connect(address); The connection process will then have to be finished by invoking finishConnect() on the channel when some selecto...

set timeout to http response read method in python

Hi, I'm building a download manager in python for fun, and sometimes the connection to the server is still on but the server doesn't send me data, so read method (of HTTPResponse) block me forever. This happens, for example, when I download from a server, which located outside of my country, that limit the bandwidth to other countries. ...

How to stop/override a Jquery TimeOut function?

Hi, I have a small jquery snippet that displays notification message at the top of the screen in response to user actions on a page. The notification is often displayed after Ajax actions with dynamic content inside it. For example: $("#mini-txt").html("Thank you!"); $("#mini").fadeIn("fast"); setTimeout(function() {$("#mini").animate...

Setting Curl's Timeout in PHP

I'm running a curl request on an eXist database through php. The dataset is very large, and as a result, the database consistently takes a long amount of time to return an XML response. To fix that, we set up a curl request, with what is supposed to be a long timeout. $ch = curl_init(); $headers["Content-Length"] = strlen($postString); ...

Set rails request timeout (execution expired)

Should be an easy one but google isn't helping: can't find a way to get rails to wait longer before a request expires Error is: ActionView::Template::Error (execution expired) ...

Why does my server hang when I call a page over files_get_content?

I am trying to get content from a wordpress installation on a subdomain of my server. I tried that with file_get_content and also with Zend_Http_Client. $client = new Zend_Http_Client(Zend_Registry::get('CONFIG')->static->$name->$lang); $content = $client->request()->getBody(); As long as I run in on my localhost, it works fine. As so...

WCF - (504) The server did not return a response for this request.

I have a JSONP WCF service,using back end as MySql.It is working properly when i run it locally with visual studio. Now we have hosted it in Windows Server 2003. Now there is very strange problem occurring.. When I do a request with fiddler which does not require much processing internally, it gives me result 200 OK with desired out...

Why does my Windows Form app timeout when repeatedly hitting IIS 7 externally?

hey guys, I've got a very simple Windows Form app that hits an IIS 7 site about 2000 times in the space of a few seconds (using threads). When I run that app on the server itself, using either localhost or the ip address, everything is totally fine. However, when I run the app on my dev box, using the ip address, I get an error from t...

HttpWebRequest issues

Hi, Im still having issues using HttpWebRequest. For some reason sometimes in my app the call just times out... HttpWebRequest req = null; req = (HttpWebRequest)WebRequest.CreateDefault(new Uri(aRequest)); req.PreAuthenticate = true; req.AllowAutoRedirect = true; req.KeepAlive = false; ..... resp = (HttpWebResponse)req.GetRespons...

How to handle timeout on read with Java comm API

Hi All, my app uses the Java serial comm api. From reading the docs the inputstream.read() method blocks if there is no data available. I tried setting a timeout on the serialport object but the isReceiveTimeoutEnabled() methods returns false, indicating my driver does not natively support timeouts. So what's the best way to implement...

Internet Explorer 8 timeout too quick on page POSTs

We have an asp.net site running, which has been working fine for some time, but recently I have been experiencing some issues with IE8. On posting some pages - mainly on our development server, although on staging too - we get an occasional "Internet Explore cannot display the webpage" error along with the button asking to diagnose conn...

Bash: Terminate on Timeout/File Overflow while Executing Command

I'm writing a mock-grading script in bash. It's supposed to execute a C program which will give some output (which I redirect to a file.) I'm trying to (1) make it timeout after a certain duration and also (2) terminate if the output file reaches a certain file size limit. Not sure how to go about either of these. Any help? Thanks. ...