Article View: news.software.nntp
Article #11587PATCH for inn mmap on HPUX9+
From: Neal Becker
Date: Fri, 11 Oct 1996 00:00
Date: Fri, 11 Oct 1996 00:00
33 lines
1290 bytes
1290 bytes
I have been testing inn-1.5b1 on hpux9.05. I have a tiny patch for
MMAP. Using MMAP, it the server seems to be far more responsive
(sorry, no hard data).
1) In config.data choose ACT_STYLE MMAP (optionally add -DMMAP to
DBZCFLAGS).
2. *** icd.c 1996/10/10 15:20:53 1.1
--- icd.c 1996/10/10 15:25:27
***************
*** 377,383 ****
ICDwriteactive()
{
#if defined(ACT_MMAP)
! /* No-op. */
#else
--- 377,386 ----
ICDwriteactive()
{
#if defined(ACT_MMAP)
! if (msync(ICDactpointer, ICDactsize, MS_ASYNC) < 0) {
! syslog(L_FATAL, "%s msync failed %s %m", LogName, ICDactpath);
! exit(1);
! }
#else
Technical Details
Message-ID:
<u9sp7llltj.fsf@neal.ctd.comsat.com>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: <u9sp7llltj.fsf@neal.ctd.comsat.com> Subject: PATCH for inn mmap on HPUX9+ Date: Fri, 11 Oct 1996 00:00:00 +0000 From: Neal Becker <neal@ctd.comsat.com> 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: 188725469 Sender: neal@neal.ctd.comsat.com Content-type: text/plain; charset=US-ASCII Organization: COMSAT Labs Mime-version: 1.0 (generated by tm-edit 7.89) Newsgroups: news.software.nntp