Earlier today I noticed some calls to php fwrite failing as the destination socket was in a mixed state. There were numerous connections stuck in SYN_SENT and were seemingly not coming back as failures.
What is the best way to detect this and simply time out the connection if x bits haven't bit transmitted over the wire?
...
Hi.
I am currently writing a little application for my University radio station in PHP. It basically grabs the listener count from the status page (http://www.address.com:8000/status.xsl) and puts it in a database every minute.
Now the script seems to work fine when it's run off of my home machine. I have no issues retriving the inform...
Hello everyone,
I have a scenario where I would like to display a message to the users of my application alerting them that his session will expire soon and that he should save his work to avoid the loss of his work.
This would be a typical scenario where a user is typing information on a textbox and then leaves his computer unattende...
how does sql-server handle infinite loops? Does it detect it or kill the server.
EG:
WHILE (@number = 3)
BEGIN
print @number
END
...
Hello all,
Is there any reason for a PHP script to return a fatal error of:
Fatal error: Maximum execution time of 60 seconds exceeded in
H:\xampplite\htdocs\mlm\tera.php on line 1
When my PHP ini is set to "300000" and further more I set set_time_limit(300000); in the script itself. Safemode is off. In addition, Apache's timeout ha...
My original question from a while ago is MSMQ Slow Queue Reading, however I have advanced from that and now think I know the problem a bit more clearer.
My code (well actually part of an open source library I am using) looks like this:
queue.Receive(TimeSpan.FromSeconds(10), MessageQueueTransactionType.Automatic);
Which is using the ...
How can I figure out when my current session will run out?
Is the session timeout updated on every request?
...
I want to test if the connection string is correct, so I created a new SqlConnection, called its Open() method. But I have to wait a long time before it returns when the server/data_source part of connection string is wrong.
I tried adding connection timeout to the connection string, it didn't work;
I tried open the connection in anothe...
I'm building a Distributed System using Java RMI and it must support a server loss.
If my client is connected to a Server using RMI, if this server goes down (cable problems for example), my client should get an exception so it can connect to other server.
But when the server goes down, nothing happens to my client, he keeps waiting fo...
Symptom: ClickOnce installation starts and stops after around 600 kB (out of 2 MB).
Progress bar always stops at the same value (tried ten times).
Error log says that The operation has timed out (in inner exception) and fails with "DeploymentDownloadException (Unknown subtype)".
Error log details (irrelevant information trimmed):
ERR...
For the project I'm working on, we have a desktop program that contacts an online server for a store. Because it's used in schools, getting the proxy setup right is tricky. What we've gone for is to allow users to specify proxy details to use if they want, otherwise it uses the ones from IE. We've also tried to bypass incorrect details b...
I'm using WCF in communciation between a server and client (both written in C#).
In release-mode, the timouts should be set to ~20 seconds, but in debug mode I want to set them to a higher value so that I can debug/step in my code without the timeout occuring.
I know that I can change the timeouts by modifying the app.config file. How...
Hi stackoverflowers,
I'm currently working on a project with the php framework symfony.
I've configured secured pages, defined 30 minutes for the session timeout and set the page where the user should be redirect if an unauthenticated user tries to access a secured page.
I've remarked that he is also redirected there if he tries to acce...
I am using curl to call a web service API. The service can unresponsive so I want to set a timeout. When I use CURLOPT_TIMEOUT things work as expected. But when I use CURLOPT_TIMEOUT_MS (note the 'MS' for milliseconds) the timeout doesn't appear to kick in at all. php.net tells me that the latter was available since PHP version 5.2.3, an...
I'm trying to write a simple load-balancer. It works ok till one of servers (BalanceServer) doesn't close connection then...
Client (ReverseProxy) disconnects but the connection in with BalanceServer stays open.
I tried to add callback (#3) to ReverseProxy.connectionLost to close the connection with one of the servers as I do with closin...
Hello all,
I am testing WebLogic 10.3.1 JMS, but there has a problem.
My Testing step:
Start WebLogic Server
Start JMS Client
Client send a object to WebLogic JMS and server received the object.
Stop WebLogic Server
Send another object to WebLogic JMS.
What I expect is a exception come out, but there have not anything appear and pr...
The API for Salesforce is a web service, you set it up by downloading a WSDL file from Salesforce and adding the WSDL to your .NET project.
But I can't find anywhere to set the Timeout value.
Normally in a .NET Web Service there is a Timeout property for this (as described in this question), but I can't seem to find one in this case.
...
How can I diagnose timeout problems and slow page loading with my site, I have ySlow plugin in firefox and it shows that grade A/B for most pages so i would expect pages to load quickly. Should I contact my hosting company? The company I bought my domain name from? There is not much load on the server at present and I am using a v. fast ...
I am loading a UIWebview and requesting a URL that can take some time to finish loading. The request starts and begins to receive data. However, it doesn't appear that the request finishes. The webViewDidFinishLoad never triggers nor does the webView didFailLoadWithError: callback.
Does a timeout of a NSURLRequest only occur if ther...
Hi,
I have got a JSP page which loads images dynamically. Now, I also have some "input" elements on this page such as a checkbox and select menus which are being created using a javascript module (creating a different styling for the input elements).
My issue is, one of the images the page is trying to load does not exist on the extern...