, 2011 at 2:38 PM, Guy Bashkansky guy...@gmail.com wrote:
I have to modify the behavior of a customized version of Squid 2.4
STABLE6 code, either by configuration or by coding. Currently I can
not switch to any other Squid version, because of the customizations.
Problem description:
- When
I have to modify the behavior of a customized version of Squid 2.4
STABLE6 code, either by configuration or by coding. Currently I can
not switch to any other Squid version, because of the customizations.
Problem description:
- When a client sends a byte-range request with an
Amos, Matus,
Some websites embed in query terms arbitrary redundant information
which is irrelevant to content distribution, but prevents effective
caching by giving same object different URLs each time.
For such websites (recognized by regex ACLs), stripping those
redundant cache-unfriendly
2010/9/8 Henrik Nordström hen...@henriknordstrom.net:
tis 2010-09-07 klockan 18:59 -0700 skrev Guy Bashkansky:
/usr/local/squid/bin/strip-query.pl
#!/usr/local/bin/perl -Tw
$| = 1; while() { chomp; s/\?\S*//; print; } ### my strip query test
If you chomp the newline then you need
-query.pl' processes...
$ wget ... 'origin_url'
...Proxy request sent, awaiting response... ### gets stuck
(Without storeurl_rewrite wget works OK)
What am I missing?
2010/9/7 Henrik Nordström hen...@henriknordstrom.net
fre 2010-09-03 klockan 18:03 -0700 skrev Guy Bashkansky:
Is there a way
Is there a way to ignore URI query terms when forming store keys?
Maybe some rule or extension?
In the Squid code it could look something like:
{ char *p = strchr(uri, '?'); if (p) *p = '\0'; }
But the only code like this deals with strip_query_terms,
which only affects logging, not storing.
I'm observing very high Squid CPU load, which negatively affects performance.
Enabling debug_options ALL,9 for a few seconds shows this extremely
frequent loop -- Squid is doing only this millions of times:
2010/01/07 12:29:23| storeDiskdDirRebuildFromSwapLog: SWAP_LOG_ADD
] 20060305
There are 7 fork()s for unlinkd/diskd helpers. Can these fork()s
affect profiling info?
On Wed, Dec 9, 2009 at 2:04 AM, Robert Collins
robe...@robertcollins.net wrote:
On Tue, 2009-12-08 at 15:32 -0800, Guy Bashkansky wrote:
I've built squid with the -pg flag and run it in the no-daemon
I've built squid with the -pg flag and run it in the no-daemon mode
(-N flag), without the initial fork().
I send it the SIGTERM signal which is caught by the signal handler, to
flag graceful exit from main().
I expect to see meaningful squid.gmon, but 'gprof squid squid.gmon'
only shows the
CPU load spike write() sometimes returns EPIPE, 'Broken
pipe'.
Does my version (2.4 STABLE6) ring any bells?
On Sat, Dec 5, 2009 at 3:33 AM, Amos Jeffries squ...@treenet.co.nz wrote:
Guy Bashkansky wrote:
Amos,
Where can I find a list of the solved Squid uses 100% CPU bugs? It
would help
Hi,
The problem: on a certain origin content, Squid reaches 100% CPU
periodically, every 10 minutes, so the cache service suffers.
Any clues where to look? Maybe this problem and its solution are known?
The CPU load pattern is something like this, minute-by-minute:
40%, 40%, 60%, 80%, 99%,
Amos,
Where can I find a list of the solved Squid uses 100% CPU bugs? It
would help me figure out which one I may be experiencing.
When I attach gdb to the running squid process, it does not find
debugging info, despite compiling with -g flag (maybe a gdb setup
problem, nm does show symbols).
Using Squid as a reverse cache proxy, need to give access only to
clients whose IP addresses are from particular netblocks:
acl service dstdomain .foo.com
acl clients src 123.45.67.89/255.255.255.128
http_access deny service all
http_access allow service clients
What may be the
the Squid artifact of inserting an Expires
header.
Is there a Squid configuration ability to do so? If not, what would
be the right way to do it in my local code branch?
On Fri, Aug 28, 2009 at 6:12 PM, Guy Bashkansky guy...@gmail.com wrote:
Henrik,
Thanks, it works!
Guy
On Thu, Aug 27, 2009
and how it is
controlled.
On Wed, Sep 2, 2009 at 1:29 PM, Henrik
Nordstromhen...@henriknordstrom.net wrote:
ons 2009-09-02 klockan 12:42 -0700 skrev Guy Bashkansky:
Now I see the Expires header having a value in the past, which may
confuse clients and caches further down the chain.
Scenario
Please help:
Trying to set an exact time-to-live (override origin cache control) in
Squid (2.4 STABLE6) configuration:
___
refresh_pattern 30_minutes_cache_control_url 15 0% 15
override-expire ignore-max-age
Observed: URL is matched (in log), but objects still cached for 30
minutes,
Forgot to mention -- Squid is used as a _reverse_ cache proxy (server side).
On Wed, Aug 26, 2009 at 2:23 PM, Guy Bashkanskyguy...@gmail.com wrote:
Please help:
Trying to set an exact time-to-live (override origin cache control) in
Squid (2.4 STABLE6) configuration:
___
refresh_pattern
17 matches
Mail list logo