🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Oleksandr Samoylyk Sat, 30 May 2009 15:20
Possible bottleneck for history lookups
#81140
Author: Oleksandr Samoylyk
Date: Sat, 30 May 2009 15:20
59 lines
3335 bytes
Dear community,

What can be a reason for dramatically growing history lookups on my INN 
news-server?

About half a year ago it was just:
hisgrep/artcncl	00:00:38.358	 0.0%	2060	 0.000	 18.620	 276.000
hishave/artcncl	00:00:15.713	0.0%	4789	0.000	3.281	109.000
history grep	00:00:00.000	0.0%	0	0.000	0.000	0.000
history lookup	00:49:34.062	3.5%	7954254	0.006	0.374	6.451
history sync	00:00:22.315	0.0%	309	0.000	72.217	898.000
history write	01:11:54.449	5.0%	182935	3.143	23.585	83.119
hiswrite/artcncl	00:00:47.834	0.1%	2729	0.000	17.528	657.000
idle	19:45:12.081	82.6%	7432294	1.716	9.568	51.112

Now it is:
hisgrep/artcncl	00:00:08.651	 0.0%	777	 0.000	 11.134	 303.000
hishave/artcncl	00:00:06.177	0.0%	810	0.000	7.626	400.000
history grep	00:00:00.000	0.0%	0	0.000	0.000	0.000
history lookup	05:41:46.124	23.8%	10768408	0.096	1.904	364.175
history sync	00:00:00.503	0.0%	291	0.000	1.729	106.000
history write	00:44:06.074	3.1%	167786	5.527	15.771	2716.000
hiswrite/artcncl	00:00:01.301	0.0%	33	0.000	39.424	603.000
idle	16:02:49.505	67.1%	7390056	0.000	7.817	32.283

In my inn.conf I have:
hiscachesize: 2048

Positive hits	 7679714	 71.3%
Negative hits	2462846	22.9%
Cache misses	454283	4.2%
Do not exist	168046	1.6%

The number of peers: 66 (increased just a bit withing a year)

It's INN 2.4.5 (CNFS with ovdb) running on FreeBSD 7.2-RELEASE i386, 4GB 
RAM.

Memory usage:
Mem: 1264M Active, 1851M Inact, 260M Wired, 98M Cache, 112M Buf, 34M Free
Swap: 1479M Total, 224K Used, 1478M Free

# ls -l /usr/local/news/db/
total 3946032
-rw-rw-r--  1 news  news          30 May 30 08:29 .news.daily
-rw-rw-r--  1 news  news     2175716 May 30 18:08 active
-rw-rw-r--  1 news  news     2175770 May 30 06:33 active.old
-rw-r--r--  1 news  news       11698 May 27 13:55 active.times
-rw-r--r--  1 news  news  3192979751 May 30 18:08 history
-rw-r--r--  1 news  news          50 May 30 18:08 history.dir
-rw-r--r--  1 news  news   697973466 May 30 18:08 history.hash
-rw-r--r--  1 news  news   930631288 May 30 18:08 history.index
-rw-r--r--  1 news  news     1995039 May 30 16:12 newsgroups

Any suggestions will be much appreciated!

-- 
  Oleksandr Samoylyk
  OVS-RIPE
Re: Possible bottleneck for history lookups
#81149
Author: Julien ÉLIE
Date: Sun, 31 May 2009 09:02
36 lines
2756 bytes
Hi Oleksandr,

