Thread View: news.software.nntp
3 messages
3 total messages
Started by Evan Champion
Sat, 20 Jan 1996 00:00
New Sharedactive Patch
Author: Evan Champion
Date: Sat, 20 Jan 1996 00:00
Date: Sat, 20 Jan 1996 00:00
31 lines
1282 bytes
1282 bytes
The new sharedactive patch on ftp.math.psu.edu worked wonders on my BSD/OS system (the old release didn't work at all so I'm very pleased that the new one works so well). To Doug: At line 202 of nnrpd/group.c. You had: strncpy(groupalias, "\0"); The obvious problem is that strncpy requires 3 arguments and therefore it should be changed to: strncpy(groupalias, "\0", 1); A simpler solution, however, would be: groupalias[0] = '\0'; which saves the call to strncpy altogether and does exactly the same job. Also, could you put your email address in your bit of documentation at the top of nnrpd/group.c? That way people who want to send you their gratitude :-) can do it directly. Great work on the new patch, Doug. Evan
Re: New Sharedactive Patch
Author: John Stewart
Date: Thu, 25 Jan 1996 00:00
Date: Thu, 25 Jan 1996 00:00
34 lines
2096 bytes
2096 bytes
In <31076888.188565763@nimitz.fibr.net> bheaton@fibr.net (Brian D Heaton) writes:
> I tried the new patch on Solaris 2.4 and had no luck at all.
>Are there any extra kinks to running it on Solaris or has everyone
>else seen pretty much the same things??
I am using the patch on a system running Solaris 2.5. The following
changes were needed to get it working.
1) In group.c I had to increase the values of MAX_ACTIVE_SIZE and
MAX_GROUPS.
2) The default maximum shared segment size is too small. I added
the following line to /etc/system to increase this limit to
4Mb.
set shmsys:shminfo_shmmax=4000000
3) In group.c I defined XSEM_UNDO to be SEM_UNDO (see notes at top of
file). For this to work correctly the kernel undo structs limit has
to be increased to a higher value than the number of nnrpd processes
you ever expect to run. I bumped this limit to 300 by adding the
following line to /etc/system
set semsys:seminfo_semmnu=300
4) The kernel changes defined in /etc/system don't take effect until
the machine is rebooted.
--
John Stewart -- Computing and Communications Services, Carleton University
Internet: jstewart@ccs.carleton.ca 613-520-2600x3707
Freenet related queries: xx104@freenet.carleton.ca
let it snow, let it snow, LET IT SNOW!!!
Re: New Sharedactive Patch
Author: Brian D Heaton
Date: Thu, 25 Jan 1996 00:00
Date: Thu, 25 Jan 1996 00:00
20 lines
1060 bytes
1060 bytes
All, I tried the new patch on Solaris 2.4 and had no luck at all. Are there any extra kinks to running it on Solaris or has everyone else seen pretty much the same things?? BDH evanc@synapse.net (Evan Champion) wrote: >The new sharedactive patch on ftp.math.psu.edu worked wonders on my >BSD/OS system (the old release didn't work at all so I'm very pleased >that the new one works so well). > >To Doug: At line 202 of nnrpd/group.c. You had:
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