From: "Johan Brusche" <johan.brusche@hp.com>
Subject: Re: Shared memory region - too many open files
Date: Tue, 08 Oct 2002 09:55:02 GMT [thread overview]
Message-ID: <WXxo9.3$EW1.229507@news.cpqcorp.net> (raw)
In-Reply-To: ansm7g$kdc$07$1@news.t-online.com
"Gerhard Stegemann" <Gerhard.Stegemann@t-online.de> wrote in message
news:ansm7g$kdc$07$1@news.t-online.com...
> I have an application running under Tru64 V4.0F which issues under some
situation this
> error message:
>
> KER: shmat() in get_segs: Too many open files
> shared memory id = 188, errno = 24
>
> Checking the cause for this error I have found the following:
>
> errno = 24 -> /sys/include/sys/errno.h -> EMFILE - Too many open files
>
> man shmat -> Return values -> [EMFILE] An attempt to attach a shared
memory region
> exceeded the maximum number of attached regions allowed for any one
process.
>
>
> My current conclusion is, that one of the many system or kernel parameters
has a wrong
> setting. But which parameter controls this? What parameter(s) have to be
tweaked to
> prevent this error?
>
>
> --
> Gerhard Stegemann
>
>
>
Gerhard,
Check for shm-seg ( see man sys_attrs_ipc) in the ipc parameter subset.
The default value is 32 (max number of process attached shared mem regions)
You need to reboot after modification in /etc/sysconfigtab.
Johan.
next prev parent reply other threads:[~2002-10-08 9:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-07 19:07 Shared memory region - too many open files Gerhard Stegemann
2002-10-08 9:55 ` Johan Brusche [this message]
2002-10-08 18:11 ` Gerhard Stegemann
-- strict thread matches above, loose matches on Subject: below --
2003-01-03 13:12 Gerhard Stegemann
2003-08-08 8:06 Gerhard Stegemann
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox