Article View: news.software.nntp
Article #30330Re: INN-2.1/Solaris 2.6 and large cycbuffs
From: Felix Kugler
Date: Fri, 07 Aug 1998 00:00
Date: Fri, 07 Aug 1998 00:00
35 lines
2295 bytes
2295 bytes
In article <6qc5da$3kn$1@alanya.m.isar.de>, lupe@alanya.m.isar.de (Lupe Christoph) wrote: >>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 ? >You don't say if you followed the instructions in lfcompile(5) when >you build INN. I have not yet tried 2.x, but I doubt it build with >largefile support by default. The INSTALL does not mention Solaris 2.6 >explicitly. Grepping through the source, I found no indication that >anybody has done this before. indeed I didn't do anything special while running configure/compiling. Following your suggestion I rtfm and added two compiler flags: GCFLAGS = -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 <whatever was here> Surprisingly it did the job, my server is up and running since 12 hours now with a 4GB cycbuff on a raw device and I see no indications of (new) problems. However, I'm afraid that this small modification might be a little bit too naive. Anyway I'd love to see a bit more help regarding largefile support both in the INSTALL notes and the cycbuff.conf man page. BTW does anybody have ideas about performance penalties associated with this largefile stuff ? 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-ya02408000R0708982342410001@news.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-mailReferences:
<kugler-ya02408000R0508981444070001@bromo.switch.ch> <6qc5da$3kn$1@alanya.m.isar.de>Show Full Headers
Complete Article Headers
Message-ID: <kugler-ya02408000R0708982342410001@news.switch.ch> Subject: Re: INN-2.1/Solaris 2.6 and large cycbuffs Date: Fri, 07 Aug 1998 00:00:00 +0000 From: kugler@switch.ch (Felix Kugler) References: <kugler-ya02408000R0508981444070001@bromo.switch.ch> <6qc5da$3kn$1@alanya.m.isar.de> 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: 378982425 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 Organization: SWITCH, Swiss Academic & Research Network Mime-Version: 1.0 Newsgroups: news.software.nntp