Questions tagged [executiontimeout]

32 questions
55
votes
6 answers

How to Fix Read timed out in Elasticsearch

I used Elasticsearch-1.1.0 to index tweets. The indexing process is okay. Then I upgraded the version. Now I use Elasticsearch-1.3.2, and I get this message randomly: Exception happened: Error raised when there was an exception while talking to…
23
votes
4 answers

ASP.Net httpruntime executionTimeout not working (and yes debug=false)

We just recently noticed that executionTimeout has stopped working on our website. It was definitely working ~last year ... hard to say when it stopped. We are currently running on: Windows-2008x64 IIS7 32bit binaries Managed Pipeline Mode =…
cbcolin
  • 371
  • 1
  • 4
  • 8
8
votes
2 answers

Difference in execution time in C and C++

I recently found this site called codechef, where you can submit solutions to problems. I had submitted two answers for a question, one in C and the other in C++. Both codes are almost the same. But when the code I submitted in C was executed in…
arry36
  • 142
  • 10
5
votes
1 answer

In PHP does max_execution_time affect shutdown functions that are run through a register_shutdown_function() call?

I have a shutdown function registered using register_shutdown_function() that takes a long time to complete. Will PHP's max_execution_time cause PHP to terminate this function or will it run until it completes or errors out?
Joe Lencioni
  • 10,231
  • 18
  • 55
  • 66
4
votes
0 answers

How to increase MiniTest timeout threshold?

I'm switching to MiniTest for a gem of mine and getting a Timeout::Error for certain examples. Due to some external deps, when I request a connection against the server, it's being returned after a few seconds, this causes that exception. Is there a…
Luca Guidi
  • 1,201
  • 10
  • 10
4
votes
1 answer

Configuring httpRuntime execution timeout for large downloads

At my place of work, we have an ASP.NET page that uses the following code to perform a file download. We use this rather than Request.TransmitFile() because the file is coming directly from a zip archive. private void DownloadStream(Stream…
Odrade
  • 7,409
  • 11
  • 42
  • 65
3
votes
1 answer

How to prevent an execution timeout error message to appear?

I've got a piece of PHP code retrieving my last tweet : $twitterrequest = 'http://api.twitter.com/1/statuses/user_timeline.json?user_id=' . $user_id . '&include_rts=true&count=' . $tweetsToDisplay; $twitterci = curl_init($twitterrequest);…
Mike
  • 217
  • 2
  • 6
3
votes
0 answers

Asp.NET CORE: How to increase timeout of request for particular Action/ Controller

I have a scenario where some particular Controller/ Action take much time to process data. We can increase the timeout period of request at Web.Config as we used to do with vanilla asp.net. This works site wise. Means it will increase timeout for…
3
votes
1 answer

How to set Execution Timeout in Hotchocolate 10.4.3

we are using Hotchocolate 10.4.3 for my .net core service. we are using code first approach. All settings are in startup.cs exactly similar to their Star War example. Hotchocolate web site says default timeout for request is 30 sec but I found my…
PRASAD MAHIT
  • 31
  • 1
  • 3
3
votes
1 answer

executionTimeout to send response

When you set the httpRuntime executionTimeout, does that cut off a response that has already been partially sent to the client? I've noticed in the IIS request queue that occasionally there are some requests that run for a lot longer than our…
user1118189
3
votes
1 answer

Maximum Amount of Time A Thread Can Run?

I have a web service that creates a thread to process some data in the background. I've seen a "System.Threading.ThreadAbortException: Thread was being aborted" message in one of my logs where the thread was killed. I am currently under the…
Achilles
  • 11,165
  • 9
  • 62
  • 113
2
votes
0 answers

How to stop infinite loop in asp.net mvc

If my code has infinite loop or Thread.Sleep(999999999), executionTimeout and AsyncTimeout value(10s) has no effect. So, how to stop infinite loop in asp.net mvc, throw timeout exception and request is finish?
彭 伟
  • 49
  • 3
2
votes
3 answers

When is used in ASP.net

I'm having some trouble setting the ExecutionTimeout element in my applications web.config. My page is making a lengthy webservice call and times out after 110 seconds. (the default I believe). I set the value to 220, and make sure the compilation…
Kye
  • 5,919
  • 10
  • 49
  • 84
1
vote
1 answer

how documentum method timeout performed?

I have documentum dm_method create dm_method object set object_name = 'xxxxxxxxxxx', set method_verb = 'xxx.yyy.Foo', set method_type = 'java', set launch_async = false, set use_method_server = true, set run_as_server = true, set timeout_min =…
qwazer
  • 7,174
  • 7
  • 44
  • 69
1
vote
0 answers

ASP.Net: Enable timeout in debug mode

In ASP.Net the debug mode extends timeout to 30,000,000 seconds despite executionTimeout. But what if I want to debug the "timeout cases"? How to enable it? Thanks.
Feofilakt
  • 1,341
  • 2
  • 13
  • 33
1
2 3