Search squid archive

RE: Running out of filedescriptors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



:S

Linux default is 1024 but it looks as though yours is 8 times that.

Have you set the limit in:

/etc/security/limits.conf

?

-----Original Message-----
From: "Carlos Martínez-Troncoso C." [mailto:cmartinez@xxxxxxxxxxxxxxx] 
Sent: Wednesday, 27 September 2006 9:13 AM
To: Jason Neurohr; squid-users@xxxxxxxxxxxxxxx
Subject: Re:  Running out of filedescriptors

yes, now when I run ulimit -a I obtain:

    core file size        (blocks, -c) 0
    data seg size         (kbytes, -d) unlimited
    file size             (blocks, -f) unlimited
    max locked memory     (kbytes, -l) 4
    max memory size       (kbytes, -m) unlimited
    open files                    (-n) 8192
    pipe size          (512 bytes, -p) 8
    stack size            (kbytes, -s) 10240
    cpu time             (seconds, -t) unlimited
    max user processes            (-u) 7168
    virtual memory        (kbytes, -v) unlimited

is this ok?


Jason Neurohr escribió:
> Are you able to increase the amount of file descriptors or linux box?
>
> -----Original Message-----
> From: "Carlos Martínez-Troncoso C." [mailto:cmartinez@xxxxxxxxxxxxxxx] 
> Sent: Wednesday, 27 September 2006 8:51 AM
> To: Adrian Chadd; squid-users@xxxxxxxxxxxxxxx
> Subject: Re:  Running out of filedescriptors
>
> Now I am not using delay pools, I recompiled with out them, but nothing, 
> squid is using only 1024 filedescriptors
>
> what can I do?
>
> Adrian Chadd escribió:
>   
>> Do you use delay pools? If not, try recompiling with out it.
>>
>>
>>
>> Adrian
>>
>> On Tue, Sep 26, 2006, "Carlos Mart?nez-Troncoso C." wrote:
>>   
>>     
>>> Adrian Chadd escribi?:
>>>     
>>>       
>>>> On Mon, Sep 25, 2006, "Carlos Mart?nez-Troncoso C." wrote:
>>>>  
>>>>       
>>>>         
>>>>> Hello Squid friends.
>>>>>
>>>>> Recently I found in my cache.log this message:
>>>>>  
>>>>>   WARNING! Your cache is running out of filedescriptors
>>>>>
>>>>> I found in the same file that Squid was using 1024 filedescriptors
>>>>>  
>>>>> I looked for that problem in the forum and FAQ and these are my steps to 
>>>>> resolve that:
>>>>>    
>>>>>         
>>>>>           
>>>> Is squid compiling with poll or select?
>>>>
>>>>
>>>>
>>>>
>>>> Adrian
>>>>
>>>>
>>>>  
>>>>       
>>>>         
>>> Adrian is compiled with poll (option --enable-poll in configure)
>>>
>>> Squid Cache: Version 2.5.STABLE14
>>> configure options:  --host=i686-redhat-linux-gnu 
>>> --build=i686-redhat-linux-gnu --target=i386-redhat-linux-gnu 
>>> --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin 
>>> --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share 
>>> --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec 
>>> --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man 
>>> --infodir=/usr/share/info --exec_prefix=/usr --bindir=/usr/sbin 
>>> --libexecdir=/usr/lib/squid --localstatedir=/var --datadir=/usr/share 
>>> --sysconfdir=/etc/squid --enable-poll --enable-snmp 
>>> --enable-removal-policies=heap,lru 
>>> --enable-storeio=aufs,coss,diskd,null,ufs --enable-ssl 
>>> --with-openssl=/usr/kerberos --enable-delay-pools 
>>> --enable-linux-netfilter --with-pthreads 
>>> --enable-ntlm-auth-helpers=SMB,winbind,fakeauth 
>>> --enable-external-acl-helpers=ip_user,ldap_group,unix_group,wbinfo_group,winbind_group 
>>> --enable-auth=basic,digest,ntlm --enable-digest-auth-helpers=password 
>>> --with-winbind-auth-challenge --enable-useragent-log --enable-referer-log 
>>> --disable-dependency-tracking --enable-cachemgr-hostname=localhost 
>>> --enable-underscores 
>>> --enable-basic-auth-helpers=LDAP,MSNT,NCSA,PAM,SMB,YP,getpwnam,multi-domain-NTLM,SASL,winbind 
>>> --enable-cache-digests --enable-ident-lookups --with-large-files 
>>> --enable-fd-config --enable-follow-x-forwarded-for
>>>
>>>
>>> -- 
>>> Carlos Mart?nez-Troncoso Cera
>>> Coordinador Servicios Internet/Intranet
>>> Universidad del Norte - www.uninorte.edu.co
>>> Tel: 57 5 3509367
>>> Barranquilla, Colombia
>>>     
>>>       
>>   
>>     
>
>
>   


-- 
Carlos Martínez-Troncoso Cera
Coordinador Servicios Internet/Intranet
Universidad del Norte - www.uninorte.edu.co
Tel: 57 5 3509367
Barranquilla, Colombia



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux