From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,aed1c4276c2604c5 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-05-28 16:31:48 PST Path: archiver1.google.com!newsfeed.google.com!postnews1.google.com!not-for-mail From: apinho@maxitel.com.br (Andre Pinho) Newsgroups: comp.unix.tru64 Subject: Re: Error - Error Text: Too many open files Date: 28 May 2001 16:31:48 -0700 Organization: http://groups.google.com/ Message-ID: <647a079a.0105281531.66066a0b@posting.google.com> References: <9eavjf$c39$1@news.netmar.com> <3B0A9376.665DB6D5@ford.com> NNTP-Posting-Host: 200.223.63.70 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 991092708 17700 127.0.0.1 (28 May 2001 23:31:48 GMT) X-Complaints-To: groups-support@google.com NNTP-Posting-Date: 28 May 2001 23:31:48 GMT Xref: archiver1.google.com comp.unix.tru64:2328 Jack Patteeuw wrote in message news:<3B0A9376.665DB6D5@ford.com>... > all Un*x have ulimits > > from /bin/sh or /usr/bin/ksh try ulimit -a > > from /usr/bin/csh try limit > > > Jack Patteeuw > > > andrew.rycroft@intrinsitech.com wrote: > > > > Hi, > > > > I am getting the following error on my system running Tru64UNIX:- > > > > in File: bckmtn.c > > Line: 1341 > > Function: BCKMTstoreRequest > > Process: 19404 > > Error Text: Too many open files > > Error Nr: 24 > > Level: ERROR (Exception > > > > Is there a parameter in Tru64UNIX which controls how many files a process may > > have open ? > > > > Thanks > > Andrew Rycroft > > > > ----- Posted via NewsOne.Net: Free (anonymous) Usenet News via the Web ----- > > http://newsone.net/ -- Free reading and anonymous posting to 60,000+ groups > > NewsOne.Net prohibits users from posting spam. If this or other posts > > made through NewsOne.Net violate posting guidelines, email abuse@newsone.net Hi Andrew, There are two limits for open files that you must be aware. The first one that the process reaches is the soft limit (open-max-soft), and you can change it on the fly typing "ulimit -n new_limit", and new_limit could not exceed the hard limit (open-max-hard). "ulimit -Ha" reports hard limits and "ulimit -a" reports soft limits by default. Try ulimit(1) online manual page for more detailed information. If the process reaches the soft limit, the kernel sends an alarm to the process, but it's not stopped. However, when the process reaches the hard limit the kernel sends a SIGSTOP and the process returns EMFILE error (errno 24). The default value for both hard an soft limits is 4096, but if you want to increase this values, you should use dxkerneltuner(8X) or sysconfigdb(8) to do it and reboot the system. Regards, Pinho