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
0 answers
Avoiding missed events from services during configuration/orientation changes
I'm trying to figure out proper/recommended approaches avoiding missed events from a long-running service during a configuration change. For example, I need to avoid a situation where an Activity misses a task completion event when the device is…

Andrew Gunnerson
- 638
- 1
- 8
- 17
1
vote
2 answers
Programming a long-running time-based process
I was wondering what the best way to write an application would be. Basically, I have a sports simulation project that is multi-threaded and can execute different game simulations concurrently.
I store my matches in a SQLite database that have a…

sohum
- 3,207
- 2
- 39
- 63
1
vote
1 answer
How to implement tracing for long-running imports in Laravel
This is more an architectural question.
I'm about to code a bunch of Import implementations. They all expect some parameters (i.e. an CSV file) and then will take up quiet some time to proceed. In my previous project, I used to send those Imports in…

patriziotomato
- 591
- 1
- 11
- 25
1
vote
1 answer
Persistent Long Running Tasks in Celery
I'm working on a Python based system, to enqueue long running tasks to workers.
The tasks originate from an outside service that generate a "token", but once they're created based on that token, they should run continuously, and stopped only when…

yulkes
- 210
- 3
- 11
1
vote
0 answers
WordPress index.php causing excessive processes
Good evening, I am running a Wordpress blog on a shared hosting server. Recently the following lines have been appearing in my system logs and I am getting warnings from my host.
The excessive processes seem to be run on a hourly rotation, and I…

rosey85uk
- 95
- 2
- 12
1
vote
1 answer
Cancel long running IFRAMEs
I have an ASP.NET WebForm application - a main page that hosts a bunch of IFRAME "widgets". When main page loads - the widgets' pages load as well and begin their own processing, which include connecting to SQL Server to run stored procedures.
What…

Yuriy Galanter
- 38,833
- 15
- 69
- 136
1
vote
4 answers
BackgroundWorker acting bizarrely
I'm working on some code that calls a service. This service call could fail and if it does I want the system to try again until it works or too much time has passed.
I am wondering where I am going wrong as the following code doesn't seem to be…

vdh_ant
- 12,720
- 13
- 66
- 86
1
vote
1 answer
Fatal error: This socket is closed. ('grunt-contrib-imagemin')
this is a gruntfile.json
'use strict';
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
imagemin: {
options: {
optimizationLevel: 3,
flatten: true ,
…
user3972776
1
vote
3 answers
Long-running stats process - thoughts on language choice?
I am on a LAMP stack for a website I am managing. There is a need to roll up usage statistics (a variety of things related to our desktop product).
I initially tackled the problem with PHP (being that I had a bunch of classes to work with the data…

Josh
- 12,602
- 2
- 41
- 47
1
vote
1 answer
How can I prevent Sidekiq processing new jobs based on code version?
We are deploying versions of a sidekiq worker to Cloud Foundry as part of a continuous delivery pipeline. We need to stop workers processing new jobs if they are no longer the latest version. So:
Worker v1 is running and performing a 30 min job.
We…

Benedict Dodd
- 255
- 3
- 9
1
vote
3 answers
Memory and Running Time issues while copying from Excel to SQL using Talend
I have a simple task of copying Excel data to SQL tables.
I am executing one stored procedure initially to delete tables entries. Then I have Excel input from which I am copying data to the SQL tables using tMap.
I have 20 tables to copy data to. I…

Quick-gun Morgan
- 338
- 12
- 31
1
vote
3 answers
Progress Updates on Long Process with Javascript
I have an asp.net page that calls a dll that will start a long process that updates product information. As the process is running, I want to provide the user with constant updates on which product that process is on and the status of the products.…

user204588
- 1,613
- 4
- 31
- 50
1
vote
1 answer
How to keep Supervisord running unconditionally?
In the Supervisord conf files you can specify to autorestart a certain program with:
autorestart=true
But is there an equivalent for [Supervisord] itself?
What is the recommended method of making sure Supervisord continues running unconditionally,…

chinnychinchin
- 5,564
- 2
- 21
- 18
1
vote
2 answers
iOS Background fetch mode
What about the iOS "background fetch" mode? Apple documentation seems to be quite generic here:
"...At appropriate times, the system gives background execution time to the apps..."
"...Only apps that provide important services to the user are…

valtMorris
- 13
- 5
1
vote
1 answer
How to analyze and diagnose javascript long run times
I have a fairly extensive javascript that I can load in my Chrome (latest stable) and in IE11.
The load icon spins but the script eventually loads on my machine in both browsers.
I have 2 other people trying to load the page that contains the…

H. Ferrence
- 7,906
- 31
- 98
- 161