There is..
and squid does that..
the limit in compilation options just set the settings to this specific
default which if not available ignored and uses the limit by the system
and it's logged in the cache.log file.
Maybe this function dosnt work well but I'm almost sure it works fine
since i
yes, it's confusing to have two different fd limits, one for squid and
one for OS.
I wonder is it possible to obtain the system fd limits, and put it in
the log message when squid is running out of fds? I think that would
solve all these kind of problems.
T
On Sat, Dec 29, 2012 at 3:27 PM, E
On 30/12/2012 6:04 a.m., captchrisd wrote:
I am trying to run many HTTP and HTTPS website behind a Squid Reverse Proxy.
But it is not acceptable to run the site in HTTPS only, so I need to
redirect to HTTPS on occasion. But my backend web server does not know the
request was made in HTTPS due to
Great!
Nice to know that.
On 30/12/2012 00:02, 叶雨飞 wrote:
ubuntu 10.04 . and appearently /etc/security/limits.conf is not
working on it because it doesn;t configure with pam_session.
I just added ulimit -n 65535 in my launch script
--
Eliezer Croitoru
https://www1.ngtech.co.il
sip:ngt...@si
On Thu, 27 Dec 2012 10:54:09 +0100
David Touzeau wrote:
> Dear,
>
> I have set 2 caches on my squid 3.2.5
>
> #- Multiple cpus -- (disabled)
> workers 1
> cache_dir aufs /var/squid/cache1 1105 16 256 max-size=716800
> cache_dirufs /var/cache/squid 2000 16 256
>
> in caches infos we
ubuntu 10.04 . and appearently /etc/security/limits.conf is not
working on it because it doesn;t configure with pam_session.
I just added ulimit -n 65535 in my launch script
On Sat, Dec 29, 2012 at 1:56 PM, Eliezer Croitoru wrote:
> I am using the trunk version and didn't check any other versi
I am using the trunk version and didn't check any other version and I
don't think that there was a change about limits checks or way of
handling in squid for a long time.
The ulimits are tricky in some systems due to system policies.
What linux distro are you using?
Eliezer
On 29/12/2012 23:2
Is this a new patch or is it in 3.2.5? I've never seen anything less
than 16384 in the log file, even though I've run into the issue in
3.2.5
On Sat, Dec 29, 2012 at 1:19 PM, Eliezer Croitoru wrote:
> I made sure and squid logs the current available FD from the OS and not just
> using compiled op
I made sure and squid logs the current available FD from the OS and not
just using compiled options.
2012/12/29 23:16:18 kid1| With 8192 file descriptors available
Eliezer
On 29/12/2012 22:41, 叶雨飞 wrote:
So you are saying even squid is configured to use 16384 fd, it
couldn't because limit is
On Dec 29, 2012, at 12:41 PM, 叶雨飞 wrote:
> So you are saying even squid is configured to use 16384 fd, it
> couldn't because limit is 1024?
>
> That's kind of confusing, I tried to use ulimit -n 16384 as root to
> raise FD limit now, will report back.
The ulimit settings need to be system
If I remember right it logs it in the cache.log but it's a basic linux
settings\knowledge.
It's a good idea to check a match between squid and machine limits and
report in a case of mismatch by lower value in the system.
Eliezer
On 29/12/2012 22:41, 叶雨飞 wrote:
So you are saying even squid is
So you are saying even squid is configured to use 16384 fd, it
couldn't because limit is 1024?
That's kind of confusing, I tried to use ulimit -n 16384 as root to
raise FD limit now, will report back.
Maybe squid can probe at start and warn about mis-matching fd limits?
On Sat, Dec 29, 2012 at
Hey,
It's probably the linux ulimit settings.
run:
ulimit -Sn
ulimit -Hn
If there is a limit of 1k in the list you will need to change it since
squid bound to the OS limits.
Regards,
Eliezer
On 29/12/2012 14:30, 叶雨飞 wrote:
Squid is configured with 16384 FD and it is only using 1k, it seems
I am trying to run many HTTP and HTTPS website behind a Squid Reverse Proxy.
But it is not acceptable to run the site in HTTPS only, so I need to
redirect to HTTPS on occasion. But my backend web server does not know the
request was made in HTTPS due to the reverse proxy.
I need to be able to add
Squid is configured with 16384 FD and it is only using 1k, it seems it
is still complains about running out of FD. Is there a regression from
3.2.5 -》 3.2.2 ?
2012/12/29 04:25:53 kid1| Reserved FD adjusted from 100 to 15391 due to failures
2012/12/29 04:25:53 kid1| comm_open: socket failure: (24)
15 matches
Mail list logo