Thread View: news.software.nntp
4 messages
4 total messages
Started by Raul Zighelboim
Mon, 10 Feb 1997 00:00
innlog.pl patch for innd_timmer.parch innd patch anyone?
Author: Raul Zighelboim
Date: Mon, 10 Feb 1997 00:00
Date: Mon, 10 Feb 1997 00:00
17 lines
807 bytes
807 bytes
hello there! The subject tries to say everything.... I applied the 'timer paranoid' patch from oe Greco, and the time has come for me to patch the innlog.pl script as well. anyone? thanks -- -------- Raul Zighelboim mango@communique.net
Re: innlog.pl patch for innd_timmer.parch innd patch anyone?
Author: Raul Zighelboim
Date: Mon, 10 Feb 1997 00:00
Date: Mon, 10 Feb 1997 00:00
26 lines
1172 bytes
1172 bytes
Joe Greco <joegreco@earth.execpc.com> wrote in article <5dnand$lt8@earth.alpha.net>... > > > % tail -5000 -f /var/log/news/news.notice | grep "ME tim" This is the way I use it, and it is most helpfull to undestand the system, but.. what I am really looking for is a way to eliminate the 'unknown line in log' reported by innlog, and therefore, to make this usable again :-) > > Timer paranoid patch... most interesting. :-) > No ofense, I hope ;-) > ... JG -- -------- Raul Zighelboim mango@communique.net
Re: innlog.pl patch for innd_timmer.parch innd patch anyone?
Author: Joe Greco
Date: Mon, 10 Feb 1997 00:00
Date: Mon, 10 Feb 1997 00:00
26 lines
1482 bytes
1482 bytes
In news.software.nntp article <01bc16ea$073bf720$827e1bcc@rodia>, "Raul Zighelboim" <mango@communique.,net> wrote: :hello there! : :The subject tries to say everything.... I applied the 'timer paranoid' :patch from :oe Greco, and the time has come for me to patch the innlog.pl script as :well. Several people have talked about it, several seem to have done it (although I don't have any references handy). Personally, I find the output much more handy when I look at it "live", because I usually use it to evaluate current system performance (I usually don't care what happened 24 hours ago). % tail -5000 -f /var/log/news/news.notice | grep "ME tim" You can tell, in real time, what is happening to your system, if you take some time to think about the meaning behind the numbers. Timer paranoid patch... most interesting. :-) ... JG
Re: innlog.pl patch for innd_timmer.parch innd patch anyone?
Author: Gordy Thompson
Date: Wed, 12 Feb 1997 00:00
Date: Wed, 12 Feb 1997 00:00
102 lines
4186 bytes
4186 bytes
In article <01bc16ea$073bf720$827e1bcc@rodia>, "Raul Zighelboim"
<mango@communique.,net> wrote:
>
>hello there!
>
>The subject tries to say everything.... I applied the 'timer paranoid'
>patch from
>oe Greco, and the time has come for me to patch the innlog.pl script as
>well.
>
>anyone?
This was posted last October by Michael Shields
<shields@crosslink.net>:
----- cut here -----
--- innlog.pl 1996/10/03 18:40:32 1.1.1.3
+++ innlog.pl 1996/10/18 04:15:45 1.8
@@ -487,6 +495,18 @@
## Skip for now - not particularly interesting :-)
next;
}
+
+ if ($Fld[7] eq 'time') {
+ my $i;
+ $greco_times++;
+ $greco_latency += $Fld[8] - 300000;
+ for ($i = 9; $i < $#Fld; $i += 2) {
+ $Fld[$i+1] =~ /^(\d+)\((\d+)\)$/;
+ $greco_numer{$Fld[$i]} += $1;
+ $greco_denom{$Fld[$i]} += $2;
+ }
+ next;
+ }
}
##
@@ -1107,6 +1148,20 @@
$ninnd_reject, $percent_accpt, $e_hours, $e_min, $e_sec;
}
+## Greco data.
+if ($greco_times) {
+ my $item;
+ print "Greco data\n";
+ printf " Stretch: %.3f ms\n", $greco_latency / $greco_times;
+ printf " Code region Time Invoked Each\n";
+ foreach $item (sort keys %greco_numer) {
+ printf " %-16.16s %8d %8d %8.3f\n",
+ $item, $greco_numer{$item}, $greco_denom{$item},
+ $greco_numer{$item} / $greco_denom{$item};
+ }
+ print "\n";
+}
+
## Miscellaneous innd statistics.
if ($innd_bad_msgids) {
print "Bad Message-ID's offered\n";
----- cut here -----
Here, for example, is what I got in this morning's report:
Greco data
Stretch: 12341.173 ms
Code region Time Invoked Each
artcncl 102947 898 114.640
artctrl 5533868 22807 242.639
artlink 11832290 127305 92.944
artwrite 35149834 243323 144.458
hisgrep 4699 17698 0.266
hishave 12505251 830495 15.058
hissync 66976 49404 1.356
hiswrite 829695 313389 2.647
idle 990974 24577 40.321
sitesend 135237 481922 0.281
I'd love someone who's been playing with this to tell me if
these are good, bad or indifferent numbers. By Joe's definition, the
latency ("stretch") is unacceptably high, and we seem to be spending
an unhealthy amount of time doing "artctrl". But spot-checks of major
commercial ISPs tell me we're _reasonably_ current, and we're
certainly managing to process a fair amount of news:
System Connects Offered Took Tk% Refuse Reject Accpt Elapsed
gatekee 2941 514927 243097 99% 201933 69897 47% 834:10:43
^^^^^^^
(All six of my feeds come through a firewall relay, hence the single
"host". See my plea in a separate thread for help with better logging
and analysis tools [:-].)
==========================================================================
Gordon T. Thompson gordy@nytimes.com
Manager, Internet Services 212 556 1386
The New York Times fax: 212 556 1636
This letter has been modified as follows from its original
version: It has been formatted to fit your screen.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads