🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #19122

innfeed problems on HPUX

#19122
From: Dale Harris
Date: Thu, 10 Jul 1997 00:00
49 lines
1998 bytes

All in all, innfeed isn't doing too bad on HPUX 10.20 (once you turn off
mmap() support that is).  Course some wierdness I see is the following
in my errlog:

/opt/news/bin/startinnfeed: setrlimit(RLIMIT_DATA, RLIM_INFINITY): Invalid argument
/opt/news/bin/startinnfeed: setrlimit(RLIMIT_STACK, RLIM_INFINITY): Invalid argument
/opt/news/bin/startinnfeed: setrlimit(RLIMIT_NOFILE, RLIM_INFINITY): Invalid argument


Maybe setrlimit is broken on HPUX10.20?  (wouldn't surprise me)

In the sysconfig.h in the innfeed source, I added the following:

#if defined (hpux)
#define DO_NEED_STREAM 1
#define _INCLUDE_XOPEN_SOURCE_EXTENDED
#define _XOPEN_SOURCE_EXTENDED
#endif


So that should be including everything that would need to be defined for
setrlimit(), as far as I can tell.


Also, other wierdness I'm seeing is if I do a:

ctlinnd reload <whatever>

or 

ctlinnd flush ""


a new innfeed is exec'ed each time, and none of the old ones die.  Is
this expected behavior?  Why doesn't innfeed see some lock file and
die off if another is already running?  Or is this something else I 
can blame on HPUX?  (they are damn close to Micro$oft on my book this
past couple of weeks)


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dale Harris  <rodmur@csuchico.edu>   PGP KeyID: E26EC5FD      
Chico State home of the NCAA Div. II National Baseball Champs!
|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|

Technical Details
Message-ID: <5q4e5l$67k@sampoerna.cisnet.net>
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

Show Full Headers
Complete Article Headers
Message-ID: <5q4e5l$67k@sampoerna.cisnet.net>
Subject: innfeed problems on HPUX
Date: Thu, 10 Jul 1997 00:00:00 +0000
From: rodmur@sampoerna.cisnet.net (Dale Harris)
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: 256128372
Organization: California State University, Chico
Newsgroups: news.software.nntp