[mrtg] Re: runasDaemon
Neil Calvert
ncalvert at cabletron.com
Fri Jan 21 17:40:01 MET 2000
-----Original Message-----
From: Sergei Y. Ilyin <ilin at ic.vrn.ru>
To: Neil Calvert <ncalvert at cabletron.com>
Cc: mrtglist <mrtg at list.ee.ethz.ch>
Date: Friday, January 21, 2000 4:59 AM
Subject: Re: [mrtg] Re: runasDaemon
>>
>nohup mrtg mtrg.cfg 1>E1 2>E2 &
>In file E2 you can see any errors, but...
>When mrtg runs with key RunAsDaemon, it captures memory more and more,
>until FreeBSD will be down. It's very sad.
>Has anybody got this problem?
>
>Sergei Ilyin.
>
>
Well, I don't know about that, but I did this : before I implemented
runasdaemon, I ran a quick vmstat 1 10 and captured it to a file.
Then I changed about half of my MRTG logs to run as daemon mode. After a
day, I have ran vmstat again.
>From the results, my CPU is working harder now than it did before - not
what I would have expected. (It's not working MUCH harder.. but a
little. And this is the only change I applied to the machine for the 24
hour period).
Also, I have noted the same failure others have noted to update
week/month/year graphs - after letting it run for a day, only daily
graphs are continually updated.
>From my brief findings I do think RunAsDaemon needs to be examined
thoroughly. I may be mistaken, but from where I'm sitting it's slightly
buggy, and decreases performance.
Neil
VMSTAT before RunAsDaemon :
[mrtguser at noclin mrtg-2.8.8]$ more vmstat.file
procs memory swap io system
cpu
r b w swpd free buff cache si so bi bo in cs us
sy id
5 0 0 7936 2920 19144 40024 0 0 8 12 11 8 18
7 10
3 0 0 7936 2828 19308 40012 0 0 74 0 152 338 67
33 0
3 0 0 7936 3028 19188 39880 0 0 136 0 155 419 66
34 0
5 0 0 7936 2888 19260 39900 0 0 199 0 155 283 75
25 0
4 0 0 7936 2524 19408 39900 0 0 201 0 174 663 75
25 0
3 0 0 7936 3260 19172 39720 0 0 137 500 194 188 68
32 0
3 0 0 7936 3092 19280 39700 0 0 72 0 138 652 72
28 0
3 0 0 7936 2844 19508 39792 0 0 203 500 152 258 77
23 0
5 0 0 7936 3160 19340 39644 0 0 81 0 209 345 59
41 0
3 0 0 7936 5812 19296 39400 0 0 196 0 163 138 74
26 0
Vmstat AFTER RunAsDaemon :
[mrtguser at noclin mrtg-2.8.8]$ vmstat 1 10
procs memory swap io system
cpu
r b w swpd free buff cache si so bi bo in cs us
sy id
4 0 0 7936 3744 10224 33128 0 0 11 15 16 17 0
8 10
5 0 0 7936 3088 10312 33192 0 0 73 0 142 301 68
32 0
4 0 0 7936 3012 10132 33092 0 0 104 0 139 358 76
24 0
5 0 0 7936 2460 10304 33196 0 0 122 0 149 417 81
19 0
4 0 0 7936 3864 10368 33236 0 0 55 0 145 116 76
24 0
5 0 0 7936 4672 10468 33288 0 0 69 0 156 331 84
16 0
6 0 0 7936 3300 10476 33296 0 0 16 0 144 60 75
25 0
6 0 0 7936 2420 10468 33356 0 0 115 596 225 320 78
22 0
4 0 0 7936 3268 9992 33128 0 0 9 413 192 137 71
29 0
6 0 0 7936 4216 10076 33364 0 0 244 0 159 270 65
35 0
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:mrtg-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/mrtg
More information about the mrtg
mailing list