I'm not pretty much convinced that the RRD graphs going all NAN is
coused by more than one instance of updaterrd.sh running at the same
time.

Now the big question is how more than one of them can be started in
the first place.

When the problem originally occured, I had not done any hacky
start/stop stuff, and when I looked at the list of processes, there
were 2 or 3 updaterrd.sh's listed.

Regards,
-Jeppe

On Tue, Apr 29, 2008 at 11:16 PM, Jeppe Øland <[EMAIL PROTECTED]> wrote:
> I'm really starting to suspect the NaN issue is caused by more than
>  one RRD update script process running.
>  I killed all the running instances, deleted the DB files, and started
>  a single update process from the shell manually.
>  Now it's been running pretty much all day with no problems. It used to
>  fail within a few hours.
>
>  How come the PHP script spawns multiple updaterrd instances?
>
>  Regards,
>  -Jeppe
>
>
>
>  On Tue, Apr 29, 2008 at 12:54 PM, Jeppe Øland <[EMAIL PROTECTED]> wrote:
>  > Ok I cleared the logs and right now I'm running it from the console
>  >  ... since it sits in a loop, it never returns, and I expect it will
>  >  print errors to the console if any appear.
>  >
>  >  However, since it's sitting in a loop updating the RRD graphs like
>  >  this, isn't it safe to assume that there should never be more than ONE
>  >  copy of updaterrd.sh running at any one time?
>  >
>  >  Regards,
>  >  -Jeppe
>  >
>  >
>  >
>  >
>  >  On Tue, Apr 29, 2008 at 10:33 AM, Ermal Luçi <[EMAIL PROTECTED]> wrote:
>  >  > On Tue, Apr 29, 2008 at 7:13 PM, Jeppe Øland <[EMAIL PROTECTED]> wrote:
>  >  >  > If I just run it in the "Diagnostics/Command" field, it doesn't show 
> anything.
>  >  >  >
>  >  >  >  How many are supposed to be running at any one time?!?
>  >  >
>  >  >  Actually you have to run that from ssh since it runs in background!
>  >  >  Sorry i forgot to mention that !
>  >  >
>  >  >  Ermal
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >  >  $ ps -efx | grep update
>  >  >  >  34828  ??  SN     0:00.16  /bin/sh /var/db/rrd/updaterrd.sh
>  >  >  >  35228  ??  SN     0:00.00  /bin/sh /var/db/rrd/updaterrd.sh
>  >  >  >  35240  ??  SN     0:00.01  /bin/sh /var/db/rrd/updaterrd.sh
>  >  >  >
>  >  >  >  Regards,
>  >  >  >  -Jeppe
>  >  >  >
>  >  >  >
>  >  >  >
>  >  >  >  On Tue, Apr 29, 2008 at 9:23 AM, Ermal Luçi <[EMAIL PROTECTED]> 
> wrote:
>  >  >  >  > When the issue shows up can you run /var/db/rrd/updaterrd.sh 
> manually
>  >  >  >  >  and tell the output?
>  >  >  >  >
>  >  >  >  >  Ermal
>  >  >  >  >
>  >  >  >  >
>  >  >  >  >
>  >  >  >  >  On Tue, Apr 29, 2008 at 9:34 AM, Jeppe Øland <[EMAIL PROTECTED]> 
> wrote:
>  >  >  >  >  > After upgrading to 1.2 embedded, the RRD graphs keep getting 
> into a
>  >  >  >  >  >  state where they show nothing, and all the values listed 
> below the
>  >  >  >  >  >  graphs are nan.
>  >  >  >  >  >
>  >  >  >  >  >  I have tried the hack to reset the graphs (delete the RRD 
> files
>  >  >  >  >  >  manually, and run the PHP function to start it again), but 
> that only
>  >  >  >  >  >  makes it work for a little while.
>  >  >  >  >  >
>  >  >  >  >  >  Any known things that can cause this, and any workarounds?
>  >  >  >  >  >
>  >  >  >  >  >  Regards,
>  >  >  >  >  >  -Jeppe
>  >  >  >  >  >
>  >  >  >  >  >  
> ---------------------------------------------------------------------
>  >  >  >  >  >  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  >  >  >  >  >  For additional commands, e-mail: [EMAIL PROTECTED]
>  >  >  >  >  >
>  >  >  >  >  >
>  >  >  >  >
>  >  >  >  >  
> ---------------------------------------------------------------------
>  >  >  >  >  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  >  >  >  >  For additional commands, e-mail: [EMAIL PROTECTED]
>  >  >  >  >
>  >  >  >  >
>  >  >  >
>  >  >
>  >  >  ---------------------------------------------------------------------
>  >  >  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  >  >  For additional commands, e-mail: [EMAIL PROTECTED]
>  >  >
>  >  >
>  >
>

Reply via email to