[squid-users] Urgent Help Needed: Any suggestion on CPU utiliztion increased from 73% to 97.5 after cache_mem increased from 4 GB to 8 GB

2008-06-14 Thread Arkin, Y
Hey , guys, Recently I did some interesting performance testing . I used memory only for the squid configuration . when I set the the cache_mem to following value , I got incresed CPU utilization . cache_mem 4096 MB, cpu :73% (the value from top or squidclient mgr:info) cache_mem 6144 MB ,

Re: [squid-users] Squid + AD (LDAP)

2008-06-14 Thread Henrik Nordstrom
On fre, 2008-06-13 at 18:09 -0700, Alexandre augusto wrote: Hi All, I was wrong when said that my authentication was working in last email... I´m trying work Squid with MS AD So this is my squid.conf entry about LDAP auth: auth_param basic program

Re: [squid-users] Urgent Help Needed: Any suggestion on CPU utiliztion increased from 73% to 97.5 after cache_mem increased from 4 GB to 8 GB

2008-06-14 Thread Henrik Nordstrom
On lör, 2008-06-14 at 14:10 +0800, Arkin, Y wrote: Configuration: ./configure --enable-dlmalloc ...etc... Hmm.. don't use --enable-dlmalloc if you have more than 2 GB of memory, or at all if you have a reasonably modern OS.. (i.e. almost anything released this millenium) one Squid instance

Re: [squid-users] Debug Problem

2008-06-14 Thread Henrik Nordstrom
On lör, 2008-06-14 at 10:11 +0430, Armin ranjbar wrote: this is , in fact two question , any idea on cause of this : #dmesg | grep -i squid3 squid3[27598]: segfault at eip 0810f3e9 esp bfaa73f4 error 4 A bug. do i need a core dump here ? if yes Yes. But cache.log MAY also contain

Re: [squid-users] Debug Problem

2008-06-14 Thread Armin ranjbar
On Sat, 14 Jun 2008 11:26:44 +0200 Henrik Nordstrom [EMAIL PROTECTED] wrote: On lör, 2008-06-14 at 10:11 +0430, Armin ranjbar wrote: this is , in fact two question , any idea on cause of this : #dmesg | grep -i squid3 squid3[27598]: segfault at eip 0810f3e9 esp bfaa73f4 error 4

Re: [squid-users] Squid + AD (LDAP)

2008-06-14 Thread Alexandre augusto
Hi Henrik, You are correct. my search base is DC=abc,DC=com,DC=br I have nothing related LDA on cache.log I´m looking for some documentation and found many guys using Squid + Samba ( winbind) with libnss_winbind.so and libnss_winbind.so.2 authenticating on AD (win 2003). That is way to

Re: [squid-users] bandwidth usage

2008-06-14 Thread Roy M.
Hi On Fri, Jun 13, 2008 at 5:20 AM, Henrik Nordstrom [EMAIL PROTECTED] wrote: On tor, 2008-06-12 at 15:04 -0600, Oscar Farfán wrote: is there anything in squid that can monitor the bandwidth usage?? Squid does monitor the bandwidth usage in traffic counters. You can collect this information

Re: [squid-users] Urgent Help Needed: Any suggestion on CPU utiliztion increased from 73% to 97.5 after cache_mem increased from 4 GB to 8 GB

2008-06-14 Thread Neil Harkins
On Sat, Jun 14, 2008 at 2:25 AM, Henrik Nordstrom [EMAIL PROTECTED] wrote: one Squid instance is running on the cache server , squid .conf : cache_mem 8192 MB maximum_object_size_in_memory 2048 KB This may be the culpit. Squid-2 is very very poor at handling large objects in memory,

Re: [squid-users] How to keep session?

2008-06-14 Thread Ken W.
Can anybody tell me why source-hash algorithm in cache_peer directive can't handle the session case? Since source-hash (if I understand for it correctly) will redirect users' requests based on their IPs, so the same IP will always go to the same original server. That will keep session always

[squid-users] what can I help to make this swap.state corruption go away?

2008-06-14 Thread Michel (M)
friends this swap.state corruption is getting worse and worse and it is a pattern swap.state.new EVER stops at 72 and then one swap.state after the other grows until the disk is full what do you need to fix this? This is NOT only a diskd problem, it also happens exactly same way with aufs

Re: [squid-users] bandwidth usage

