Tag Archives: time

file_get_contents 1 minute timeout for https?

Questions: I’m having difficulty with PHP’s file_get_contents hanging for 60s when accessing certain resources over https. I’m not sure whether it’s a client or server end issue. On the client Working on the command line: $ URL=”https://example.com/some/path” $ wget “$URL” -O /dev/null -q # takes a few milliseconds $ curl “$URL” >/dev/null # takes a… Read More »

Kill the long running queries after timeout

Questions: We have application which contains the apache web server as entry point and application will run on another server. So in apache we configured the timeout as 40 secs, but in the application some query is taking more time to fetch the records which is more than 40 secs, due to that reason apache… Read More »

Apache/mod_jk module fail to connect jboss after running some time

Questions: I use Apache/mod_jk module to connect jboss. But after running some time, something goes wrong . Apache: 2.2.22 mod_jk: 1.2.37 Jboss: 5.1.0 GA(cluster environment) OS: CentOS 5.2 x86_64 JDK: 1.6.0_30-b12 Here is some part of mod_jk.log [Thu Oct 18 15:21:35.044 2012] [26272:47208100643936] [error] ajp_connect_to_endpoint::jk_ajp_common.c (1035): (node1) cping/cpong after connecting to the backend server failed… Read More »

Difference between ftp apache setDefaultimeout() , setSoTimeout() and setDataTimeout()

Questions: The following blog explains about the ftp apache commens net libaray’s different timeout viz setDefaultTimeout(),setSoTimeout(),setDataTimeout(). http://sudhirvn.blogspot.in/2007/05/ftpclient-timeout-values.html But please clarify my following doubts WRT the above mentioned timeouts? a)Does setSoTimeout() sets timeout only for ftp control connnetion and not data connection ? b)Does setDataTimeout() sets timeout only for ftp data connection and not control connection… Read More »

SugarCRM Request Timeout

Questions: I’m using SugarCRM to fetch records (more than 1000+ records) in Cases. I already set up config_override.php: $sugar_config[‘max_record_fetch_size’]= 1200; php.ini: max_execution_time = 3600; I still get the timeout error. What else do i need to change? Answers: set max execution time to 0 so that it will not through timeout error…but you need to… Read More »

PHP max_execution_time not timing out

Questions: This is not one of the regular questions if sleep is counted for timeout or stuff like that. Ok, here’s the problem: I’ve set the max_execution_time for PHP as 15 seconds and ideally this should time out when it crosses the set limit, but it doesn’t. Apache has been restarted after the change to… Read More »

ASP.NET UpdatePanel Time Out

Questions: I’m making a request from an UpdatePanel that takes more then 90 seconds. I’m getting this timeout error: Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out. Does anyone know if there is a way to increase the amount of time before the call times out? Answers: There is a property on the… Read More »