Groups | Search | Server Info | Login | Register


Groups > comp.sys.3b1 > #686

Re: How to activate swap?

Newsgroups comp.sys.3b1
Date 2022-10-24 12:20 -0700
References <slrnt8vmco.2k11b.alain@hitchhiker.hitchhiker.org.lu> <0bea63a3-09e9-4002-9292-01d889fd0665n@googlegroups.com> <tj5c0k$1hd8$1@gioia.aioe.org> <dbfe9660-2922-44dd-bc1f-c61c7a9521d6n@googlegroups.com>
Message-ID <906eff6b-c972-4270-a4a0-00093c77f6f7n@googlegroups.com> (permalink)
Subject Re: How to activate swap?
From J Booth <166sunny@gmail.com>

Show all headers | View raw


> You've probably already found, but there is ktune which allows you to adjust some kernel parameters, such as nproc (number of processes, default: 100), e.g. ktune nproc=200 
> 
I just tried ktune nproc=120 and then rebooted which did indeed increase nproc to 120 (as reported by ktune -d). The naming in /usr/include/sys/tune.h with NPROCMAX = 100 made me wonder if you could go above 100, but the documentation on ktune says "up to system capacity" whatever that might be... The MAX values in tune.h appear to be the default values, which matches the ktune documentation.

> Interesting to hear that helped. I would have thought the default 4000 KB would have sufficed, unless yours was smaller than that.
Nevermind -- I just saw your other note about having pushed the swap partition 100+ MB, nice.

Back to comp.sys.3b1 | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

How to activate swap? Alain Knaff <alain@knaff.lu> - 2022-05-26 19:48 +0000
  Re: How to activate swap? J Booth <166sunny@gmail.com> - 2022-10-23 22:45 -0700
    Re: How to activate swap? Alain Knaff <alain@knaff.lu> - 2022-10-24 08:40 +0200
      Re: How to activate swap? Peter Schmidt <peter@transcend.aero> - 2022-10-24 04:19 -0700
        Re: How to activate swap? J Booth <166sunny@gmail.com> - 2022-10-24 11:06 -0700
          Re: How to activate swap? Alain Knaff <alain@knaff.lu> - 2022-10-24 22:07 +0200
      Re: How to activate swap? J Booth <166sunny@gmail.com> - 2022-10-24 11:27 -0700
        Re: How to activate swap? J Booth <166sunny@gmail.com> - 2022-10-24 12:20 -0700
        Re: How to activate swap? Alain Knaff <alain@knaff.lu> - 2022-10-24 22:47 +0200

csiph-web