[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dead process seen as running
From: |
Whit Blauvelt |
Subject: |
Re: dead process seen as running |
Date: |
Mon, 2 Feb 2004 13:38:27 -0500 |
User-agent: |
Mutt/1.5.4i |
As a workaround, you could code an expect sequence to make sure it's really
the process you want (if it's a process that offers a tcp connection) - or
if it's a service monit already has a test for, just use that test.
Whit
On Mon, Feb 02, 2004 at 06:15:45PM +0000, . zist wrote:
> When monit monitors a process, it relies on the pid number of the process
> (found in a pid file) to check if it's alive. If the monitored process
> dies and another (non related) process reuses the pid before monit
> rechecks all process, monit wil think that the monitored process is still
> running while is it not. Is there a way to prevent this problem (problem
> which occurs in real life for me) ? Is there a workaround ? what would be
> the best way to code this if necessary ?