From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,829482aebbb800e6 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-10-08 02:47:21 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!uunet!sea.uu.net!ash.uu.net!news.compaq.com!news.cpqcorp.net!53ab2750!not-for-mail From: "Johan Brusche" Newsgroups: comp.unix.tru64 References: Subject: Re: Shared memory region - too many open files X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: Date: Tue, 08 Oct 2002 09:55:02 GMT NNTP-Posting-Host: 16.183.38.86 X-Complaints-To: abuse@Compaq.com X-Trace: news.cpqcorp.net 1034070902 16.183.38.86 (Tue, 08 Oct 2002 02:55:02 PDT) NNTP-Posting-Date: Tue, 08 Oct 2002 02:55:02 PDT Organization: Compaq, part of the new hp Xref: archiver1.google.com comp.unix.tru64:8821 "Gerhard Stegemann" 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.