From owner-freebsd-multimedia Tue Apr 15 06:45:12 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA10180 for multimedia-outgoing; Tue, 15 Apr 1997 06:45:12 -0700 (PDT) Received: from miller.cs.uwm.edu (miller.cs.uwm.edu [129.89.139.22]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA10155; Tue, 15 Apr 1997 06:45:03 -0700 (PDT) Received: (from james@localhost) by miller.cs.uwm.edu (8.8.5/8.8.5) id IAA22341; Tue, 15 Apr 1997 08:44:46 -0500 (CDT) Date: Tue, 15 Apr 1997 08:44:46 -0500 (CDT) From: Jim Lowe Message-Id: <199704151344.IAA22341@miller.cs.uwm.edu> To: CSP1DWD@MVS.OAC.UCLA.EDU, multimedia@freebsd.org Subject: Re: shmat: too many files open Cc: questions@freebsd.org Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > From: Denis DeLaRoca > Subject: shmat: too many files open > > When running vic 2.8 I end up with > > shmat: too many files open > > as I attempt to open more than 3 video windows from a session that > features multiple participants. My FreeBSD 2.2.1 kernel is configured > for shared memory support and the following parms > > SHMMAXPGS=1025 > "SHMMAX=(SHMMAXPGS*PAGE_SIZE+1)" > > should I increase the above further? What's the value of PAGE_SIZE? > These values have changed... in an ancient 2.2 snapshot that I used > to run with 2048KB of shared memory opening more than 3 vic video > windows was never a problem. Under 2.2 you can use change the number of segments with: options "SHMSEG=32" # 32 segements/user (for X) options "SHMMNI=128" # 128 identifiers I don't know why the system defaults the number of segement to 8, it seems a little low to me. Hope it helps, -Jim