2008-06-14 Thread Henrik Nordstrom
On lör, 2008-06-14 at 21:58 +0800, Roy M. wrote: As a reverse proxy to web server, is it possible to limit the bandwidth usage per vhost (or subdomain) just like Apache mod_cband. Not currently no. But shouldn't be too hard to implement. Try contacting [EMAIL PROTECTED] asking for a developer

Re: [squid-users] Urgent Help Needed: Any suggestion on CPU utiliztion increased from 73% to 97.5 after cache_mem increased from 4 GB to 8 GB

2008-06-14 Thread Henrik Nordstrom
On lör, 2008-06-14 at 07:55 -0700, Neil Harkins wrote: This may be the culpit. Squid-2 is very very poor at handling large objects in memory, wasting exponential amount of CPU the larger the object is.. This is fixed in Squid-3. Could you please provide a link to that bug? Not sure there

[squid-users] ntlm_auth question/problem

2008-06-14 Thread Markus Moeller
I am trying to authenticate users with ntlm_auth but fail and don't find the reason. I see the initial NTLM challenge, but then the Browser doesn't continue the next NTLM step ( at least that is what I think happens) Any idea what I did wrong ? Thank you Markus uname -a Linux Opensuse

[squid-users] Squid + SAMBA + AD

2008-06-14 Thread Alexandre augusto
Hi all, I´m still in trouble to get it working ... The status is that my Squid just tell me this error on cache.log after try authenticate: [2008/06/14 17:06:41, 0] utils/ntlm_auth.c:get_winbind_netbios_name(172) could not obtain winbind netbios name! About access.log: 1213471888.513 0

Re: [squid-users] Squid + SAMBA + AD

2008-06-14 Thread Alexandre augusto
Hi All, I really don´t know what was wrong with another installation (by source). but i forguet about it and start new installation using the squid RPM of Redhat. (a friend told me to do it because all necessary modules are tested and are include on package), So I replace the config file for

Re: [squid-users] Squid + SAMBA + AD

2008-06-14 Thread Marco Túlio
I have the same problem, but I use Debian. I believe that this implementation don´t work. Someone did this implementation with success ? Marco Túlio Oliveira de Moraes 2008/6/14 Alexandre augusto [EMAIL PROTECTED]: Hi all, I´m still in trouble to get it working ... The status is that my

Re: [squid-users] what can I help to make this swap.state corruption go away?

2008-06-14 Thread Amos Jeffries
Michel (M) wrote: friends this swap.state corruption is getting worse and worse and it is a pattern swap.state.new EVER stops at 72 and then one swap.state after the other grows until the disk is full what do you need to fix this? This is NOT only a diskd problem, it also happens exactly same

Re: [squid-users] Debug Problem

2008-06-14 Thread Amos Jeffries
Armin ranjbar wrote: On Sat, 14 Jun 2008 11:26:44 +0200 Henrik Nordstrom [EMAIL PROTECTED] wrote: On lör, 2008-06-14 at 10:11 +0430, Armin ranjbar wrote: this is , in fact two question , any idea on cause of this : #dmesg | grep -i squid3 squid3[27598]: segfault at eip 0810f3e9 esp

Re: [squid-users] Urgent Help Needed: Any suggestion on CPU utiliztion increased from 73% to 97.5 after cache_mem increased from 4 GB to 8 GB

2008-06-14 Thread Arkin Y
Henrik , Neil , Thanks a lot for your response !! I got several times sent mail failure notice , so I resend it again . hope you could get it . Acctually , I tried to use Linux OS default malloc, gnu malloc , dlmalloc, dlmalloc could help me get the best performance among the three different

Re: [squid-users] Urgent Help Needed: Any suggestion on CPU utiliztion increased from 73% to 97.5 after cache_mem increased from 4 GB to 8 GB

2008-06-14 Thread Henrik Nordstrom
On sön, 2008-06-15 at 10:57 +0800, Arkin Y wrote: Acctually , I tried to use Linux OS default malloc, gnu malloc , dlmalloc, dlmalloc could help me get the best performance among the three different malloc . Interesting. For me dlmalloc fails completely when the process size goes above 2GB.

Re: [squid-users] Debug Problem

2008-06-14 Thread Armin ranjbar
On Sun, 15 Jun 2008 14:14:45 +1200 Amos Jeffries [EMAIL PROTECTED] wrote: you can find bug report here : http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=486211 Which release from which repositories? There has been a fair bit of work gone into some recent Squid to reduce port patching.