Re: [squid-users] FILE DESCRIPTORS

From: Mark Elsen <mark.elsen@dont-contact.us>
Date: Thu, 23 Feb 2006 09:26:28 +0100

> Sorry to be pounding the list lately, but I'm about to lose it with
> these file descriptors...
>
> I've done everything I have read about to increase file descriptors on
> my caching box, and now I just rebuilt a fresh clean squid. Before I
> ran configure, I did ulimit -HSn 8192, and I noticed that while
> configuring it said "Checking File Descriptors... 8192". I even
> double-checked autoconf.h and saw #define SQUID_MAXFD 8192. I thought
> everything was good, even ran a "ulimit -n" right before starting squid
> and saw 8192! So I start her up, and in cache.log I see...
>
> 2006/02/22 19:05:08| Starting Squid Cache version 2.5.STABLE12 for
> x86_64-unknown-linux-gnu...
> 2006/02/22 19:05:08| Process ID 3657
> 2006/02/22 19:05:08| With 1024 file descriptors available
>

To make sure that this is not bogus w.r.t. the real available amount of
FD's : do you still get warnings in cache.log about FD-shortage when
reaching the 1024 (bogus-reported ?) limit.

The reason I ask is, that I have been playing with the FAQ guidelines too,
ultimately getting the same result (stuck?) as you did.

M.
Received on Thu Feb 23 2006 - 01:26:32 MST

This archive was generated by hypermail pre-2.1.9 : Wed Mar 01 2006 - 12:00:03 MST