Re: [squid-users] Can't cache static content (exe file)

2013-09-15 Thread root
this is my squid.conf and access.log i hope someone can solved this problem On 2013-09-16 08:34, Eliezer Croitoru wrote: The file is valid for about a DAY.. I would say that the main thing will be to look at the access.log and then into the squid.conf and then into the store.log. If you can sha

[squid-users] Caching linux distro VS Mirroring them...

2013-09-15 Thread Eliezer Croitoru
I have seen couple questions about trying to force of linux distributions mirrors into squid cache. This is nice but it missed the whole point of squid.. let say I do have a log of the proxy traffic domains and I see a server or a domain that takes a nice amount of traffic like debian deb files et

Re: [squid-users] Can't cache static content (exe file)

2013-09-15 Thread Eliezer Croitoru
The file is valid for about a DAY.. I would say that the main thing will be to look at the access.log and then into the squid.conf and then into the store.log. If you can share squid.conf and access.log We will be able to help you. Notice that there is kind of a "bug" that forces squid 3.4 or cou

Re: [squid-users] 100% CPU Load problem with squid 3.3.8

2013-09-15 Thread Eliezer Croitoru
Well for me it works when I start a shell using "su - user". But there is a need to know and map the linux boot process and them findout why bash is limited to 1024 FD instead of 4k or 4m. The basic issue is a security issue.. which I support enforcing as it is now. What squid can do as a process t

Re: [squid-users] 100% CPU Load problem with squid 3.3.8

2013-09-15 Thread Carlos Defoe
Seems right, Kinkie. "ulimit Provides control over the resources available to the shell and to processes started by it". So that's why squid process inherits the configuration made on the initialization script. I assume that doesn't matter which user runs the subprocess. But limits.conf is a PAM f

Re: [squid-users] 100% CPU Load problem with squid 3.3.8

2013-09-15 Thread Kinkie
On Sun, Sep 15, 2013 at 2:51 PM, Carlos Defoe wrote: > I got the same result as Mohsen. The only thing that worked was adding > "ulimit -n mynumber" to the init script. > > It was weird for me, because the script is run by root, not the squid > user, and i thought ulimit -n applied only to the cur

Re: [squid-users] Can't cache static content (exe file)

2013-09-15 Thread Antony Stone
On Sunday 15 September 2013 at 18:22:31, r...@linuxcoding.org wrote: > i'm can't cache this file using squid-3.HEAD-20130910-r13002 > http://download.nullsoft.com/winamp/client/winamp565_full_emusic-7plus_en-u > s.exe > > i think that is static file but can't be cache. What does access.log show

[squid-users] Can't cache static content (exe file)

2013-09-15 Thread root
i'm can't cache this file using squid-3.HEAD-20130910-r13002 http://download.nullsoft.com/winamp/client/winamp565_full_emusic-7plus_en-us.exe i think that is static file but can't be cache. here my squid.conf # ACL Local Network acl localnet src 192.168.1.0/24 # localnet # ACL ports group acl

Re: [squid-users] 100% CPU Load problem with squid 3.3.8

2013-09-15 Thread Eliezer Croitoru
On 09/15/2013 03:51 PM, Carlos Defoe wrote: > I got the same result as Mohsen. The only thing that worked was adding > "ulimit -n mynumber" to the init script. > > It was weird for me, because the script is run by root, not the squid > user, and i thought ulimit -n applied only to the current logg

Re: [squid-users] 100% CPU Load problem with squid 3.3.8

2013-09-15 Thread Carlos Defoe
I got the same result as Mohsen. The only thing that worked was adding "ulimit -n mynumber" to the init script. It was weird for me, because the script is run by root, not the squid user, and i thought ulimit -n applied only to the current logged in user. But I think it applies to any session that

Re: [squid-users] Re: squid 3.2.0.14 with TPROXY => commBind: Cannot bind socket FD 773 to xxx.xxx.xxx.xx: (98) Address

2013-09-15 Thread Nikolai Gorchilov
On Sun, Sep 15, 2013 at 12:52 AM, Eliezer Croitoru wrote: > I have found the problem and I will rephrase the problem description: > While using tproxy the main issue is that the ports of the source IP is NOPE. As I said before, it's NOT related to TPROXY code at all. Same problem exists, even whe

Re: [squid-users] Re: squid 3.2.0.14 with TPROXY => commBind: Cannot bind socket FD 773 to xxx.xxx.xxx.xx: (98) Address

2013-09-15 Thread Nikolai Gorchilov
On Sat, Sep 14, 2013 at 11:59 PM, Eliezer Croitoru wrote: > OK so let's make this experience that you already have as a public > resource.. here it is: a simple php script that demonstrates the issue: https://gist.github.com/ngorchilov/6570413#file-s-php > This way more then just you will have

Re: [squid-users] 100% CPU Load problem with squid 3.3.8

2013-09-15 Thread Eliezer Croitoru
What?? what OS are you using? Eliezer On 09/15/2013 09:07 AM, Mohsen Dehghani wrote: > All workarounds failed except adding "ulimit -n 65000" to squid init file > > Adding "session required pam_limits.so" to "/etc/pam.d/common-session" also > failed for me. > The box never read '/etc/security/li

Re: [squid-users] Disable -Werror when building Squid

2013-09-15 Thread Jeffrey Walton
On Sat, Sep 14, 2013 at 11:59 PM, Amos Jeffries wrote: > On 14/09/2013 6:28 a.m., Jeffrey Walton wrote: >> >> I'm trying to get analysis tools on squid, but I'm having trouble due >> to -Werror. -Werror is causing a continuous stream of compile and link >> failures. >> >> How does one disable -Wer

[squid-users] WCCP issues with Centos 6.3 and Cisco 2901

2013-09-15 Thread Jordan Dalley
Hi Squid community, I have an issue whereby I am just struggling to find out why it wont work. I have trawled through multiple forums, howto's, faq's etc but no matter what I do, I cannot get it to work properly. Here is what I have done so far: Router IP: 10.114.3.34 Squid IP: 10.112.4.4 WAN