> What can be a reason for dramatically growing history lookups on my INN news-server?
>
> About half a year ago it was just:
> hisgrep/artcncl 00:00:38.358 0.0% 2060 0.000 18.620 276.000
> hishave/artcncl 00:00:15.713 0.0% 4789 0.000 3.281 109.000
> history grep 00:00:00.000 0.0% 0 0.000 0.000 0.000
> history lookup 00:49:34.062 3.5% 7954254 0.006 0.374 6.451
> history sync 00:00:22.315 0.0% 309 0.000 72.217 898.000
> history write 01:11:54.449 5.0% 182935 3.143 23.585 83.119
> hiswrite/artcncl 00:00:47.834 0.1% 2729 0.000 17.528 657.000
> idle 19:45:12.081 82.6% 7432294 1.716 9.568 51.112
>
> Now it is:
> hisgrep/artcncl 00:00:08.651 0.0% 777 0.000 11.134 303.000
> hishave/artcncl 00:00:06.177 0.0% 810 0.000 7.626 400.000
> history grep 00:00:00.000 0.0% 0 0.000 0.000 0.000
> history lookup 05:41:46.124 23.8% 10768408 0.096 1.904 364.175
> history sync 00:00:00.503 0.0% 291 0.000 1.729 106.000
> history write 00:44:06.074 3.1% 167786 5.527 15.771 2716.000
> hiswrite/artcncl 00:00:01.301 0.0% 33 0.000 39.424 603.000
> idle 16:02:49.505 67.1% 7390056 0.000 7.817 32.283

It makes me think of:
    http://groups.google.fr/group/news.software.nntp/browse_frm/thread/e1ac6df0fe8286ee

(a kernel issue, after an upgrade from 2.6.18 to 2.6.26)

But as I do not see something similar in my own logs, I'm not sure.

-- 
Julien ÉLIE

« Ambo florentes aetatibus, Arcades ambo » (Virgile, _Églogue VII_) 
Re: Possible bottleneck for history lookups
#81150
Author: Oleksandr Samoylyk
Date: Sun, 31 May 2009 09:48
44 lines
2766 bytes
Julien ÉLIE wrote:
> Hi Oleksandr,
> 
>> What can be a reason for dramatically growing history lookups on my 
>> INN news-server?
>>
>> About half a year ago it was just:
>> hisgrep/artcncl 00:00:38.358 0.0% 2060 0.000 18.620 276.000
>> hishave/artcncl 00:00:15.713 0.0% 4789 0.000 3.281 109.000
>> history grep 00:00:00.000 0.0% 0 0.000 0.000 0.000
>> history lookup 00:49:34.062 3.5% 7954254 0.006 0.374 6.451
>> history sync 00:00:22.315 0.0% 309 0.000 72.217 898.000
>> history write 01:11:54.449 5.0% 182935 3.143 23.585 83.119
>> hiswrite/artcncl 00:00:47.834 0.1% 2729 0.000 17.528 657.000
>> idle 19:45:12.081 82.6% 7432294 1.716 9.568 51.112
>>
>> Now it is:
>> hisgrep/artcncl 00:00:08.651 0.0% 777 0.000 11.134 303.000
>> hishave/artcncl 00:00:06.177 0.0% 810 0.000 7.626 400.000
>> history grep 00:00:00.000 0.0% 0 0.000 0.000 0.000
>> history lookup 05:41:46.124 23.8% 10768408 0.096 1.904 364.175
>> history sync 00:00:00.503 0.0% 291 0.000 1.729 106.000
>> history write 00:44:06.074 3.1% 167786 5.527 15.771 2716.000
>> hiswrite/artcncl 00:00:01.301 0.0% 33 0.000 39.424 603.000
>> idle 16:02:49.505 67.1% 7390056 0.000 7.817 32.283
> 
> It makes me think of:
>    
> http://groups.google.fr/group/news.software.nntp/browse_frm/thread/e1ac6df0fe8286ee 
> 
> 
> (a kernel issue, after an upgrade from 2.6.18 to 2.6.26)
> 
> But as I do not see something similar in my own logs, I'm not sure.
> 

It's FreeBSD :)

Since that I updated from 7.0-RELEASE up to 7.1-RELEASE and now up to 
7.2-RELEASE.

-- 
  Oleksandr Samoylyk
  OVS-RIPE
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