Long running processes prevent other processes from responding as quickly as intended. Typically a problem in UI programming, long running processes can prevent the UI from responding to user input.
Questions tagged [long-running-processes]
289 questions
0
votes
1 answer
asp.net long running task
I've implemented this solution to running a long running task in asp.net http://haacked.com/archive/2011/10/16/the-dangers-of-implementing-recurring-background-tasks-in-asp-net.aspx
But I've been getting this error:
"A process serving application…

user204588
- 1,613
- 4
- 31
- 50
0
votes
1 answer
Long-running MySQL queries run from PHP under Apache: browser does not output result and keeps “Transferring data…”
I have Apache 2.2 PHP 5.3 MySQL 5.5 application. A form on page1.php accepts user input. Values are passed to page2.php using GET. PHP script on page2.php runs MySQL query and shows results. Depending on the user input parameters query may run from…

user1293929
- 51
- 2
- 5
0
votes
2 answers
Handling a Long Running jsp request on the server using Ajax and threads
I am trying to implement a solution for a long running process on the server where it is taking about 10 min to process a pdf generation request. The browser bored/timesout at the 5 mins. I was thinking to deal with this using a Ajax and threads. I…

John Blue
- 1
- 1
- 1
0
votes
4 answers
Keeping responsive UI
I have a winform which have several combo boxes and a gridview.
Initially I am creating the gridview with Rows and Columns and no data filled in with.
The filling data to grid is a long running task which will loop through all rows and read column…

huMpty duMpty
- 14,346
- 14
- 60
- 99
0
votes
2 answers
long running application (tail like)
I want to write an tail like app. Now this app, scans a file for changes in the background and fires events in case something changed.
I want to run my application until the user requests to exit it by pressing ctrl + c (working by default). I do…

Matthias B
- 5,523
- 3
- 45
- 47
-1
votes
2 answers
How to run an api request for 6/8 hours or more in node js?
I have to pull some large amount of data from shopify through api2cart API. I need to pull data for 2/3 years back, which takes hours to pull as we can only pull 250 items per request. With each response, it provides a key to next 250 data pull and…

Meraj Kazi
- 65
- 10
-1
votes
1 answer
How to stop a C# Process that is long and does not loop
I have a specific situation where I have a process that calls a OS command and I need to stop or kill it. Let's say for example it is a continuous process. The process executed "myapplication.exe" for example. Should I not use the background worker…

Zippy
- 455
- 1
- 11
- 25
-1
votes
1 answer
I'm trying to get multiple long run probabilities
I'm trying to get the long run probabilities that Theme Parks, Cruise, Hiking, and City Visits happen but for some reason it wont print out a probability that each will happen. Only a probability for 1. All 4 are suppose to add up to 1.
Any help?…

Zack Marshall
- 1
- 1
-1
votes
1 answer
is there a way to identify a query that has been cancelled?
I was running some big updates and while checking what else was running on that server, I saw an expensive query running, I then asked my friend who was running spid 91 if he could stop it, then he cancelled his query but there was no way I could…

Marcello Miorelli
- 3,368
- 4
- 44
- 67
-1
votes
1 answer
App shuts down on Azure but not on local pc
I have a very long running process on Azure. It happens that the execution stops at a random moment, without even leaving a log or an error message. Sometimes it runs hours straight, sometimes just a couple of minutes. This doesn't happen in my…

Lucas
- 558
- 11
- 28
-1
votes
1 answer
JDBC call causes UI to Hang
Can somebody please help to optimize the code below.
The problem statement is : i am trying to populate the struct array by looping through the List List. which is causing performance issue. is there a way to do it without the loop?
The code below…

fiddle
- 1,095
- 5
- 18
- 33
-1
votes
1 answer
Long running MVC action execution is it going to stop if the user closes the page?
I have long running data processing on one page. It takes 3 minutes - that is an operation done by the admin and it is not executed very often.
What will happen if the user closes the page? I suppose if that user have more tabs or pages opened to…

Lyubomir Velchev
- 962
- 2
- 11
- 30
-1
votes
1 answer
ios long running task in background task
In ios, it supports long running background task for certain types of apps with background modes such as App registers for location updates,App provides Voice over IP services,App plays audio,App processes Newsstand Kit downloads,App communicates…

gReEn HoRn
- 274
- 1
- 4
- 19
-1
votes
1 answer
Long Running Process
I quickly wrote this little rinky-dink vb.net console app to demonstrate something to someone. When I got to looking at it I thought there must be a better way than eating up cycles by using
While True
...
End While
but I have no idea what it is. …

Dave
- 169
- 9
-2
votes
1 answer
How to design a NodeJs worker to handle concurrent long running jobs
I'm working on a small side project and would like to grow it out, but I'm not too sure how. My question is, how should I design my NodeJs worker application to be able to execute multiple long running jobs at the same time? (i.e. should I be using…

Orange
- 5
- 3