Dear Tim/Neil,
I will look up the details and send it over to the group. The messages 
and the cache.log looks normal. The access.log is not set, i.e. 
/dev/null. I also realised that as soon as number of users are high, 
i.e. when I start redirecting (-j REDIRECT) more users to Squid, it 
starts crashing, but if I keep 2-3 IPs then it's not a problem.
It does look like an OS related issue from the details from Neil, 
however, if I don't use squid i.e. no -J REDIRECT then the server keeps 
running for months, but as soon as I turn on the REDIRECT, it starts 
crashing almost every week.
Maybe I keep a strace on squid and dump the data and also keep the 
vmstat 5 dumping data so that I can co-relate and come up to some 
conclusion.
I wanted ideas on what to trace so that the root cause is identifieid. 
Maybe it's a hardware problem but due to the fact that it only shows up 
after I turn on squid, its is difficult to justify the need for 
different hardware.
Thanks in advance.
Regards,
Mitesh
trainier@kalsec.com wrote:
>The screen blanking issue could be related to hitting the SysReq key.
>
>Out of curiosity, how do the following log files look:
>
>/var/log/messages
>cache.log (located in var/logs/ under the root of your squid directory. 
>/etc/crontab
>ls -la /etc/cron.weekly
>
>Tim
>
>"Neil A. Hillard" <hillardn@whl.co.uk> wrote on 05/02/2006 08:30:50 AM:
>
>  
>
>>Hi,
>>
>>Dwayne Hottinger wrote:
>>    
>>
>>>Quoting Mitesh P Choksi <mitesh@icafe.co.tz>:
>>>
>>>      
>>>
>>>>Dear All,
>>>>
>>>>        
>>>>
>>>>>I have had a very unusual situation when my Squid crashes almost 
>>>>>          
>>>>>
>every
>  
>
>>>>>7 days. However, it is not depending on day of the week, time of the
>>>>>day, etc. I have changed hardware, moved from RH7.3 to WBEL, but
>>>>>nothing works.
>>>>>
>>>>>I have not manage to pinpoint the problem. I need assistance to
>>>>>identify the root cause of this situation.
>>>>>
>>>>>I have 5 disk system at edge of the network doing NAT + Squid on 
>>>>>          
>>>>>
>WBEL.
>  
>
>>>>>I have a satellite delay to the Internet fibre backbone.
>>>>>
>>>>>I tried vmstat output to be appended to identify the cpu/io
>>>>>utilization also SysRq but nothing helps. The console goes blank and
>>>>>does not allow anymore activity. I use ping timeouts to alert and
>>>>>hardboot the system.
>>>>>
>>>>>I need guidance in order to find out why does squid crashes so
>>>>>regularly as I can almost identify what next couple of days it is
>>>>>about to crash.
>>>>>
>>>>>Any pointers will be appreciated.
>>>>>
>>>>>Regards,
>>>>>
>>>>>Mitesh
>>>>>          
>>>>>
>>>>>How big is your access.log file?  There is a limit on squid and ifit 
>>>>>          
>>>>>
>reaches
>  
>
>>>that limit it crashes.  You should probably rotate the squid log 
>>>      
>>>
>files.
>  
>
>>This doesn't sound like a Squid problem.  If your console is 
>>unresponsive then it must be an OS / hardware issue.  Squid shouldn't be 
>>    
>>
>
>  
>
>>able to make you server lock up.  You may be better off asking on the 
>>mailing list for your OS.
>>
>>An oversize log file would cause Squid to terminate but wouldn't 'kill' 
>>the server.
>>
>>Try taking a look at disabling power management if you haven't already 
>>(if your server even has it).
>>
>>
>>HTH,
>>
>>
>>            Neil.
>>
>>-- 
>>Neil Hillard                    hillardn@whl.co.uk
>>Westland Helicopters Ltd.       http://www.whl.co.uk/
>>
>>Disclaimer: This message does not necessarily reflect the
>>             views of Westland Helicopters Ltd.
>>    
>>
Received on Tue May 02 2006 - 08:18:44 MDT
This archive was generated by hypermail pre-2.1.9 : Thu Jun 01 2006 - 12:00:01 MDT