Re: How to start Squid at system boot?

From: David Richards <[email protected]>
Date: Mon, 02 Mar 1998 11:58:30 +1000 (EST)

Hi,

        The problem is that on Digital after start up routines have been
told to start, all processes are sent a SIGHUP.

        What I did was start all scripts with nohup, I also set traps in
scripts for the following signals:

        trap '' 1 2 3 18

        My squid starts on machine startup.

Dave.

-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-
David Richards Ph: +61 7 3864 4347
Network Programmer Fax: +61 7 3864 5272
Computing Services E-mail: dj.richards@qut.edu.au
Queensland University of Technology
Brisbane, Australia
-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-

On Mon, 2 Mar 1998, Zhu Liwu wrote:

> Hi:
> I use Digital Unix 4.0b to run squid proxy
> 1.1.20. I write some scripts starting Squid at
> system boot time. And place it in /sbin/rc3.d so
> that system can execute it. But the squid can't
> start.
> The logs in cache.log file is below.
> Thanks for your help !
>
> zhulw
>
> the start scripts is:
> /usr/local/squid/bin/squid &
> echo start Squid server
>
> the logs is:
> 1998/03/02 08:53:50| Starting Squid Cache version
> 1.1.20 for alpha-dec-osf4.0...
> 1998/03/02 08:53:50| With 4096 file descriptors
> available
> 1998/03/02 08:53:50| Performing DNS Tests...
> 1998/03/02 08:53:50| Successful DNS name lookup
> tests...
> 1998/03/02 08:53:50| Started 10 'dnsserver'
> processes
> 1998/03/02 08:53:50| Unlinkd pipe opened on FD 17
> 1998/03/02 08:53:50| Swap maxSize 8192000,
> estimated 630153 objects
> 1998/03/02 08:53:50| file_map_create: creating
> space for 1260306 objects
> 1998/03/02 08:53:50| Target number of buckets:
> 31507
> 1998/03/02 08:53:50| Using 33493 Store buckets,
> maintain 1 bucket every 2 seconds
> 1998/03/02 08:53:50| Rebuilding storage from disk
> image in /usr/local/squid/data
> 1998/03/02 08:53:53| Accepting HTTP connections on
> FD 21.
> 1998/03/02 08:53:53| Ready to serve requests.
> 1998/03/02 08:53:54| Preparing for shutdown after
> 0 connections
> 1998/03/02 08:53:54| Waiting 0 seconds for active
> connections to finish
> 1998/03/02 08:53:55| FD 21 Closing HTTP connection
> 1998/03/02 08:53:55| Shutting down...
> 1998/03/02 08:53:55| storeWriteCleanLog: Not
> currently OK to rewrite swap log.
> 1998/03/02 08:53:55| storeWriteCleanLog: Operation
> aborted.
> CPU Usage: user 0 sys 0
> Maximum Resident Size: 3440 KB
> Page faults with physical i/o: 0
> Memory usage for squid via mallinfo():
> total space in arena: 3408 KB
> Ordinary blocks: 3083 KB 369 blks
> Small blocks: 0 KB 0 blks
> Holding blocks: 0 KB 0 blks
> Free Small blocks: 0 KB
> Free Ordinary blocks: 325 KB
> Total in use: 3083 KB 90%
> Total free: 325 KB 10%
> 1998/03/02 08:53:55| Squid Cache (Version 1.1.20):
> Exiting normally.
>
> --
> **************************************
> zhu liwu <zhulw@wri.com.cn>
> Wuhan Research Institute of Posts &
> Telecommunications, M.P.T, P.R.China
> Phone Number: (86)27-7691520
> **************************************
>
Received on Sun Mar 01 1998 - 18:40:16 MST

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