Re: [squid-users] Squid redirectors children doesn't shutdown/die with squid

From: Jorge Iván Burgos Aguilar <jorgeburgos_at_inaipyucatan.org.mx>
Date: Thu, 9 Sep 2010 09:25:38 -0500

Hi again,

2010/9/8 John Doe <jdmls_at_yahoo.com>:
> Maybe try -u...?
>       -u     Force stdin, stdout and stderr to  be  totally  unbuffered.   On
>              systems  where  it matters, also put stdin, stdout and stderr in
>              binary mode.  Note that there is internal  buffering  in  xread-
>              lines(),  readlines()  and  file-object  iterators ("for line in
>              sys.stdin") which is not influenced by  this  option.   To  work
>              around  this, you will want to use "sys.stdin.readline()" inside
>              a "while 1:" loop.
>
M using it since the advice from diego...

Dump question for anyone with experience in building redirectors:
How does concurrency is being implemented in the redirectors...
A) A parallel-connection to the redirector
B) More than one line at once
C) Both
???

Best Regards
Received on Thu Sep 09 2010 - 14:25:46 MDT

This archive was generated by hypermail 2.2.0 : Fri Sep 10 2010 - 12:00:04 MDT