Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
Network Troublshooting => Linux Proxy Server Support => Topic started by: tomamodi on July 02, 2005, 06:11:47 AM
-
some times when i disconected from isp or slow speed i restart my modm/router
and after that my squid cache didnt work
i can see and connect webmin
and there squid show it is running but no browsing from client side
i have to stop and restart squid
did u no any thing help full that squid never stop working on restart of modem or disconnected isp"
it stay and on and start browsing when ever i get connected to isp
-
Umm. can you give m last few lines of cache.log ? then I will be able to suggest anything.
-
2004/10/20 13:57:40| Accepting HTTP connections at
0.0.0.0, port 8080, FD 10.
2004/10/20 13:57:40| Accepting ICP messages at
0.0.0.0, port 3130, FD 11.
2004/10/20 13:57:40| Accepting SNMP messages on port
3401, FD 12.
2004/10/20 13:57:40| WCCP Disabled.
2004/10/20 13:57:40| Configuring Parent
212.26.70.41/8080/0
2004/10/20 13:57:40| Configuring Parent
212.26.70.36/8080/0
2004/10/20 13:57:40| Configuring Parent
212.26.70.48/8080/0
2004/10/20 13:57:40| Ready to serve requests.
2004/10/20 13:57:40| Done reading /cache swaplog (3838
entries)
2004/10/20 13:57:40| Finished rebuilding storage from
disk.
2004/10/20 13:57:40| 3805 Entries scanned
2004/10/20 13:57:40| 0 Invalid entries.
2004/10/20 13:57:40| 0 With invalid flags.
2004/10/20 13:57:40| 3773 Objects loaded.
2004/10/20 13:57:40| 0 Objects expired.
2004/10/20 13:57:40| 32 Objects cancelled.
2004/10/20 13:57:40| 0 Duplicate URLs purged.
2004/10/20 13:57:40| 0 Swapfile clashes
avoided.
2004/10/20 13:57:40| Took 3.6 seconds (1044.1
objects/sec).
2004/10/20 13:57:40| Beginning Validation Procedure
2004/10/20 13:57:40| Completed Validation Procedure
2004/10/20 13:57:40| Validated 3773 Entries
2004/10/20 13:57:40| store_swap_size = 51312k
2004/10/20 13:57:42| storeLateRelease: released 0
objects
this is cache.log
it shows it is working even if i try restart it say squid proccess is running and id is so & so
but no browsing until you stop and restart the squid
if restart i lose all ipcache
-
dear ricky see this this peer is down and if i didnt stop and restart squid for ten days it stay same but if i restart it will be UP
i want this will be UP without restart squid
how it will reconnect automaticly
=======================
Parent : 212.33.177.201/8080/0
Flags :
Address[0] : 212.33.177.201
Status : Down
AVG RTT : 0 msec
LAST QUERY : 1120485220 seconds ago
LAST REPLY : 1120485220 seconds ago
PINGS SENT : 0
PINGS ACKED: 0 0%
FETCHES : 0 0%
IGNORED : 0 0%
Histogram of PINGS ACKED:
Last failed connect() at: 04/Jul/2005:08:56:20 -0400
keep-alive ratio: 0%
===============
-
dear ricky see this this peer is down and if i didnt stop and restart squid for ten days it stay same but if i restart it will be UP
i want this will be UP without restart squid
how it will reconnect automaticly
=======================
Parent : 212.33.177.201/8080/0
Flags :
Address[0] : 212.33.177.201
Status : Down
AVG RTT : 0 msec
LAST QUERY : 1120485220 seconds ago
LAST REPLY : 1120485220 seconds ago
PINGS SENT : 0
PINGS ACKED: 0 0%
FETCHES : 0 0%
IGNORED : 0 0%
Histogram of PINGS ACKED:
Last failed connect() at: 04/Jul/2005:08:56:20 -0400
keep-alive ratio: 0%
===============
still not recived reply
-
Sorry...
Sometimes few topics just slips away and I don't even remember.
Here you can use squid -k reconfigure
It will not restart the squid but will reconfigure and hence will also reconnect to peer. BTW.. I am not sure if it causes loss of ipcache or not.
-
Sorry...
Sometimes few topics just slips away and I don't even remember.
Here you can use squid -k reconfigure
It will not restart the squid but will reconfigure and hence will also reconnect to peer. BTW.. I am not sure if it causes loss of ipcache or not.
dear RICKY
i think still you didnt understand my problem
it will start if i restart my squid box same as reconfigure -k
but may be the isp parent will go down after five minutes and it come up after half houre
did i must restart my squid box again
or as u say reconfigure -k after every time my isp cache stop
it stop ten times in 24 hours
and the squid try for the given time and declare it dead after declare dead the isp cache start again but my squid is unable to connect it because it declare it dead
i have to restart my squid box -or squid/stop squid/start
to connect my isp cache
-
can you tell me if "-k reconfigure" reset your ipcache or not !
-
yes it reset and lost all cached