Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 1997 08:44:46 -0500 (CDT)
From:      Jim Lowe <james@miller.cs.uwm.edu>
To:        CSP1DWD@MVS.OAC.UCLA.EDU, multimedia@freebsd.org
Cc:        questions@freebsd.org
Subject:   Re:  shmat: too many files open
Message-ID:  <199704151344.IAA22341@miller.cs.uwm.edu>

next in thread | raw e-mail | index | archive | help
> From: Denis DeLaRoca                       <CSP1DWD@MVS.OAC.UCLA.EDU>
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704151344.IAA22341>