Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Re: Shared memory region - too many open files
@ 2003-01-03 13:12 Gerhard Stegemann
  0 siblings, 0 replies; 5+ messages in thread
From: Gerhard Stegemann @ 2003-01-03 13:12 UTC (permalink / raw)


Johan Brusche wrote:

> > 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?

> 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)

May have ssm-threshold also an effect on this?

May proc:max-open-soft or max-open-hard limit the maximum no.
of attached shared memory segments on a per process basis?

-- 
Gerhard Stegemann






^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: Shared memory region - too many open files
@ 2003-08-08  8:06 Gerhard Stegemann
  0 siblings, 0 replies; 5+ messages in thread
From: Gerhard Stegemann @ 2003-08-08  8:06 UTC (permalink / raw)


Gerhard Stegemann wrote:
> Johan Brusche wrote:
>
> > > 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?
>
> > 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)

We have raised this parameter to 3000, which didn't help at all.

But now we have found that there seems to be hard limit 185 shared
memory regions which may ever allocated to one process. At least a
shmat system call will fail attempting to attach the 186th shared
memory region. Could this be a bug in Tru64 V4?


-- 
Gerhard Stegemann




^ permalink raw reply	[flat|nested] 5+ messages in thread
* Shared memory region - too many open files
@ 2002-10-07 19:07 Gerhard Stegemann
  2002-10-08  9:55 ` Johan Brusche
  0 siblings, 1 reply; 5+ messages in thread
From: Gerhard Stegemann @ 2002-10-07 19:07 UTC (permalink / raw)


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





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-08-08  8:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-03 13:12 Shared memory region - too many open files Gerhard Stegemann
  -- strict thread matches above, loose matches on Subject: below --
2003-08-08  8:06 Gerhard Stegemann
2002-10-07 19:07 Gerhard Stegemann
2002-10-08  9:55 ` Johan Brusche
2002-10-08 18:11   ` Gerhard Stegemann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox