Date: Fri, 8 Dec 2000 14:38:17 +0100 From: "William Carlsson - Teligent Nordic, AB - Sweden" <wille@teligent.se> To: "Peter Pentchev" <roam@orbitel.bg> Cc: <freebsd-hackers@FreeBSD.ORG> Subject: RE: Shared Memory Message-ID: <NEBBKDKPGLOJMLMCBOBLGEFHCHAA.wille@teligent.se> In-Reply-To: <20001208145959.C451@ringworld.oblivion.bg>
next in thread | previous in thread | raw e-mail | index | archive | help
FreeBSD 4+ I had something like 8192 processes in mind and same goes for max open files I'd like 256M shared memory... ---------------------------------------------------- William Carlsson Second Line Support Teligent Nordic AB P.O. Box 213 S-149 21 Nynäshamn SWEDEN Telephone: +46 - 8 - 59 99 11 92 eMail: william.carlsson@teligent.se http://www.teligent.se ---------------------------------------------------- "And then it comes to be that the soothing light at the end of your tunnel was just a freight train, comin' your way." -----Original Message----- From: Peter Pentchev [mailto:roam@orbitel.bg] Sent: den 8 december 2000 14:00 To: william.carlsson@teligent.se Cc: Mikko Tyolajarvi; freebsd-hackers@FreeBSD.ORG Subject: Re: Shared Memory On Fri, Dec 08, 2000 at 01:01:16PM +0100, William Carlsson - Teligent Nordic, AB - Sweden wrote: > Isn't all kern.* read only? > Seems like it can't be changed more than it's in theory changeable > > Something like the maximum nuber of files and processes, that is suposed to > be > soft configurable in login.conf (doesn't work either) > > ,D Does anything work in FreeBSD? ,D Uhm.. what version of FreeBSD do you have in mind? On a 4.2 I have.. [roam@ringworld:v2 ~]$ limits | fgrep maxproc maxprocesses 256 [roam@ringworld:v2 ~]$ On another console: [root@ringworld:v0 /etc]# perl -pi -e 's/maxproc=256/maxproc=512/' login.conf [root@ringworld:v0 /etc]# Logout and re-login on the first one: [roam@ringworld:v2 ~]$ limits | fgrep maxproc maxprocesses 512 [roam@ringworld:v2 ~]$ Feels quite changeable to me :) And btw - no, almost none of the kern.* sysctls are read-only. [root@ringworld:v0 /etc]# sysctl kern.coredump kern.corefile kern.syncdelay ker n.consmute kern.coredump: 1 kern.corefile: %N.core kern.syncdelay: 30 kern.consmute: 0 [root@ringworld:v0 /etc]# sysctl -w kern.coredump=0 kern.corefile='%N.CORE' ker n.syncdelay=100 kern.consmute=1 kern.coredump: 1 -> 0 kern.corefile: %N.core -> %N.CORE kern.syncdelay: 30 -> 100 kern.consmute: 0 -> 1 [root@ringworld:v0 /etc]# ..to name an (almost) random sample :) G'luck, Peter -- This would easier understand fewer had omitted. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NEBBKDKPGLOJMLMCBOBLGEFHCHAA.wille>