From owner-freebsd-hackers Fri Dec 8 5:38:30 2000 From owner-freebsd-hackers@FreeBSD.ORG Fri Dec 8 05:38:26 2000 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from iservern.teligent.se (mail.teligent.se [194.17.198.3]) by hub.freebsd.org (Postfix) with ESMTP id CE3A837B400 for ; Fri, 8 Dec 2000 05:38:24 -0800 (PST) Received: from blackice (dyn-office-107.teligent.se [172.18.0.107]) by iservern.teligent.se (8.8.7/8.8.7) with SMTP id OAA27930; Fri, 8 Dec 2000 14:38:19 +0100 (CET) (envelope-from wille@teligent.se) Reply-To: From: "William Carlsson - Teligent Nordic, AB - Sweden" To: "Peter Pentchev" Cc: Subject: RE: Shared Memory Date: Fri, 8 Dec 2000 14:38:17 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20001208145959.C451@ringworld.oblivion.bg> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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