Search squid archive

AW: Aw: Running two squid3 process, Why?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

would like to know if from user perspective the signal 6 will have a significant http service interruption.
I've tested this with wget and sent a kill -6 to the child process and to my surprise wget was still downloading without any service interruption.

How would loadbalancers handle this behaviour ? Do they notice this signal 6 ?

By the way is signal 6 really 

$ kill -l
6) SIGABRT ?

e.g.

Aug  4 10:19:25 mybox squid[13220]: http.cc(542) cacheableReply: HttpStateData:
:cacheableReply: unexpected http status code 604
Aug  4 10:19:25 mybox squid[13220]: ctx: exit level  0
Aug  4 10:27:27 mybox squid[13220]: assertion failed: store_client.cc:430: "STO
RE_DISK_CLIENT == getType()"
Aug  4 10:27:27 mybox squid[11814]: Squid Parent: child process 13220 exited du
e to signal 6 with status 0
Aug  4 10:27:30 mybox squid[11814]: Squid Parent: child process 14441 started
Aug  4 10:27:30 mybox squid[14441]: Starting Squid Cache version 3.1.0.12-20090
803 for x86_64-unknown-linux-gnu...
Aug  4 10:27:30 mybox squid[14441]: Process ID 14441

Is this observation right ?

kind regards,

Jan


> -----Ursprüngliche Nachricht-----
> Von: Amos Jeffries [mailto:squid3@xxxxxxxxxxxxx]
> Gesendet: Sonntag, 2. August 2009 02:46
> An: Jeff Pang
> Cc: sachinmalave@xxxxxxxxx; squid-users@xxxxxxxxxxxxxxx
> Betreff: Re: Aw:  Running two squid3 process, Why?
> 
> Jeff Pang wrote:
> >
> >
> >
> > ----- Original Nachricht ----
> > Von:     Sachin Malave <sachinmalave@xxxxxxxxx>
> > An:      squid-users@xxxxxxxxxxxxxxx
> > Datum:   01.08.2009 14:37
> > Betreff:  Running two squid3 process, Why?
> >
> >> I am using squid3, After starting squid It creates two process
> >>
> >> $sudo squid3
> >> $ps -A
> >>
> >> It displays something like......
> >>                     .
> >>                     .
> >>  6325 ?        00:00:00 squid3
> >>  6327 ?        00:00:25 squid3
> >>  6328 ?        00:00:00 unlinkd
> >>  6367 ?       .
> >>                    .
> >>                    .
> >>
> >> Can anybody tell me why it has created two processes?
> >>
> >
> >
> > Well, from my looking at the sources years ago, one process is the
> parent, who does nothing but monitor the child, another process is the
> child, who does the actual http request handling. When child dies due
> to some exception, parent will re-launch another new child.
> >
> > Jeff.
> 
> Correct. And the third one handles the disk deletions.
> 
> Amos
> --
> Please be using
>    Current Stable Squid 2.7.STABLE6 or 3.0.STABLE17
>    Current Beta Squid 3.1.0.12


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux