Hi,
   Thanks for the hint.
   I am pasting below the strace output for both squid
and the redirector :-

Squid's trace :-
read(16, "GET http://us.f411.mail.yahoo.co";..., 4095)
= 2297
 read(6, "\n\n", 8192)                   = 2
 write(6,
"h\312)\10\334\261\22Bs.f411.mail.yahoo.com/li"...,
87) = 87
 write(14, "GET /lib_web/inbox_views_scripts"...,
2366) = 2366
 read(14, "HTTP/1.1 304 Not Modified\r\nDate:"...,
87380) = 114
 write(16, "HTTP/1.0 304 Not Modified\r\nDate:"...,
152) = 152
 write(5, "1077518955.788   1581 10.10.10.1"..., 142)
= 142
 read(16, 0x83cef48, 4095)               = -1 EAGAIN
(Resource temporarily unavailable)

Redirector's trace :-

read(0,
"h\312)\10\334\261\22Bs.f411.mail.yahoo.com/li"...,
4096) = 87
write(3, "Mon Feb 23 12:19:14 2004:  Clien"..., 142) =
142
write(3,
"h\312)\10\334\261\22Bs.f411.mail.yahoo.com/li"...,
87) = 87
write(4, "Mon Feb 23 12:19:14 2004:  Clien"..., 142) =
142
read(3, "\n", 1000)                     = 1
write(4, "Mon Feb 23 12:19:14 2004:  Clien"..., 67) =
67
write(1, "\n", 1)                       = 1
write(1, "\n", 1)                       = 1
read(0,
"\334\261\22B\334\261\22Bs.js1.yimg.com/us.yimg.c"...,
4096) = 78
write(3, "Mon Feb 23 12:19:15 2004:  Clien"..., 133) =
133
write(3,
"\334\261\22B\334\261\22Bs.js1.yimg.com/us.yimg.c"...,
78) = 78
write(4, "Mon Feb 23 12:19:15 2004:  Clien"..., 133) =
133
read(3, "\n", 1000)                     = 1
write(4, "Mon Feb 23 12:19:15 2004:  Clien"..., 67) =
67
write(1, "\n", 1)                       = 1
write(1, "\n", 1)                       = 1

   From the above, I notice that squid is writing a
malformed url which is in turn being read by the
redirector thread.
   If my inference is right, then plz tell me what the
solution for this problem is. Else tell me where the
problem could be.
   Another problem that I face is, once such a
malformed url appears then all the subsequent requests
also fail.

   Regards and TIA,
      Deepa


--- Henrik Nordstrom <[EMAIL PROTECTED]> wrote: > > 
  Secondly, I did an strace on the redirector
> program
> > but am not getting any output - plz tell me how to
> do
> > it.
> 
> You need to strace the first redirector as this is
> the one most likely to 
> receive the request.
> 
> To make it easier to locate the correct redirector
> process limit the 
> number of redirectors to 1 during the test.
> 
> Regards
> Henrik
>  

________________________________________________________________________
Yahoo! India Insurance Special: Be informed on the best policies, services, tools and 
more. 
Go to: http://in.insurance.yahoo.com/licspecial/index.html

Reply via email to