On 29/11/2015 8:11 p.m., Alex Samad wrote:
> Hi
>
> its in the scripts
> stop() {
> echo -n $"Stopping $prog: "
> $SQUID -k check -f $SQUID_CONF >> /var/log/squid/squid.out 2>&1
> RETVAL=$?
> if [ $RETVAL -eq 0 ] ; then
>
>
> Any reason to check the config before
On 29/11/2015 09:11, Alex Samad wrote:
Hi
its in the scripts
stop() {
echo -n $"Stopping $prog: "
$SQUID -k check -f $SQUID_CONF >> /var/log/squid/squid.out 2>&1
RETVAL=$?
if [ $RETVAL -eq 0 ] ; then
Any reason to check the config before stopping a running s
Hi
its in the scripts
stop() {
echo -n $"Stopping $prog: "
$SQUID -k check -f $SQUID_CONF >> /var/log/squid/squid.out 2>&1
RETVAL=$?
if [ $RETVAL -eq 0 ] ; then
Any reason to check the config before stopping a running squid ??
On 29 November 2015 at 09:32, Eliez
On 29/11/2015 11:32 a.m., Eliezer Croitoru wrote:
> A check on what?
> Basically to verify if squid is still running you need to verify that
> there are is not one squid instance running.
> The PID is kind of a hack to make sure squid is still there or not.
> In most cases you can cancel the timeou
A check on what?
Basically to verify if squid is still running you need to verify that
there are is not one squid instance running.
The PID is kind of a hack to make sure squid is still there or not.
In most cases you can cancel the timeout and check only for the PID.
Also notice that there is a
Hi
yeah from the rpms. I found the variables to lengthen the timeout period.
But I got in the strange situation where the pid file was still there
(shutdown took longer than the timeout). and the scripts still thought
it was running, so stop would fail as it does a check first. do we
need to do a
What script are you using?
If it's from my RPMs I might be able to patch it and make sure it will
work better.
Eliezer
On 27/11/2015 08:09, Alex Samad wrote:
Hi
I have a rather long list of blocked address in my squid config.
and the default start stop timeout values are a bit short for my s
On 27/11/2015 7:09 p.m., Alex Samad wrote:
> Hi
>
> I have a rather long list of blocked address in my squid config.
> and the default start stop timeout values are a bit short for my setup.
>
Then extend them.
> when i did stop it failed because the time to parse the config took to
> long. any