From owner-freebsd-questions Mon Nov 6 4:43:17 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail1.chat.ru (mail1.chat.ru [212.24.32.14]) by hub.freebsd.org (Postfix) with ESMTP id 4A82737B479 for ; Mon, 6 Nov 2000 04:43:14 -0800 (PST) Received: from gnu.chat.ru ([212.24.32.10] helo=mail.chat.ru) by mail1.chat.ru with esmtp (Exim 3.15 #1) id 13sla5-0000KI-00 for freebsd-questions@freebsd.org; Mon, 06 Nov 2000 15:40:57 +0300 Received: from p22.gw.lvl.ru ([194.67.189.22] helo=chat.ru) by mail.chat.ru with asmtp (Exim 3.16 #1) id 13slcG-0009c5-00 for freebsd-questions@freebsd.org; Mon, 06 Nov 2000 15:43:12 +0300 Message-ID: <3A06A7C0.5107EC3C@chat.ru> Date: Mon, 06 Nov 2000 15:44:48 +0300 From: jadream X-Mailer: Mozilla 4.72 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: How to change kern.ipc.maxsockets ? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Authorized: jadream Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG To avoid recently mentioned problems with threads & SysV IPC I tried to use UNIX sockets and sonn reached the limits with error "Too many opened files" and /kernel: file table is full. I looked into sysctl info and found out three vars to change to cope with this: kern.maxfiles kern.maxfilesperproc kern.ipc.maxsockets Fisrt two were sucessfully changed using sysctl -w XXX=XXX but not the last one. Resulting message from sysctl says: "Readonly variable" So what? :0) Alexander Komratov To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message