LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-23-2004, 12:49 PM   #1
simplyrahul
LQ Newbie
 
Registered: Oct 2004
Location: India
Posts: 26

Rep: Reputation: 15
squid stops due to signal 6 and signal 25


Hi,

i'm got this msg when the SQUID stopped automatically.

Infact i have enough space in /usr/local/squid/var/logs drive.
the log file is also under 100 MB.

Any Guess...?
*********************************************************************************************

Nov 22 23:41:17 localhost squid[10016]: Squid Parent: child process
10018 exited due to signal 6
Nov 22 23:41:21 localhost squid[10016]: Squid Parent: child process
11576 started
Nov 22 23:41:21 localhost squid[10016]: Squid Parent: child process
11576 exited due to signal 25
Nov 22 23:41:24 localhost squid[10016]: Squid Parent: child process
11579 started
Nov 22 23:41:25 localhost squid[10016]: Squid Parent: child process
11579 exited due to signal 25
Nov 22 23:41:28 localhost squid[10016]: Squid Parent: child process
11583 started
Nov 22 23:41:28 localhost squid[10016]: Squid Parent: child process
11583 exited due to signal 25
Nov 22 23:41:31 localhost squid[10016]: Squid Parent: child process
11586 started
Nov 22 23:41:32 localhost squid[10016]: Squid Parent: child process
11586 exited due to signal 25
Nov 22 23:41:35 localhost squid[10016]: Squid Parent: child process
11589 started
Nov 22 23:41:35 localhost squid[10016]: Squid Parent: child process
11589 exited due to signal 25
Nov 22 23:41:35 localhost squid[10016]: Exiting due to repeated,
frequent failures
**************************************************************************************************** **
Any help would be appreciated.

Thanks,
Rahul


Hello,

To add to below mentioned problem::

it all stared with squid exiting due to signal 6 :::

Nov 22 23:41:17 localhost (squid): logfileWrite:
/usr/local/squid/var/logs/store.log: (0) Success
Nov 22 23:41:17 localhost squid[10016]: Squid Parent: child process
10018 exited due to signal 6

later i investigated further in cache.log that revels the following::::

FATAL: logfileWrite: /usr/local/squid/var/logs/store.log: (0) Success

Squid Cache (Version 2.5.STABLE6): Terminated abnormally.
CPU Usage: 108696.530 seconds = 23233.910 user + 85462.620 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 454770
Memory usage for squid via mallinfo():
total space in arena: 449480 KB
Ordinary blocks: 411592 KB 41705 blks
Small blocks: 0 KB 0 blks
Holding blocks: 192 KB 1 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 37887 KB
Total in use: 411784 KB 92%
Total free: 37887 KB 8%

Any clue.........?

Thanks
Rahul

Hi,

is that because max-file-desciptor is set only to 1024 the problem is arising ?

do increasing max-file-descriptor work if many squid is serving lot of proxy ?

Thanks,
Rahul
 
Old 11-24-2004, 02:48 PM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
It's gonna be due to a logfile getting too large, eg cache.log.. That's error 25..

If the file isn't that big, it may be time for an fsck of that partition or a faster log rotation, or anything that will start a fresh file to write to..

Also try clearing and rebuilding the cache..

Last edited by peter_robb; 11-24-2004 at 02:52 PM.
 
Old 12-17-2008, 04:39 AM   #3
jasem200
LQ Newbie
 
Registered: May 2005
Location: Libya
Distribution: redhat enterprise 4
Posts: 29

Rep: Reputation: 15
check squid.log access.log and cache.log size they maybe over 1GB, delete them and restart squid.
 
Old 05-28-2011, 01:05 AM   #4
asnani_satish
LQ Newbie
 
Registered: Aug 2009
Location: BHOPAL
Posts: 6

Rep: Reputation: 0
solution to squid failures

we were also running into the same issues.
Step 1: No.of File Descriptors
To know the current maximum file descriptors
$ulimit -n
1024
Increase the no.of file descriptors
$vi /etc/security/limits.conf
make following entries
* soft nofile 4096
* hard nofile 65536

Step 2. check whether the size of access.log or cache.log is exceeding 2GB. By default in Redhat Linux 2GB is the maximum size allowed.
Do log rotation based on file size.To check whether this is the right reason for squid failire
$cat /dev/null > /var/log/squid/access.log
$cat /dev/null > /var/log/squid/cache.log
and restart squid and see if the error crops up

Last edited by asnani_satish; 05-28-2011 at 01:06 AM. Reason: error in spelling
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bus Error (core dumped) due to SIGBUS signal rajendra.badapanda Programming 10 07-19-2005 10:18 AM
Bus Error (core dumped) due to SIGBUS signal rajendra.badapanda Linux - Software 1 07-05-2005 12:10 PM
child process -1 exited due to signal 6 ashfaq Linux - Software 1 04-09-2004 05:42 AM
Signal 6: Unknown Signal <=> Error with MAYA4.X under Linux SOLVED!!!! Faeroon Linux - Software 9 05-09-2003 01:57 PM
Signal: 6 (Unknown Signal) - Problems running a program Faeroon Linux - Software 86 01-14-2003 12:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration