Community discussions

MikroTik App
 
Pablete
just joined
Topic Author
Posts: 22
Joined: Wed May 23, 2007 4:11 pm

When should I restart?

Tue May 06, 2008 2:14 pm

Hi

As some other people has said in the thread http://forum.mikrotik.com/viewtopic.php?f=8&t=19536
my dude 3.0 beta7 stops monitoring or graphing.
So I have created a script wich restarts the dude service:
@echo off
net stop "The Dude Server"
net start "The Dude Server"
However I'd like to know in wich part of a minute should I start this script to impact the monitorization as less as posible.

What I thougth:
The default probe interval is at 00:01:00 and has a timeout of 00:00:30, so I think that in the first 30 seconds of each minute the Dude is getting information.
After this it may take some seconds to write and consolidate data. May it be 10 seconds?
So I thougth that it would be safer to stop the process in the second 45 of the minute.

What it seems to happen:
The CPU for the dude.exe process is almost idle from the second 1 to 20 of each minute. After this, it has a peak followed by some activity till the second 5 of the following minute.
So I seems that it would be safer to stop the process in the second 6 of the minute.
The scale of the graph below, is as follows: a line of the grid is 3 1/3 seconds, and 3 squares of the grid are 10 seconds. The arrow of the mouse points to the second 22 of the minute.
TheDudeCPU.gif
I have told you what I thought, but it looks I'm wrong. I also have told you what it seems to happen. Is there anybody who can tell us what's the truth?
You do not have the required permissions to view the files attached to this post.
 
winkelman
Member Candidate
Member Candidate
Posts: 231
Joined: Wed Aug 16, 2006 5:00 pm
Location: Amsterdam, The Netherlands

Re: When should I restart?

Mon Jun 02, 2008 7:59 pm

It's impossible to find an exact instant of time to to the restart, because the Dude does not probe everything at once.

The service restart just takes a couple of seconds and I've never seen anything happen because of my daily (at night) service restart.
 
Pablete
just joined
Topic Author
Posts: 22
Joined: Wed May 23, 2007 4:11 pm

Re: When should I restart?

Tue Jun 03, 2008 12:08 pm

The service restart just takes a couple of seconds and I've never seen anything happen because of my daily (at night) service restart.
I have.
I have upgraded to release 3.0 beta 8, and now I'm testing if it stops polling, so I'm not restarting the service.
When I was in 3.0 beta 7 I found that the graphs of response time or traffic had deep notches at the time when I restarted Dude.
When I performed the reboot of my PC I found that sometimes, the graphs of the previous hours were lost (usually about two days of graphs).
It's impossible to find an exact instant of time to to the restart, because the Dude does not probe everything at once.
Now I'm trying to stop at the second 5 of any minute, this monday I got no lost information.

Regards
 
winkelman
Member Candidate
Member Candidate
Posts: 231
Joined: Wed Aug 16, 2006 5:00 pm
Location: Amsterdam, The Netherlands

Re: When should I restart?

Tue Jun 03, 2008 12:52 pm

When I was in 3.0 beta 7 I found that the graphs of response time or traffic had deep notches at the time when I restarted Dude.
Hm, maybe it's because of the 3.0 beta version. I'm running 2.2 and restart the service every night. No dips to be seen in any graph. (I'm monitoring a few hundred devices, so it's not a small map.)

Good that you found a sweet spot :)

Who is online

Users browsing this forum: No registered users and 12 guests