why sometimes the process could not start by itself in the night?
- From: www <xsli2@xxxxxxxxx>
- Date: Wed, 15 Aug 2012 10:10:33 -0700 (PDT)
Hi:
I am wondering if anybody can point me the cause of this problem. It is a small problem, but it is pain.
In Konsole, I have several tabs. In tab one, I typed:
job 1; job 2; job 3
In tab two, I typed:
job 4; job 5; job 6
In tab three, I typed:
job 7; job 8; job 9
Each job takes three or four hours. My plan is to run one job after another during the night. I don't want to run all of them in parallel mode, which cause some system error.
I set up like this and go home. Suppose the last tab I have clicked is tab three. The unexpected PROBLEM is that: *sometimes* the next morning I come, job2 or job 6 not run YET while the jobs before them have all been finished. Now, if I click tab one, then the next job(suppose job 2)started. Or I click tab 2 and the job 6 starts. This problem happens very often, but not always. If lucky, I could get jobs 4, 5 and 6 all completed in one night.
The "job" is just a Java program. Inside the Java program, it calls system command and execute another non-java program. Put in another words, my Java program is like a robot which runs another program. I have tried not to use this way:
job 1; job 2; job 3
Instead, let my robot Java program takes the three jobs input files and let a for loop inside the Java program do it:
java -jar robot.jar input_1.txt input_2.txt input_3.txt
The problem remains. The solution in my mind right now is to let the robot circle around each tab within Konsole once in a while to "wake up" whoever is sleeping. Not sure it will solve the problem.
I double this problem relates to Konsole.
Thank you very much.
.
- Follow-Ups:
- Re: why sometimes the process could not start by itself in the night?
- From: Rui Maciel
- Re: why sometimes the process could not start by itself in the night?
- From: www
- Re: why sometimes the process could not start by itself in the night?
- From: Richard Kettlewell
- Re: why sometimes the process could not start by itself in the night?
- From: J G Miller
- Re: why sometimes the process could not start by itself in the night?
- Prev by Date: Re: Linux and no-exec heap (-z,noexecheap)
- Next by Date: Re: why sometimes the process could not start by itself in the night?
- Previous by thread: How to change the file system of a partition?
- Next by thread: Re: why sometimes the process could not start by itself in the night?
- Index(es):
Relevant Pages
|