nitesh naik wrote:
Hi All,
Issues was with Disk I/O. I have used null cache dir and squid
response is much faster now.
cache_dir null /empty
Thanks everyone for your help.
Regards
Nitesh
Oh dear, I can't believe I overlooked this.
cache_dir aufs (linux) or diskd (FreeBSD) is likely to
Not sure if url rewrite helper is slowing down process because via
cache manager interface it didn't show any connection back log. What
information I should look for in cache manager to find out the cause
of the slow serving of requests ?
Redirector Statistics:
program:
Does these Redirector statistics mean url rewrite helper program is
slowing down squid response ? avg service time is 1550 msec.
Redirector Statistics:
program: /home/zdn/bin/redirect_parallel.pl
number running: 2 of 2
requests sent: 1069753
replies received: 1069752
queue length: 0
avg service
Hi All,
Issues was with Disk I/O. I have used null cache dir and squid
response is much faster now.
cache_dir null /empty
Thanks everyone for your help.
Regards
Nitesh
On Tue, Nov 4, 2008 at 9:40 AM, nitesh naik [EMAIL PROTECTED] wrote:
Does these Redirector statistics mean url rewrite
Henrik / Amos,
Tried using these setting and I could see see delay in serving the
requests even for cached objects.
1225687535.330 5459 81.52.249.101 TCP_MEM_HIT/200 1475 GET
http://abc.xyz.com/3613/172/500/248/211/i5.js?z=9059 - NONE/-
application/x-javascript
1225687535.330 5614
On tor, 2008-10-30 at 19:50 +0530, nitesh naik wrote:
url rewrite helper script works fine for few requests ( 100 req/sec )
but slows down response as number of requests increase and it takes
10+ second to deliver the objects.
I'v run setups like this at more than thousand requests/s.
Is
nitesh naik wrote:
Henrik,
url rewrite helper script works fine for few requests ( 100 req/sec )
but slows down response as number of requests increase and it takes
10+ second to deliver the objects.
Is there way to optimise it further ?
url_rewrite_program /home/zdn/bin/redirect_parallel.pl
Henrik,
With this approach I see that only one redirector process is being
used and requests are processed in serial order. This causes delay in
serving the objects and even response for cache object is slower.
I tried changing url_rewrite_concurrency to 1 but with this setting
squid is not
There was mistake on my part I should have used following script to
process concurrent requests. Its working properly now.
#!/usr/bin/perl -an
BEGIN { $|=1; }
$id = $F[0];
$url = $F[1];
$url =~ s/\?.*//;
print $id $url\n;
next;
Regards
Nitesh
On Thu, Oct 30, 2008 at 12:15
Henrik,
url rewrite helper script works fine for few requests ( 100 req/sec )
but slows down response as number of requests increase and it takes
10+ second to deliver the objects.
Is there way to optimise it further ?
url_rewrite_program /home/zdn/bin/redirect_parallel.pl
url_rewrite_children
We use query string in each url for bursting cache at client end (
browser) hence its not important for us and it won't provide any
incorrect results. We already use similar configuration at CDN level.
We are trying to add squid layer between origin and CDN to reduce the
load on our origin
On mån, 2008-10-27 at 12:30 +0530, nitesh naik wrote:
We use query string in each url for bursting cache at client end (
browser) hence its not important for us and it won't provide any
incorrect results. We already use similar configuration at CDN level.
Why do you do this?
Henrik
On mån, 2008-10-27 at 12:30 +0530, nitesh naik wrote:
We use query string in each url for bursting cache at client end (
browser) hence its not important for us and it won't provide any
incorrect results. We already use similar configuration at CDN level.
On 27.10.08 10:09, Henrik
Henrik / Matus ,
For certain request we don't want client browser to look for object in
its cache and everything should be served fresh. CDN will determine
expire time for the object. Some of these objects doesn't send out
Last modified header. In our case it is not important to pass query
On mån, 2008-10-27 at 10:11 +0100, Matus UHLAR - fantomas wrote:
Write your own url rewriter helper. It's no more than a couple of lines
perl..
shouldn't that be storeurl rewriter?
No, since the backend server is not interested in this dummy query
string an url rewriter is better.
Regards
Henrik,
Is this code capable for handling requests in parallel ?
#!/usr/bin/perl
$|=1;
while () {
s|(.*)\?(.*$)|$1|;
print;
}
Regards
Nitesh
On Mon, Oct 27, 2008 at 4:04 PM, Henrik Nordstrom
[EMAIL PROTECTED] wrote:
On mån, 2008-10-27 at 10:11 +0100, Matus UHLAR - fantomas wrote:
On mån, 2008-10-27 at 16:12 +0530, nitesh naik wrote:
Henrik,
Is this code capable for handling requests in parallel ?
It's capable to handle the concurrent helper mode yes. It doesn't
process requests in parallell, but you don't need to.
Regards
Henrik
signature.asc
Description: This is a
Sorry, forgot the following important line in both
BEGIN { $|=1; }
should be inserted as the second line in each script (just after the #! line)
On mån, 2008-10-27 at 11:48 +0100, Henrik Nordstrom wrote:
Example script removing query strings from any file ending in .ext:
#!/usr/bin/perl
Henrik,
What if I use following code ? logic is same as your program ?
#!/usr/bin/perl
$|=1;
while () {
s|(.*)\?(.*$)|$1|;
print;
next;
}
Regards
Nitesh
On Mon, Oct 27, 2008 at 4:25 PM, Henrik Nordstrom
[EMAIL PROTECTED] wrote:
Sorry, forgot the following important line in both
See earlier response.
On mån, 2008-10-27 at 16:59 +0530, nitesh naik wrote:
Henrik,
What if I use following code ? logic is same as your program ?
#!/usr/bin/perl
$|=1;
while () {
s|(.*)\?(.*$)|$1|;
print;
next;
}
Regards
Nitesh
On Mon, Oct 27, 2008 at 4:25 PM,
On 25.10.08 12:40, Nitesh Naik wrote:
Squid should give out same object for different query string.
Basically it should strip query string and cache the object so that
same object is delivered to the client browser for different query
string.
Did you understand what I've said - that such
Squid should give out same object for different query string.
Basically it should strip query string and cache the object so that
same object is delivered to the client browser for different query
string.
I used squirm which is better I could see some performance improvement
but I am getting
On 24.10.08 13:40, nitesh naik wrote:
Is there way to ignore query string in url so that objects are cached
without query string ? I am using external perl program to strip them query
string from url which is slowing down response time. I have started 1500
processes of redirect program.
If
On fre, 2008-10-24 at 13:40 +0530, nitesh naik wrote:
Is there way to ignore query string in url so that objects are cached
without query string ? I am using external perl program to strip them query
string from url which is slowing down response time. I have started 1500
processes of
24 matches
Mail list logo