Re: [squid-users] performance drop moving from 3.0 to 3.1?

2011-03-18 Thread david
On Fri, 18 Mar 2011, Amos Jeffries wrote: On 18/03/11 10:05, da...@lang.hm wrote: ping, any comments on this? excluding acl's, cache_peer* and *direct config entries (~500 lines worth, all IP, servername, port# or url_regex based) Tested with or without all those ACLs? They do make a

Re: [squid-users] performance drop moving from 3.0 to 3.1?

2011-03-18 Thread Amos Jeffries
On 18/03/11 21:54, da...@lang.hm wrote: On Fri, 18 Mar 2011, Amos Jeffries wrote: snip Some are offset by optimizations and fixes later, so its not cut-n-dry. Work is underway by Alex and Co. to identify the problems. We all work on ways to grab performance back when found. Most of these

Re: [squid-users] performance drop moving from 3.0 to 3.1?

2011-03-18 Thread Alex Crow
cache_log /var/log/squid/cache.log cache_store_log none coredump_dir none no_cache deny all NP: directive name is just cache. Hi, Which directive of these should be just cache in 3.1? Thanks Alex

Re: [squid-users] Fw: squid download file larger than 2GB

2011-03-18 Thread Jigar Raval
Hello, Thank you for your kind help. I have installed squid as per below configuration option on my 32-bit linux RHEL 4 OS Squid Cache: Version 3.1.11-20110316 configure options: '--prefix=/usr/local/squidnew2' '--enable-delay-pools' '--enable-arp-acl' '--enable-basic-auth-helpers=NCSA'

[squid-users] Squid 3.1 and winbind 3.4.7 permissions issue on winbindd_privileged

2011-03-18 Thread Go Wow
Hi, I'm trying squid 3.1.10 with ntlm and kerberos. The kinit, klist process works good even net join is working. The problem im facing is when trying to start winbind service and using wbinfo. Always the service is not starting giving the error message lib/util_sock.c:1771(create_pipe_sock)

[squid-users] Re: Squid 3.1 and winbind 3.4.7 permissions issue on winbindd_privileged

2011-03-18 Thread Go Wow
Just to kill my curiosity and resolve the issue I added proxy and root user to winbindd_priv group as well. But still damn winbind wont start. Regards On 18 March 2011 14:45, Go Wow gow...@gmail.com wrote: Hi,  I'm trying squid 3.1.10 with ntlm and kerberos. The kinit, klist process works

Re: [squid-users] Re: Squid 3.1 and winbind 3.4.7 permissions issue on winbindd_privileged

