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

2013-09-18 Thread Mohsen Dehghani
Ubuntu 12.04 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

Re: [squid-users] Squid intermittently fails with 503 after connect

2013-09-18 Thread Alfredo Rezinovsky
El 16/09/13 18:35, John McGowan escribió: Hi, First, a brief background: I'm using squid as a non caching proxy server within Amazon AWS to serve as a common place for my web applications to make API requests to third parties. This is because many of the 3rd parties I connect to have private

Re: [squid-users] Squid intermittently fails with 503 after connect

2013-09-18 Thread John McGowan
On Wed, Sep 18, 2013 at 7:41 AM, Alfredo Rezinovsky alfr...@fing.uncu.edu.ar wrote: El 16/09/13 18:35, John McGowan escribió: squid defaults connect_retries to 0 try setting it to something and see if the 503 errors frequency are lower with this. I remember looking at that configuration

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

2013-09-18 Thread Eliezer Croitoru
SUSE,CentOS,UBUNTU and whatever that actually works.. Eliezer On 09/18/2013 11:47 AM, Mohsen Dehghani wrote: Ubuntu 12.04 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

Re: [squid-users] Re: Video played using vlc media player from a windows media server in not getting stored in cache

2013-09-18 Thread Eliezer Croitoru
Hey, The answer to all of your questions is very simple. Squid caches http objects identified by the url and the headers. the vlc request seems like a 206 partial content request and response. the only way to cache this kind of object now in squid is to first cache the whole file while serving

Re: [squid-users] Set field in HTTP header in Squid 3.1

2013-09-18 Thread Alex Rousskov
On 09/17/2013 09:48 PM, Sachin Gupta wrote: We are using Squid 3.1 and need to do the following: 1. We have a list of URLs which we want to allow. 2. Squid to read this list of URLs and for each matching entry in the list, set a particular field (insert a string) in the HTTP header. 3. Using

Re: [squid-users] compiler-flags.m4 and modifying options

2013-09-18 Thread Alex Rousskov
On 09/17/2013 06:00 PM, Jeffrey Walton wrote: Forgive my ignorance here because I still write my makefiles by hand. If I wanted to delete an option used by the project, is it as simple as removing the option from the switch statement around line 155: AC_DEFUN([SQUID_CC_GUESS_OPTIONS], [

Re: [squid-users] Set field in HTTP header in Squid 3.1

2013-09-18 Thread Sachin Gupta
Thanks Alex. We are in a stage where even ICAP cannot be deployed :( So i had started digging into SQUID code to find where hooks can be placed. I was trying to do the following: 1. Configured and ACL (whiteLst) in squid.conf for the allowed list of file. 2. In code i am trying to find a place

Re: [squid-users] Set field in HTTP header in Squid 3.1

2013-09-18 Thread Alex Rousskov
On 09/18/2013 11:10 AM, Sachin Gupta wrote: We are in a stage where even ICAP cannot be deployed :( but eCAP probably can be. So i had started digging into SQUID code to find where hooks can be placed. Squid development questions should be posted to the squid-dev mailing list, but here are

Re: [squid-users] Samba 4 vs Squid 3.2 - NTLM Authentication

2013-09-18 Thread Aecio Alves
Hello, Sorry for the delay in answering you. I'm using - helper-protocol = squid-2.5-ntlmssp. I tried to use version 3.3 of squid, but had several errors during compilation. But I can try again. I am using version 4 of Samba. The OS I use is CentOS 5.9. Thank you. Aécio Em 9/16/13 8:41

Re: [squid-users] compiler-flags.m4 and modifying options

2013-09-18 Thread Jeffrey Walton
On Wed, Sep 18, 2013 at 12:39 PM, Alex Rousskov rouss...@measurement-factory.com wrote: On 09/17/2013 06:00 PM, Jeffrey Walton wrote: Forgive my ignorance here because I still write my makefiles by hand. If I wanted to delete an option used by the project, is it as simple as removing the