Skip to main content

exited due to signal 25 (squid Error)

[SOLVED]

Hi Guys ,

Some times back I have faced some problem in one my squid proxy server. My squid service was killed and was failed to start the service. 

# service squid start

Starting squid: ....................                       [FAILED]

There was no visible error on that screen. It simply returned the status is failed. Then I check the log file of system. There was an error "exited due to signal 25".

Jul 27 12:48:46 PRXY squid[14372]: Squid Parent: child process 14375 started
Jul 27 12:48:46 PRXY squid[14372]: Squid Parent: child process 14375 exited due to signal 25
Jul 27 12:48:49 PRXY squid[14372]: Squid Parent: child process 14381 started
Jul 27 12:48:50 PRXY squid[14372]: Squid Parent: child process 14381 exited due to signal 25
Jul 27 12:48:53 PRXY squid[14372]: Squid Parent: child process 14387 started
Jul 27 12:48:53 PRXY squid[14372]: Squid Parent: child process 14387 exited due to signal 25
Jul 27 12:48:56 PRXY squid[14372]: Squid Parent: child process 14393 started
Jul 27 12:48:56 PRXY squid[14372]: Squid Parent: child process 14393 exited due to signal 25
Jul 27 12:48:59 PRXY squid[14372]: Squid Parent: child process 14400 started
Jul 27 12:48:59 PRXY squid[14372]: Squid Parent: child process 14400 exited due to signal 25
Jul 27 12:48:59 PRXY squid[14372]: Exiting due to repeated, frequent failures

I was confused. First I clear the cache. After that I have tried again and again to start squid. But it always FAILED.  Then i did some googling. I find some information from web says that "That may be because of bigger log file". If your squid log is larger than 2 GB then it will create problem to start squid. then i checked my squid logs. 
# du -sh /var/log/squid/*
1.5G /var/log/squid/access.log
375M /var/log/squid/access.log.till20120425
1.7M /var/log/squid/cache.log
0         /var/log/squid/cache.log.log
688K /var/log/squid/log5.txt
2.1G /var/log/squid/store.log

Found my store.log is more than 2 GB. So i decided to clear the log. 

# cat /dev/null > store.log
#

After clearing that log i have started the squid again. Its simply started without any problem. 

# service squid start
Starting squid: .                                          [  OK  ]


Thank You... :) 


Comments