Re: why this is happening ?

From: Csaba Koller <csaba.koller@dont-contact.us>
Date: Fri, 24 Mar 2000 21:19:07 +0100

Forget that Subsys locked thing.

You probably run an initd script with the following
line: touch /var/lock/subsys/squid

Try to edit /etc/rc.d/init.d/squid and comment it out. :)

This is not the reason for your crash.

Csaba

reach_prashant@worldgatein.net Wrote (Thursday, March 23, 2000), Subj.: why this is happening ?:
p> dear friends and gurus

p> two days back my squid 2.2 stable , RH 6.1 gets crashed, then this is the sequence of things that happened

1>> when tried to restart it with "./squid start " it showed "starting squid parent[pid] , squid chield [pid] etc, but actually it
p> was't get started , no "squid.pid" file ,
2>> so , i tried "./ squid status" , it was giving "SUBSYS LOCKED , ERROR NO RUNNING PROCESS "
3>> i have repeated this step 1 & step 2 few times , but getting same results

4>> i still dont know why it got crashed , but somefriends on the list suggested that squid must have tried to use more space on
p> cache_dir then available on the disk partition , BUT I AM very sure that this is must not be the reason beause, there was a lot of
p> space left on the cache_dir , SUPPOSE THIS HAPPENED THEN WHAT IS THE SIGNIFICANCE OF "reference_age" parapeter
p> AND WHAT ABOUT REMOVAL OF OLD AS WELL AS UNUSED OBJECT"

CONFIG IS ->>

p> CACHE_DIR 3000 (disk patition size 3800 MB)
p> CACHE_DIR 3000 (disk patition size 3800 MB)

p> i have observed swap size parameter with cachemgr two hours before squid crashed , it was around 4200 MB ( 2100 * 2) divided equally on both cache_dirs and before

5>> log was giving when crashed and gave "./SQUID START" NO SWAP.STAT , CREATING SWAP.STAT.NEW ,ERROR
p> CAN NOT CREATE SWAP.STAT , TERMINATING ABRUPTLY"

p> AS I HAVE CLEANED UP THE CACHE_DIR, AND RESTARTED SQUID AND WORKING FINE , but
p> if whenever i follow this sequence

1>> "./squid stop" ->>.squid is stoping , no poblem ,
2>> "./ squid status" --> "SUBSYS LOCKED , ERROR NO RUNNING COPY" ->>> I AM NOT GETTING THIS "SUBSYS LOCKED" WHAT DOES IT MEAN"
3>> "./SQUID START" --> IT STARTS AND WORKING GREAT ONCE AGAIN

p> WHAT HAD HAPPENED THAT CAUSED CRASHED SQUID ? AND WHAT IS "SUBSYS LOCCKED " THING

p> THANKS & REGARDS
p> Prashant De
Received on Fri Mar 24 2000 - 13:21:57 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:52:23 MST