Hi,
I am new to squid and I installed it recently.
I let squid connect to my provider's squid (my universtiy)
I got something like this in the cfg file :
cache_host wwwcache.rrz.uni-hamburg.de parent 81 3130
anyway I start squid when I boot like this:
/usr/bin/squid -UVD &
97/06/06 05:45:35| Squid Cache (Version 1.1.5): Exiting normally.
97/06/06 05:48:45| Starting Squid Cache version 1.1.5 for i586-unknown-linu
x...
97/06/06 05:48:45| With 256 file descriptors available
97/06/06 05:48:45| Started 5 'dnsserver' processes
97/06/06 05:48:45| file_map_create: creating space for 2097152 files
97/06/06 05:48:45| Swap maxSize 204800, estimated 6826 objects
97/06/06 05:48:45| Target number of buckets: 170
97/06/06 05:48:45| Using 7951 Store buckets, maintain 1 bucket every 10 sec
onds
97/06/06 05:48:45| Rebuilding storage from disk image in /var/squid/cache
97/06/06 05:48:47| Rebuilding in FAST MODE.
97/06/06 05:48:47| Accepting HTTP connections on FD 15.
97/06/06 05:48:47| Accepting ICP connections on FD 16.
97/06/06 05:48:47| Configuring Parent wwwcache.rrz.uni-hamburg.de/81/3130
97/06/06 05:48:47| WARNING!!: DNS lookup for 'wwwcache.rrz.uni-hamburg.de'
failed!
97/06/06 05:48:47| THIS NEIGHBOR WILL BE IGNORED.
97/06/06 05:48:47| Ready to serve requests.
97/06/06 05:48:47| Finished rebuilding storage from disk image.
97/06/06 05:48:47| 1058 Lines read from previous logfile.
97/06/06 05:48:47| 1058 Objects loaded.
97/06/06 05:48:47| 0 Objects expired.
97/06/06 05:48:47| 0 Duplicate URLs purged.
97/06/06 05:48:47| 0 Swapfile clashes avoided.
97/06/06 05:48:47| Took 0 seconds (1058.0 objects/sec).
97/06/06 05:48:47| store_swap_size = 10571k
ok - in order for squid to get connected to my providers squid I give
it a kill -HUP `pidof squid` & in /etc/ppp/ip-up but then this happens:
97/06/06 05:48:08| reconfigure: SIGHUP received
97/06/06 05:48:08| Waiting 30 seconds for active connections to finish
97/06/06 05:48:08| FD 15 Closing HTTP connection
97/06/06 05:48:08| FD 16 Closing ICP connection
97/06/06 05:48:08| storeWriteCleanLog: Starting...
97/06/06 05:48:08| Finished. Wrote 1058 lines.
97/06/06 05:48:08| Took 0 seconds (1058.0 lines/sec).
squid dies ! It doesn't restart.
But the strange thing is when restart squid and do everything all over
for the SECOND time it works, squid doesn't die and restarts:
97/06/06 05:55:24| reconfigure: SIGHUP received
97/06/06 05:55:24| Waiting 30 seconds for active connections to finish
97/06/06 05:55:25| FD 15 Closing HTTP connection
97/06/06 05:55:25| FD 16 Closing ICP connection
97/06/06 05:55:25| Restarting Squid Cache (version 1.1.5)...
97/06/06 05:55:25| Started 5 'dnsserver' processes
97/06/06 05:55:25| Accepting HTTP connections on FD 10.
97/06/06 05:55:25| Accepting ICP connections on FD 11.
97/06/06 05:55:25| Configuring Parent wwwcache.rrz.uni-hamburg.de/81/3130
97/06/06 05:55:25| Ready to serve requests.
No I would like to know why it doesn't work in the first place - its
pretty ugly to restart squid by hand.
It is only hte first time that kill -HUP `pidof squid` kills squid
without restarting it
thx
bye
-- Christophe ---------------------------------------------------------------------- Christophe Zwecker email: doc@rrz.uni-hamburg.de Hamburg, Germany fax: 49 40 22715433 ---------------------------------------------------------------------- In newsgroups please reply also by email - thanksReceived on Thu Jun 05 1997 - 21:11:17 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:35:28 MST