RE: squid still working even if killed?

From: Alejandro Ramirez <ales@dont-contact.us>
Date: Mon, 27 Mar 2000 18:43:23 -0600

Hi,

    Well squid proccess it monitored by the RunCache script that its the one that runs squid for the first time, and when the RunCache script detects that the squid proccess its not running, it start it up again after 10 seconds, the RunCache proccess its not killed by the "squid -k shutdown" command, you will have to kill it before issueing that command, or you will have to recompile squid with the following option:

# - Kill parent (eg: RunCache) on shutdown (use with great care!!)
--enable-kill-parent-hack

Have Fun...
Ales

  ----- Original Message -----
  From: Joel Taqueban
  To: squid-users@ircache.net
  Sent: Monday, March 27, 2000 6:54 AM
  Subject: squid still working even if killed?

  Dear squid users
  1) I did a 'squid -k shutdown' on my linux box inorder to stop the proxy. I then checked if squid is running by doing 'squid -k check' and returned with a message "squid: ERROR: No running copy"

  I then tested by browser (Netscape) if I could still access the Net and found that I could readily access any site! What's wrong? Why is the proxy allowing me to access the net when it says I don't have a running copy of squid?

  I checked the processes and it gave me the ff:

  [squid@dale errors]$ ps aux |grep squid
  squid 29799 0.0 0.6 1268 852 p1 S 20:40 0:00 -bash
  squid 29827 0.0 0.5 2772 744 ? S 20:42 0:00 squid --
  squid 29850 0.2 4.7 7168 6048 ? S 20:42 0:01 (squid) --
  squid 29851 0.0 0.4 1012 536 ? S 20:42 0:00 (dnsserver)
  squid 29852 0.0 0.3 908 404 ? S 20:42 0:00 (dnsserver)
  squid 29853 0.0 0.3 908 404 ? S 20:42 0:00 (dnsserver)
  squid 29854 0.0 0.3 908 404 ? S 20:42 0:00 (dnsserver)
  squid 29855 0.0 0.3 908 404 ? S 20:42 0:00 (dnsserver)
  squid 29856 0.0 0.1 716 248 ? S 20:42 0:00 (unlinkd)
  squid 30387 0.0 0.3 864 492 p1 R 20:52 0:00 ps aux
  squid 30388 0.0 0.6 1268 852 p1 R 20:52 0:00 -bash
    
    

  2) How do I start squid from command line?

  Please help!

  Joel
Received on Mon Mar 27 2000 - 17:45:58 MST

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