[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Another 4.0 problem!
From: |
Christian Hopp |
Subject: |
Re: Another 4.0 problem! |
Date: |
Fri, 19 Sep 2003 01:18:15 +0200 (CEST) |
On Thu, 18 Sep 2003, Jan-Henrik Haukeland wrote:
> Christian Hopp <address@hidden> writes:
>
> > The monit CLI interface doesn't behave correctly... in SSL and nonSSL.
> > Monit is neither starting or stopping an app. The status is done locally
> > and monit is often complaining "The monit server did not return a process,
> > device, file, directory or host record." => Socket connection is
> > successful... but unknown data has been received.
> >
> > In most case monit does receive 0 bytes from the http server. Sometimes it
> > just does local status.
>
> Aha, damnit, I just browsed through processor.c and I can see that we
> are using standard file i/o via a FILE variable. Using a buffering
> FILE is a sure reciept for disaster when non-blocking i/o is used.
>
> I have changed FILE to be unbuffered, this is a hack and may work. But
> in the long run (next release) we must change i/o to use the
> socket_read and socket_write methods.
>
> Christan can you please report if this hack work, or not?
Unfortunately it does not work. I do still just get an empty status
report!
CHopp
--
Christian Hopp email: address@hidden
Institut für Elektrische Informationstechnik fon: +49-5323-72-2113
TU Clausthal, Leibnizstr. 28, 38678 Clausthal-Zellerf. fax: +49-5323-72-3197
pgpkey: https://www.iei.tu-clausthal.de/pgp-keys/