Thread View: news.software.nntp
5 messages
5 total messages
Started by Joseph T. Klein
Mon, 03 Jun 1996 00:00
Help wiht OS tweeks for FreeBSD with inn1.4unoff4
Author: Joseph T. Klein
Date: Mon, 03 Jun 1996 00:00
Date: Mon, 03 Jun 1996 00:00
13 lines
1014 bytes
1014 bytes
I am getting memory allocation errors with inn1.4unoff4 on FreeBSD 2.1.0-RELEASE. Can anyone suggest solutions to the memory allocation problem and how to optimize the kernel for my news server? -- /*Joseph T. Klein * "Nothing can bring you peace but yourself." * NAP.NET, LLC * * phone +1 414 747-8747 * -- Ralph Waldo Emerson * http://www.nap.net */
Re: Help wiht OS tweeks for FreeBSD with inn1.4unoff4
Author: Ollivier Robert
Date: Tue, 04 Jun 1996 00:00
Date: Tue, 04 Jun 1996 00:00
13 lines
1089 bytes
1089 bytes
In article <31B303C6.41C67EA6@inap.net>, Joseph T. Klein <jtk@inap.net> wrote: > I am getting memory allocation errors with inn1.4unoff4 on > FreeBSD 2.1.0-RELEASE. More details please... Which malloc(3) ? The one in libc or gnumalloc ? How much memory do you have ? What messages ? -- Ollivier ROBERT -=-=- FreeBSD 2.x FAQ maintainer -=-=- roberto@freebsd.org -=-=-=-=-=- Support The Free UNIX Systems ! FreeBSD Linux NetBSD -=-=-=-=-=-
Re: Help wiht OS tweeks for FreeBSD with inn1.4unoff4
Author: Joe Greco
Date: Tue, 04 Jun 1996 00:00
Date: Tue, 04 Jun 1996 00:00
38 lines
1799 bytes
1799 bytes
In news.software.nntp article <31B303C6.41C67EA6@inap.net>, "Joseph T. Klein" <jtk@inap.net> wrote: :I am getting memory allocation errors with inn1.4unoff4 on :FreeBSD 2.1.0-RELEASE. "unlimit" :Can anyone suggest solutions to the memory allocation problem and :how to optimize the kernel for my news server? Did you do a resource unlimit before running rc.news and cron? Did you bump your maxusers? Do you have enough physical RAM? Did you tweak CHILD_MAX and OPEN_MAX? Did you raise DK_NDRIVE so you can monitor performance of all your drives? Is the disk I/O load evenly distributed? How do your kernel memory statistics look during normal operation? Did you enable the sharedactive patch and enable SYSV shared memory? There are literally hundreds of nifty things you can to to "optimize" for news. What you do to the kernel is a function of the resources you have at your disposal. My standard checklist is a mile long. ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/546-7968
Re: Help wiht OS tweeks for FreeBSD with inn1.4unoff4
Author: Paul Southworth
Date: Wed, 05 Jun 1996 00:00
Date: Wed, 05 Jun 1996 00:00
22 lines
1358 bytes
1358 bytes
In article <31B303C6.41C67EA6@inap.net>, Joseph T. Klein <jtk@inap.net> wrote: >I am getting memory allocation errors with inn1.4unoff4 on >FreeBSD 2.1.0-RELEASE. > >Can anyone suggest solutions to the memory allocation problem and >how to optimize the kernel for my news server? This addresses the "optimize the kernel" question. Go read your "LINT" kernel definition in /usr/src/sys/i386/conf. # Under some circumstances it is necessary to make the default max # number of processes per user and open files per user more than the # defaults on bootup. (an example is a large news server in which # the uid, news, can sometimes need > 100 simultaneous processes running, # or perhaps a user using lots of windows under X). options CHILD_MAX=128 options OPEN_MAX=128 --Paul
Re: Help wiht OS tweeks for FreeBSD with inn1.4unoff4
Author: Joe Greco
Date: Wed, 05 Jun 1996 00:00
Date: Wed, 05 Jun 1996 00:00
33 lines
2026 bytes
2026 bytes
In news.software.nntp article <4p2vas$5nj@news.cic.net>, pauls@cic.net (Paul Southworth) wrote: :In article <31B303C6.41C67EA6@inap.net>, Joseph T. Klein <jtk@inap.net> wrote: :>I am getting memory allocation errors with inn1.4unoff4 on :>FreeBSD 2.1.0-RELEASE. :> :>Can anyone suggest solutions to the memory allocation problem and :>how to optimize the kernel for my news server? : :This addresses the "optimize the kernel" question. Go read your "LINT" :kernel definition in /usr/src/sys/i386/conf. : :# Under some circumstances it is necessary to make the default max :# number of processes per user and open files per user more than the :# defaults on bootup. (an example is a large news server in which :# the uid, news, can sometimes need > 100 simultaneous processes running, :# or perhaps a user using lots of windows under X). :options CHILD_MAX=128 :options OPEN_MAX=128 128? Small server :-) There is an essential bit of truth here. One needs to spend the time to look at the sources, both for news and the OS, and many tweaks will become self evident. That's actually a good general rule, not just for news. ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/546-7968
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