Re: [SOLVED] RE: [Backtrace] 4.9 and 5.1-RELEASE occasionly panic

From: Dmitry Pryanishnikov (dmitry_at_atlantis.dp.ua)
Date: 12/25/03

  • Next message: Roman Sidnev: "possible (kernel) bug with zebra"
    Date: Thu, 25 Dec 2003 21:58:37 +0200 (EET)
    To: stable@freebsd.org
    
    

    Hello!

    > From: Sten <sten@blinkenlights.nl>
    >
    > I'd really love getting rid of most hardcoded memory allocations
    > in the fbsd kernel, with the main bugger being NMBCLUSTERS,
    > which one always forgets about untill it's too late :(.
    > In solaris auto-tuning has been a top priority for a long while,
    > and propper dynamic tuning should get it right ( or even better )
    > in 99% of the cases. People with other needs should be able
    > to build a custom kernel.

     You need _not_ to build custom FreeBSD kernel in order to increase
    NMBCLUSTERS. Both CURRENT and STABLE allows setting it from loader.conf:

    kern.ipc.nmbufs="32768" # Number of mbufs
    kern.ipc.nmbclusters="16384" # Number of mbuf clusters

    But yes, you have to reboot your system if you want to raise them.

    Sincerely, Dmitry

    -- 
    Atlantis ISP, System Administrator
    e-mail:  dmitry@atlantis.dp.ua
    nic-hdl: LYNX-RIPE
    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
    

  • Next message: Roman Sidnev: "possible (kernel) bug with zebra"

    Relevant Pages

    • Re: FreeBSD 5.1-R kernel panic
      ... As far as changing the nmbclusters, I'm not sure how many I use now. ... I took a quick look at the developers handbook and couldn't find just ... yet what I needed to change to the kernel to provide a stack trace... ... I can probably run on one CPU for a few days, ...
      (freebsd-current)
    • Re: [SOLVED] RE: [Backtrace] 4.9 and 5.1-RELEASE occasionly panic
      ... > in the fbsd kernel, with the main bugger being NMBCLUSTERS, ... You need _not_ to build custom FreeBSD kernel in order to increase ... Atlantis ISP, System Administrator ...
      (freebsd-current)
    • Re: FreeBSD 5.1-R kernel panic
      ... > As far as changing the nmbclusters, I'm not sure how many I use now. ... > yet what I needed to change to the kernel to provide a stack trace... ... to get a stack trace. ... if you only have remote access to ...
      (freebsd-current)
    • Re: WARNING: mclpool limit reached; increase NMBCLUSTERS
      ... you have to increase NMBCLUSTERS in the kernel... ... ukc> nmbclust ... [root@cyanide root]# ls /bsd* ...
      (comp.unix.bsd.openbsd.misc)
    • Re: Is it possible to give the user the option to cancel forkbombs?
      ... job title should not be system administrator. ... Even if we don't change any default values, we can still change the kernel so that it survives a fork bomb. ... System gets very slow to the point where the system is unusable (but I can always mouse around the mouse freely with no sluggishness and the screen updates continue to make progress even though it takes 1-3 seconds between each update). ...
      (Linux-Kernel)