No, I just launch it with ./squid -f squid.conf , no script.
I think this is a problem with default config , it might be
initialized wrong in the default config.
On Fri, Aug 17, 2012 at 1:09 AM, Jenny Lee <bodycare_5_at_live.com> wrote:
>
> In your /etc/rc.d/init.d/squid file, or whatever script is starting squid, put:
> ulimit -HSn 65536
> Jenny
>> From: sunyucong_at_gmail.com
>> Date: Thu, 16 Aug 2012 20:03:05 -0700
>> To: squid-users_at_squid-cache.org
>> Subject: [squid-users] Re: 3.2.1 file descriptor is locked to 1024?
>>
>> I found that if I include
>> max_filedescriptors 16384 in the config, it will actually use the 16384 fds
>>
>> if I don't have this line, then it will use 1024, however the document
>> and source code I can find doesn't say any thing like 1024 at all,
>>
>> what might be the reason?
>>
>> On Thu, Aug 16, 2012 at 7:31 PM, Yucong Sun (叶雨飞) <sunyucong_at_gmail.com> wrote:
>> > Here's what I get from mgr:info
>> >
>> > File descriptor usage for squid:
>> > Maximum number of file descriptors: 1024
>> > Largest file desc currently in use: 755
>> > Number of file desc currently in use: 692
>> > Files queued for open: 0
>> > Available number of file descriptors: 332
>> > Reserved number of file descriptors: 100
>> > Store Disk files open: 0
>> >
>> >
>> > and here's the squid -v output
>> >
>> > Squid Cache: Version 3.2.1
>> > configure options: '--disable-maintainer-mode'
>> > '--disable-dependency-tracking' '--disable-silent-rules'
>> > '--enable-inline' '--enable-async-io=8' '--enable-storeio=ufs,aufs'
>> > '--enable-removal-policies=lru,heap' '--enable-cache-digests'
>> > '--enable-underscores' '--enable-follow-x-forwarded-for'
>> > '--disable-translation' '--with-filedescriptors=65536'
>> > '--with-default-user=proxy' '--enable-ssl' '--enable-ltdl-convenience'
>> >
>> > How can I get squid 3.2.1 to use more than 1024 ?
>> >
>> > I've verified that system is fine, there's no per user limit either.
>> >
>> > # cat /proc/sys/fs/file-max
>> > 199839
Received on Fri Aug 17 2012 - 08:57:27 MDT
This archive was generated by hypermail 2.2.0 : Fri Aug 17 2012 - 12:00:09 MDT