On 05/12/16 00:29, Alex Rousskov wrote:
On 12/04/2016 03:05 PM, Alfredo Rezinovsky wrote:
Let say a client asks for a URL using a range: 0-256000.
I want squid to ask just for 10.000 bytes and answer as if the request
was server side aborted.
I can change the request Range: "bytes=0-2
Let say a client asks for a URL using a range: 0-256000.
I want squid to ask just for 10.000 bytes and answer as if the request was
server side aborted.
I can change the request Range: "bytes=0-256000" to "bytes=0-1" with
and icap server
In the answer I'm trying to change the Content-Range
A small quantity of big regexes performs well. The CPU load is the same as
if there's no regex at all.
The thing I don't understand is why this specific regex matches every uri I
throw at it in squid, but not in linux grep, or regex101.com.
The generation of the big regexes takes seconds and is d
Not my question. I'm asking about performance
2016-04-27 9:09 GMT-03:00 Yuri Voinov :
> https://regex101.com is your best friend.
>
> 27.04.16 17:32, Alfredo Rezinovsky пишет:
>
> I saw in debug log that when an ACL has many regexes each one is compared
> sequ
I saw in debug log that when an ACL has many regexes each one is compared
sequentially.
If I have
www.facebook.com
facebook.com
www.google.com
google.com
If will be faster to check just ONE optimized regex like
(www\.)?(facebook|google).com than the previous three?
I'm really talking about opti
I'm using squid with a custom icap service. (Which code I plan to free)
http_port 3129 tproxy disable-pmtu-discovery=always
collapsed_forwarding on
dns_v4_first on
max_filedescriptors 8192
connect_retries 10
retry_on_error on
client_request_buffer_max_size 10250 KB
request_header_max_size 10240
2015-09-05 10:32 GMT-03:00 Antony Stone :
> On Saturday 05 September 2015 at 15:29:28, Alfredo Rezinovsky wrote:
>
> > I'm trying to adapt response for all text/html responses.
> >
> > icap_service service_respmod respmod_precache
> > icap://127.0.0.1:1344/resp
I'm trying to adapt response for all text/html responses.
icap_service service_respmod respmod_precache icap://127.0.0.1:1344/response
acl html rep_header -i Content-Type text\/html
adaptation_access service_respmod allow html
And it doesn't works.
The strange thing is that it does works with:
I'm using a custom compiled version
Squid Cache: Version 3.5.1-20150206-r13746
Service Name: squid
configure options: '--disable-auth' '--disable-auto-locale'
'--disable-cache-digests' '--disable-cpu-profiling'
'--disable-debug-cbdata' '--disable-delay-pools' '--disable-devpoll'
'--disable-ecap' '
The workers are to use most of the CPU cores (and not only 1, which is not
enough)
The hard drivers are to increase IO.
2015-02-09 18:28 GMT-03:00 Amos Jeffries :
> On 10/02/2015 5:11 a.m., Alfredo Rezinovsky wrote:
> > I have one of these lines for each cache disc (sdb,
full store rebuild and exit. So I'm sure the stores
are clean after starting the real squid and enabling transparent proxy
iptables rules?
El Mon Feb 09 2015 at 1:36:01, Eliezer Croitoru
escribió:
> On 08/02/2015 01:32, Alfredo Rezinovsky wrote:
> > Specially in servers with 6 workers
Thanks. That will do it.
El dom, feb 8, 2015 08:33, Amos Jeffries escribió:
> On 8/02/2015 12:32 p.m., Alfredo Rezinovsky wrote:
> > I'm getting some "kid registration timed out" messages sometimes
> >
> > Squid 3.5.1
> >
> > Specially in serve
I'm getting some "kid registration timed out" messages sometimes
Squid 3.5.1
Specially in servers with 6 workers and 6 cache discs (Each worker has a
cache_dir in each disc for IO balancing)
If I use only 4 discs the problem disapears.
The error appears about 7 seconds after starting squid.
Th
El 19/12/14 a las 12:53, Amos Jeffries escibió:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 20/12/2014 4:21 a.m., Alfredo Rezinovsky wrote:
I have a few TPROXY implementations with squid. In only one of
them recently I'm getting lots of: "x-squid-error: ERR_CONNECT_FAIL
110&quo
I have a few TPROXY implementations with squid. In only one of them
recently I'm getting lots of: "x-squid-error: ERR_CONNECT_FAIL 110" and
some 504 timeouts.
Squid Cache: Version 3.4.10-20141218-r13197
configure options: '--prefix=/opt/sepia/squid'
'--sysconfdir=/var/lib/sepia/' '--disable-a
15 matches
Mail list logo