🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Raul Zighelboim Fri, 13 Dec 1996 00:00
inn 1.5 and freebsd 2.1.6R and MMAP and evil eye.
#13262
Author: Raul Zighelboim
Date: Fri, 13 Dec 1996 00:00
32 lines
1342 bytes

Hello there....

I have been running innd1.5b1, 1.5b2 and 1.5 on a FreeBSD box, with the
active file MMAP-ed
for over a month without any problem.

Then someone mentioned to me that the active file 'may get corrupted' under
FreeBSD.

Sure ebough, 2 hours later, the active was corrupted, with all the symptoms
of an MMAPed inn
under freebsd 2.1.x.  :-(

I removed MMAPING of the active file, and my articles intake dropped from 4
~ 5 a second to 
1 ~ 2 er second!

Is there any fix for MMAP that would allowed me to run it under freebsd ?

Just for reference:

kiyoko:/var/log/news# ls -l ~news/history
-rw-rw-r--  1 news  news  239754504 Dec 13 09:27 /var/news/etc/history
kiyoko:/var/log/news# ls -l ~news/active
-rw-rw-r--  1 news  news  833231 Dec 13 09:29 /var/news/etc/active

Thanks.


Re: inn 1.5 and freebsd 2.1.6R and MMAP and evil eye.
#13304
Author: James Risner
Date: Sun, 15 Dec 1996 00:00
54 lines
2548 bytes
Raul Zighelboim (mango@communique.,net) wrote:

: I removed MMAPING of the active file, and my articles intake dropped from 4
: ~ 5 a second to
: 1 ~ 2 er second!

: Is there any fix for MMAP that would allowed me to run it under freebsd ?

: Just for reference:

: kiyoko:/var/log/news# ls -l ~news/history
: -rw-rw-r--  1 news  news  239754504 Dec 13 09:27 /var/news/etc/history
: kiyoko:/var/log/news# ls -l ~news/active
: -rw-rw-r--  1 news  news  833231 Dec 13 09:29 /var/news/etc/active


I don't run with MMAP on.
How much memory you have in the machine?

I have 96 meg, pentium 120 (too much CPU, I know), and:

Filesystem              1K-blocks     Used    Avail Capacity  Mounted on
/dev/sd0a                  511759   162175   308644    34%    /
/dev/sd2a                  384591   109458   244366    31%    /var
/dev/sd1a                  998879   397661   521308    43%    /disk1
procfs                          4        4        0   100%    /proc
/dev/ccd0c                6010154  2800196  2729146    51%    /news

/news is three 2.1 gig Micropolis ccd's into one stripped over 65536 sectors.
newslib (history) on /disk1
out.going and logs on /var

-rw-rw-r--  1 news  news  139299894 Dec 14 22:54 history
-rw-rw-r--  1 news  news         87 Dec 14 22:54 history.dir
-rw-rw-r--  1 news  news   12345580 Dec 14 22:54 history.pag

I get 2.620 articles per second.
(I count actual TAKES; meaning I process and ignore another 1.838 arts/second)

Total processed = 4.458 articles per second with MMAP turned off.

Inside the kernel (given enough memory) a read() or write() will be translated
to a memory read/write if the data is in the disk buffer cache.

above taken from: #awk '$4 == "+" {print $6}' /var/log/news/news|sort|uniq|wc#
doing a check on seconds from fist line to last = 2.620

and: #awk '$4 != "+" {print $6}' /var/log/news/news|sort|uniq|wc#
doing a check on seconds from fist line to last = 1.838

Risner

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