[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multiple processes started when explicit start commands are used on
Re: Multiple processes started when explicit start commands are used on dependant processes.
Sun, 29 Jan 2006 01:47:44 +0100
On 27. jan. 2006, at 20.36, P Holdaway wrote:
There appears to be a race condition when issuing monit start
processes that are dependant on each other.
Given processes b1 to b8 are dependant on process a.
If I stop all processes and then issue a separate start command
process, I see in monit.log that the process b1 is being started
as a result of the dependency on process a, and once because of an
I have attached some files to help reproduce this problem.
You have a bug in your run.sh script I think. If I use this,
echo "Starting $name"
echo $$ > "$this_dir/$name.pid"
exec sleep 123456
every process start and stop in order without any race condition...
Mobil +47 97141255