From owner-freebsd-hackers Thu Feb 15 11:35:23 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA17196 for hackers-outgoing; Thu, 15 Feb 1996 11:35:23 -0800 (PST) Received: from digital.netvoyage.net (root@digital.netvoyage.net [205.162.154.10]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA17173 for ; Thu, 15 Feb 1996 11:35:15 -0800 (PST) Received: (from bogawa@localhost) by digital.netvoyage.net (8.6.11/8.6.9) id LAA10852; Thu, 15 Feb 1996 11:35:05 -0800 Date: Thu, 15 Feb 1996 11:35:05 -0800 (PST) From: Bryan Ogawa at Work To: Brian Tao cc: FREEBSD-HACKERS-L Subject: Re: sharedactive patch for inn1.4-unoff3 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org Precedence: bulk On Thu, 15 Feb 1996, Brian Tao wrote: > Has anyone been able to use in.nnrpd patched with sharedactive on > a FreeBSD 2.1.0-R system? I applied the patch, remade the in.nnrpd > binary and tried readin news. No go. It either segfaults on connect, > or it makes the connection but then hangs (I can see the in.nnrpd > process on the server, but it isn't chewing up any CPU time). Yeah... I have it running (although the memory profiles are a little strange -- anyone else running it who'll post a ps -aux?) The big thing is that this requires a kernel recompile--you need to turn on SYSV IPC . I ended up with the following in my kernel config: options SYSVSHM options "SHMMAXPGS=512" # 2048Kb (?) of sharable memory options SYSVSEM # enable for semaphores options SYSVMSG # enable for messaging I'm not sure that it really comes out to 2Meg of shareable memory, but you need at least SHMMAXPGS=128 to run the patch as it comes (out of the box). However, that expects your active file to only be 500000 bytes (mine's larger). I set mine to 700000 and 15000 groups and had to recompile the kernel to get it to not error. However, it won't core if you just have the SHMMAXPGS set too small--you'll just get some error when trying to connect to the server. > -- > Brian Tao (BT300, taob@io.org) > Systems Administrator, Internex Online Inc. > "Though this be madness, yet there is method in't" > > Bryan K. Ogawa Questions or Problems with NetVoyage? help@netvoyage.net Check out the NetVoyage HelpWeb at..