Article View: news.software.nntp
Article #30297INN-2.1/Solaris 2.6 and large cycbuffs
From: Felix Kugler
Date: Wed, 05 Aug 1998 00:00
Date: Wed, 05 Aug 1998 00:00
61 lines
2932 bytes
2932 bytes
I have setup an INN-2.1 test server. Traditional storage and storage-api were
doing fine. However, cnfs method failed to accept cycbuffs >2GB, both using
raw devices and large files.
with raw device:
/dev/dsk/c2t2d0s2 partition map
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
2 5 00 0 8382528 8382527
6 4 00 4536 8377992 8382527
root@hekla [~] ll /cycbuff/c2t2d0s6
brw-rw-r-- 1 news news 32,262 Aug 5 14:21 /cycbuff/c2t2d0s6
cycbuff.conf: cycbuff:C2T2D0:/cycbuff/c2t2d0s6:4180000
metacycbuff:BASE:C2T2D0
storage.ctl: cnfs:*:0:0:0:BASE
news.notice:
Aug 4 13:42:45 hekla.switch.ch innd: CNFS-sm: CNFSinitdisks: mmap for
/cycbuff/c2t3d0s6 offset 0 len 0 failed: Invalid argument
Aug 4 13:42:45 hekla.switch.ch innd: SM storage method 'cnfs' failed
initialization
with large file (c2t3d0 has identical partition map as c2t2d0):
# newfs -v -m 1 -i 65536 /dev/dsk/c2t3d0s6
# mount /dev/dsk/c2t3d0s6 /cnfs/1
# dd if=/dev/zero of=/cnfs/1/buf1 bs=1k count=4120000
cycbuff.conf: cycbuff:C2T3-06:/cnfs/1/buf1:4120000
metacycbuff:ALT:C2T3-06
storage.ctl: cnfs:alt.*:1:0:0:ALT
root@hekla [/cycbuff] ll /cnfs/1/buf1
-rw-rw-r-- 1 news news 4218880000 Aug 4 14:27 buf1
news.notice:
Aug 4 14:33:45 hekla.switch.ch innd: CNFS-sm: file '/cnfs/1/buf1' does
not exist, ignoring 'C2T3-06' cycbuff
Aug 4 14:33:45 hekla.switch.ch innd: SM storage method 'cnfs' failed
initialization
Both raw device/file-based cycbuffs work well as soon as I stick to 2GB
bufsize. However, this 2GB limit appears a bit unfortunate in a time I get
15GB/day with an annual growth rate of 3..4.
I am puzzled because Solaris seems to cope well with large files, and
INN-2.1 should do so too according to the INSTALL notes.
Do I miss something obvious ?
Felix
---------------------------------------------------------------------
Felix Kugler | email: kugler@switch.ch
SWITCH (Swiss Academic & Research Network) | Phone: +41 1 268 15 30
Limmatquai 138, 8001 Zurich, Switzerland | FAX: +41 1 268 15 68
Technical Details
Message-ID:
<kugler-ya02408000R0508981444070001@bromo.switch.ch>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <kugler-ya02408000R0508981444070001@bromo.switch.ch> Subject: INN-2.1/Solaris 2.6 and large cycbuffs Date: Wed, 05 Aug 1998 00:00:00 +0000 From: kugler@switch.ch (Felix Kugler) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 378148109 Content-Transfer-Encoding: 8bit Organization: SWITCH Content-Type: text/plain; charset=ISO-8859-1 Mime-Version: 1.0 Newsgroups: news.software.nntp