Re: [squid-users] Error restarting squid from RPM

2014-05-22 Thread Eliezer Croitoru
Thanks Amos, I will change the init script to use this option on the next rpm (which is basically ready and I want to release Oracle + CentOS together, Eliezer On 05/21/2014 08:52 PM, Amos Jeffries wrote: Yes thats probably why its not used.:-( It is there whenever SIGTTIN is defined by

Re: [squid-users] Error restarting squid from RPM

2014-05-21 Thread Amos Jeffries
On 21/05/2014 4:10 p.m., Cinaed Simson wrote: On 05/20/2014 08:46 AM, fernando wrote: Hi, I don't know if this affects only the RPM packaging or squid sources. I'm using Eliezer packages for CentOS 6, namely 3.4.3-1.el6.x86)64. The issue is that sometimes service squid restart leaves old

Re: [squid-users] Error restarting squid from RPM

2014-05-21 Thread Eliezer Croitoru
Just to understand what I read here and there: Is there a squid -k restart option? I have tried this: squid -? 21 |grep -i restart echo $? and the result was: 1 which means there is not basic documentation of this option. Thanks, Eliezer On 05/21/2014 09:40 AM, Amos Jeffries wrote: The

Re: [squid-users] Error restarting squid from RPM

2014-05-21 Thread Fernando Lozano
Hi Cinaed, The problem as I see it is there needs to be timeout (or a wait) between stop and start in restart. The stop branch returns immediately and then executes the start branch which sees the pid file (since the controlling squid is waiting for the children to complete their processes)

Re: [squid-users] Error restarting squid from RPM

2014-05-21 Thread Amos Jeffries
On 21/05/2014 8:59 p.m., Eliezer Croitoru wrote: Just to understand what I read here and there: Is there a squid -k restart option? I have tried this: squid -? 21 |grep -i restart echo $? and the result was: 1 which means there is not basic documentation of this option. Yes thats probably

[squid-users] Error restarting squid from RPM

2014-05-20 Thread fernando
Hi, I don't know if this affects only the RPM packaging or squid sources. I'm using Eliezer packages for CentOS 6, namely 3.4.3-1.el6.x86)64. The issue is that sometimes service squid restart leaves old squid processes running alongside newer ones. I have to killall squid and start again to

Re: [squid-users] Error restarting squid from RPM

2014-05-20 Thread Cinaed Simson
On 05/20/2014 08:46 AM, ferna...@lozano.eti.br wrote: Hi, I don't know if this affects only the RPM packaging or squid sources. I'm using Eliezer packages for CentOS 6, namely 3.4.3-1.el6.x86)64. The issue is that sometimes service squid restart leaves old squid processes running