Xref: utzoo comp.unix.questions:31961 comp.lang.c:39869 Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!virtech!cpcahil From: cpcahil@virtech.uucp (Conor P. Cahill) Newsgroups: comp.unix.questions,comp.lang.c Subject: Re: Too Many Files Open Error During Shared Memory Attach Message-ID: <1991Jun06.013455.27717@virtech.uucp> Date: 6 Jun 91 01:34:55 GMT References: <1991Jun5.172706.29779@casbah.acns.nwu.edu> Organization: Virtual Technologies Inc. Lines: 18 staggers@casbah.acns.nwu.edu (Ken Staggers) writes: >CREATE: Cannot attach the shared memory segment: Too many open files This is one of the reasons that perror is useless. "Too many open files" is the perror output for the errno EMFILE. Looking up shmat() (on the shmop(2) manual page) we see: [EMFILE] The number of shared memory segments attached to the calling process would exceed the system-imposed limit. Depending upon your OS configuration parameters, this should be configurable with a configuration parameter named SHMSEG (or something similar to it). -- Conor P. Cahill (703)430-9247 Virtual Technologies, Inc. uunet!virtech!cpcahil 46030 Manekin Plaza, Suite 160 Sterling, VA 22170