On Thu, Oct 09, 2003 at 05:39:58PM -0400, Tom Oehser wrote: > > The current squid and current cygwin fails with setrlimit errors > about too many open files, I saw some messages in the cygwin-app > group about this, but it didn't seem to be resolved. The exact > messages are: > > > $ squid -N > FATAL: setrlimit: RLIMIT_NOFILE: (24) Too many open files > Squid Cache (Version 2.4.STABLE7): Terminated abnormally. > CPU Usage: 0.100 seconds = 0.030 user + 0.070 sys > Maximum Resident Size: 16000 KB > Page faults with physical i/o: 1089 > Aborted (core dumped)
How big is squid trying to set RLIMIT_NOFILE? I tried with a test application and it failed to set the limit to more than 3200 entries. YMMV since there's no fixed numbers of descriptors, only a fixed number of bytes for a bunch of different jobs. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/