2011-03-18 Thread Alex Crow
On 18/03/11 10:47, Go Wow wrote: Just to kill my curiosity and resolve the issue I added proxy and root user to winbindd_priv group as well. But still damn winbind wont start. Regards Check /etc/init.d/winbind (or /etc/init.d/samba if you don't have separate scripts for winbind) to make

Re: [squid-users] Re: Squid 3.1 and winbind 3.4.7 permissions issue on winbindd_privileged

2011-03-18 Thread Go Wow
There is a script in /etc/init.d/winbind I tried editing it but still no luck. I check /etc/init.d/smbd but there is no mentioning about winbind. On 18 March 2011 15:02, Alex Crow a...@nanogherkin.com wrote: On 18/03/11 10:47, Go Wow wrote: Just to kill my curiosity and resolve the issue I

Re: [squid-users] performance drop moving from 3.0 to 3.1?

2011-03-18 Thread Amos Jeffries
On 18/03/11 22:50, Alex Crow wrote: cache_log /var/log/squid/cache.log cache_store_log none coredump_dir none no_cache deny all NP: directive name is just cache. Hi, Which directive of these should be just cache in 3.1? The one which used to be called no_cache back in Squid-2.2.

Re: [squid-users] Fw: squid download file larger than 2GB

2011-03-18 Thread Amos Jeffries
On 18/03/11 23:26, Jigar Raval wrote: Hello, Thank you for your kind help. I have installed squid as per below configuration option on my 32-bit linux RHEL 4 OS Squid Cache: Version 3.1.11-20110316 configure options: '--prefix=/usr/local/squidnew2' '--enable-delay-pools' '--enable-arp-acl'

Re: [squid-users] Re: Squid 3.1 and winbind 3.4.7 permissions issue on winbindd_privileged

2011-03-18 Thread Amos Jeffries
On 19/03/11 00:15, Go Wow wrote: There is a script in /etc/init.d/winbind I tried editing it but still no luck. I check /etc/init.d/smbd but there is no mentioning about winbind. On 18 March 2011 15:02, Alex Crow wrote: On 18/03/11 10:47, Go Wow wrote: Just to kill my curiosity and resolve

Re: [squid-users] Re: Squid 3.1 and winbind 3.4.7 permissions issue on winbindd_privileged

2011-03-18 Thread Go Wow
Thanks Amos. I was going to try with cache_effective_user setting in squid.conf but I will try this config first. Will update you guys. Regards On 18 March 2011 17:06, Amos Jeffries squ...@treenet.co.nz wrote: On 19/03/11 00:15, Go Wow wrote: There is a script in /etc/init.d/winbind I

[squid-users] ipcCreate: fork: (12) Cannot allocate memory

2011-03-18 Thread Winfield Henry
Hi, Squid has started to NOT come back up after log rotate. Here is snippett from cache.log. Machine has 1G ram and cache_mem is set to 500MB, cache_replacement_policy heap GDSF memory_replacement_policy heap GDSF storeDirWriteCleanLogs: Starting... 2011/03/18 04:00:01| 65536 entries

Re: [squid-users] no-cache , no-store

2011-03-18 Thread N3O
Hi amos Thanks for your reply. By turning setting session.cache_limiter off in php.ini would i be able to cache these php generated pages?? Do you think my squid.conf is correct to cache the pages?? i only get a lot of TCP MISS in my access.log :( This is my squid.conf:

Re: [squid-users] Re: Squid 3.1 and winbind 3.4.7 permissions issue on winbindd_privileged

2011-03-18 Thread Go Wow
After issuing the command gpasswd -a proxy winbindd_priv wbinfo -a username returns sucess for challenge/response but not for plain text. No error given sudo wbinfo -a this.user Enter this.user's password: plaintext password authentication failed Could not authenticate user this.user with

Re: [squid-users] performance drop moving from 3.0 to 3.1?

2011-03-18 Thread Alex Crow
Hi, Which directive of these should be just cache in 3.1? The one which used to be called no_cache back in Squid-2.2. Amos So cache deny all is the same as no_cache deny all? Alex

Re: [squid-users] Re: Squid 3.1 and winbind 3.4.7 permissions issue on winbindd_privileged

2011-03-18 Thread Go Wow
Winbind works properly , my bad I was issuing sudo wbinfo -a username where it should been sudo wbinfo -a domain\\username Thanks for help. Regard On 18 March 2011 19:22, Go Wow gow...@gmail.com wrote: After issuing the command gpasswd -a proxy winbindd_priv wbinfo -a username returns sucess

[squid-users] Squid in HA.

2011-03-18 Thread Edouard Zorrilla
Hey Guys, Could you confirm what would be the scenario for Squid working in HA ?., Thanks.,

Re: [squid-users] Squid in HA.

2011-03-18 Thread Jakob Curdes
Hey Guys, Could you confirm what would be the scenario for Squid working in HA ?., That depends on your setup ... we have squid running in a resource group with winbind (for authorization against AD), the respective internal gateway IP, and pingd resources that monitor external access and

Re: [squid-users] Squid in HA.

2011-03-18 Thread Edouard Zorrilla
My scenario is to use two Squids working as forwarding proxy : SquidA and SquidB. If SquidA fails users should be switched to the SquidB. If I decide to go with PAC files the workstation is the one that decide where to go. My concern is, where should I store the PAC file so that It can also

[squid-users] youtube safety mode

2011-03-18 Thread Test User
I had been asked if this is possible and doing a search through the mailing list and google, I could only find a howto for SafeSquid. Is it possible to do this in transparent mode using squid? If so, can someone point me to a doc on how to accomplish this? Thank you, Jon

[squid-users] Time-based shift of bandwidth from delay pool

2011-03-18 Thread Dayo Adewunmi
Hi I've got a number of delay pools,one of which is only really used during daytime. Is there anyway for me to take the bandwidth allocated to that daytime pool and assign it to the other pools? My specs are: 2.6.18-1ubuntu3 on Ubuntu 8.04. Best regards Dayo

[squid-users] Re: squid as forward proxy for portal run on tomcat

2011-03-18 Thread arielf
Hi Amos, thanks for your response. I'll try to clarify. I want my browser (a client's browser) to always go through a squid proxy for accessing any website (target application). This is because I have an icap service working on the data. Thus to my understanding this is a forward proxy. Since I

Re: [squid-users] Squid in HA.

2011-03-18 Thread david
On Fri, 18 Mar 2011, Edouard Zorrilla wrote: My scenario is to use two Squids working as forwarding proxy : SquidA and SquidB. If SquidA fails users should be switched to the SquidB. this is very similar to what I have. What I do is to run two systems with squid on each system. I have the

Re: [squid-users] performance drop moving from 3.0 to 3.1?

2011-03-18 Thread david
On Fri, 18 Mar 2011, Amos Jeffries wrote: On 18/03/11 21:54, da...@lang.hm wrote: On Fri, 18 Mar 2011, Amos Jeffries wrote: snip Some are offset by optimizations and fixes later, so its not cut-n-dry. Work is underway by Alex and Co. to identify the problems. We all work on ways to grab

Re: [squid-users] performance drop moving from 3.0 to 3.1?

2011-03-18 Thread david
On Fri, 18 Mar 2011, da...@lang.hm wrote: On Fri, 18 Mar 2011, Amos Jeffries wrote: On 18/03/11 10:05, da...@lang.hm wrote: ping, any comments on this? excluding acl's, cache_peer* and *direct config entries (~500 lines worth, all IP, servername, port# or url_regex based) Tested with or

Re: [squid-users] ipcCreate: fork: (12) Cannot allocate memory

2011-03-18 Thread Amos Jeffries
On 19/03/11 02:43, Winfield Henry wrote: Hi, Squid has started to NOT come back up after log rotate. Here is snippett from cache.log. Machine has 1G ram and cache_mem is set to 500MB, Squid uses fork() instead of vfork() to spawn helpers, on some OS the fork() implementation prevents

Re: [squid-users] ipcCreate: fork: (12) Cannot allocate memory

2011-03-18 Thread david
On Sat, 19 Mar 2011, Amos Jeffries wrote: On 19/03/11 02:43, Winfield Henry wrote: Hi, Squid has started to NOT come back up after log rotate. Here is snippett from cache.log. Machine has 1G ram and cache_mem is set to 500MB, Squid uses fork() instead of vfork() to spawn helpers, on some

Re: [squid-users] no-cache , no-store

2011-03-18 Thread Amos Jeffries
On 19/03/11 02:44, N3O wrote: Hi amos Thanks for your reply. By turning setting session.cache_limiter off in php.ini would i be able to cache these php generated pages?? You would yes, provided the PHP scripts generating them do not deny it. Do you think my squid.conf is correct to cache

Re: [squid-users] performance drop moving from 3.0 to 3.1?

2011-03-18 Thread Amos Jeffries
On 19/03/11 04:32, Alex Crow wrote: Hi, Which directive of these should be just cache in 3.1? The one which used to be called no_cache back in Squid-2.2. Amos So cache deny all is the same as no_cache deny all? Yes. They are identical, except that recently Squid will throw warnings

Re: [squid-users] performance drop moving from 3.0 to 3.1?

2011-03-18 Thread Amos Jeffries
On 19/03/11 10:44, da...@lang.hm wrote: On Fri, 18 Mar 2011, Amos Jeffries wrote: On 18/03/11 21:54, da...@lang.hm wrote: On Fri, 18 Mar 2011, Amos Jeffries wrote: snip Some are offset by optimizations and fixes later, so its not cut-n-dry. Work is underway by Alex and Co. to identify the

Re: [squid-users] performance drop moving from 3.0 to 3.1?

2011-03-18 Thread Amos Jeffries
On 19/03/11 10:53, da...@lang.hm wrote: On Fri, 18 Mar 2011, da...@lang.hm wrote: On Fri, 18 Mar 2011, Amos Jeffries wrote: On 18/03/11 10:05, da...@lang.hm wrote: ping, any comments on this? excluding acl's, cache_peer* and *direct config entries (~500 lines worth, all IP, servername,

Re: [squid-users] youtube safety mode

2011-03-18 Thread Amos Jeffries
On 19/03/11 07:14, Test User wrote: I had been asked if this is possible and doing a search through the mailing list and google, I could only find a howto for SafeSquid. Is it possible to do this in transparent mode using squid? If so, can someone point me to a doc on how to accomplish this?

Re: [squid-users] Time-based shift of bandwidth from delay pool

2011-03-18 Thread Amos Jeffries
On 19/03/11 07:37, Dayo Adewunmi wrote: Hi I've got a number of delay pools,one of which is only really used during daytime. Is there anyway for me to take the bandwidth allocated to that daytime pool and assign it to the other pools? Not as such. Pools do not hold any particular bandwidth.

[squid-users] documentation for --enable-forw-via-db

2011-03-18 Thread david
I see this config option in 3.2, but searching for this string (or subsets of it) on the wiki isn't finding anything. what does this option do? David Lang