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
1
vote
1 answer
PHP long running scripts in sequence
I have the following problem : in a php script, I have to launch a first script, then a second one. The second one must not start before the first one has finished.
Problem : the two scripts are long-running (can take up to some hours). So, if I use…

MarvinLeRouge
- 444
- 5
- 15
1
vote
1 answer
Informing the user that the file is being generated in a download servlet
I have a download servlet which generates a ZIP with some files, one of them pretty big, and then sends the generated file in the response for download.
The problem is that the generating process is pretty big, and between the step of the generation…
1
vote
4 answers
.Net long-running scheduled code execution
I am working on a couple of projects now where I really wish there was some sort of component that I could specify a time and date, and then execute some sort of method.
DateTime date = new DateTime(x,x,x,x,x,x);
ScheduledMethod sMethod = new…

Morgan Herlocker
- 1,498
- 4
- 24
- 42
1
vote
1 answer
How can I calculate the remaining time of a long-running task if I know the start time and progress using Javascript in the browser?
Assuming the following:
There is a long-running server-side task which processes many records
The progress of the task is linear -- meaning that each record takes the same amount of time to process.
We have just used an AJAX request to find out…

Eric Seastrand
- 2,473
- 1
- 29
- 36
1
vote
0 answers
await on long service call behaves differently in Microsoft Bot Framework
I have two dialogs called from root dialog based on the prompt response.
Both dialogs internally prepare request and call a service class. Weird thing is one dialog resumes with response from service but the other though receives response from…

phani
- 161
- 9
1
vote
1 answer
SQL Server CPU utilization vs Long running queries
Correct me if Im wrong,
According to SQL server if a query took more CPU time then it consider as a High cpu consuming query.
My Question - Is all Long running queries are high CPU consuming queries?
Or give me a shot description to identify the…

TheDataGuy
- 2,712
- 6
- 37
- 89
1
vote
0 answers
Unloading Large Sql Anywhere Table
An old box has brought back live running Sql Anywhere 9.
I need to retrieve data from there to migrate to SQL Server and then I can kill the old box again
I ran an unload on 533 tables which all run ok. I have 1 table that does not unload.
I run…

edelwater
- 2,650
- 8
- 39
- 67
1
vote
1 answer
Gruntfile fails with Warning: Task "default" not found
this is my gruntfile.
i run $ grunt default
actuall i want to up my index.html on some port and want it to open in chrom directly
module.exports = function(grunt) {
grunt.initConfig({
connect: {
server: {
options: {
port:…

mohit bansal
- 11
- 1
- 3
1
vote
3 answers
One long running process per user in an ASP.NET Core Application
I have an async function which will go and do some long running and CPU intensive task. As it is async it doesn't hold up the UI.
Under normal conditions I have no problem with the way it runs. The process is triggered on a button click, but it…

ravetroll
- 520
- 5
- 13
1
vote
0 answers
In MySQL, how a kill a long running query by Slave Thread?
In MySQL, we can kill a running query by simple "kill" command with process id of the command:
For example:
kill 29871 ;
But how to kill a long running query running by slave thread having the user system_user ?
I have its process id from show…

Aman Aggarwal
- 17,619
- 9
- 53
- 81
1
vote
1 answer
Best & Cost effective way to run long running process
I have SharePoint list. I have written a windows service, which runs every 5 minutes and read new/modified list items from SharePoint and insert into SQL database.
Which one of the below service will be best and cost effective way to run long…

kannan Eswar
- 427
- 2
- 4
- 14
1
vote
1 answer
Get all Process ID (PID) in Android OS 7
Before OS 7 i was getting all process ID from this line
File[] files = new File("/proc").listFiles();
but in OS 7 its not working. I read many things about this but can't find the way to getting all this process ID
please help
Thanks in Advance.

Bhanu Sharma
- 5,135
- 2
- 24
- 49
1
vote
3 answers
How can I execute a long running process in VBA without making pc crawl?
I have a VBA application that creates an instance of a COM object and then continuously polls the objects DataReady property to see if there is new data. When new data is available it sticks the data into a spread sheet. The problem is this macro…

PICyourBrain
- 9,976
- 26
- 91
- 136
1
vote
1 answer
PHP script doing large amount of DNS queries - best way for handling it
I have a job that runs once in a week and retrieves a bunch of 700 hostnames. I need to translate those into IP adresses. My first experiment was calling the php native function "dns_get_record", storing the results into DB.
Due to the amount of…

gugabguerra
- 635
- 1
- 5
- 8
1
vote
3 answers
Long process blocks waiting icon render in ExtJS
The feature I'm implementing is not a really required, so I won't include an extra library of threads just for that. But if someone knows a workaround I will appreciate it.
So I have a grid of 256 rows and 3 columns; one those columns is a…

Mariano Desanze
- 7,847
- 7
- 46
- 67