Thread View: news.software.nntp
2 messages
2 total messages
Started by Dale Harris
Thu, 10 Jul 1997 00:00
innfeed problems on HPUX
Author: Dale Harris
Date: Thu, 10 Jul 1997 00:00
Date: Thu, 10 Jul 1997 00:00
49 lines
1998 bytes
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! |+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|
Re: innfeed problems on HPUX
Author: Jeremy Fischer
Date: Mon, 14 Jul 1997 00:00
Date: Mon, 14 Jul 1997 00:00
83 lines
2774 bytes
2774 bytes
Dale Harris <rodmur@sampoerna.cisnet.net> said: > >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: > >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 I added the following (although it's HPUX10.10) /* ** HPUX 10.10 w/ cc */ #if defined (_HPUX_SOURCE) #define DONT_HAVE_SETBUFFER 1 #define DONT_USE_UNION_WAIT 1 #define MAX_WRITEV_VEC 16 #endif And... /* Added in hopes of fixing "signal failed" core dump */ #if ! defined (USE_SIGSET) && ! defined(USE_SIGVEC) #define USE_SIGACTION 1 #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) This was fixed for me by changing CLX_STYLE in the config.data of inn and recompiling. ## How should close-on-exec be done? Pick IOCTL or FCNTL. #### =()<CLX_STYLE @<CLX_STYLE>@>()= #### CLX_STYLE IOCTL CLX_STYLE FCNTL Now, now, at least you can get source code to your apps on unix. :) Plus, HP hardware support, when I've needed help with a very upset pair of 735's, was outstanding. MS is a whole different kind of evil. :) Good luck, Jeremy > > >-- >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Dale Harris <rodmur@csuchico.edu> PGP KeyID: E26EC5FD >Chico State home of the NCAA Div. II National Baseball Champs! >|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+| -- Jeremy Fischer, UCS Messaging Team, Indiana University - Bloomington
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