Date: Mon, 08 Dec 2014 09:05:18 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 195802] New: squid restarts after shutdown and dumps core Message-ID: <bug-195802-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195802 Bug ID: 195802 Summary: squid restarts after shutdown and dumps core Product: Ports Tree Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: la5lbtyi@aon.at Scenario: - squid-3.4.9_1 and adzap-20110915_1 are installed - After starting squid, the PID in the pid file points to squid's first child process: [0]# cat /var/opt/squid/run/squid.pid 62002 [0]# pstree | grep squid | \--- 62371 root grep squid |-+= 62000 squid /usr/local/sbin/squid -f /etc/opt/squid/squid.conf | \-+- 62002 squid (squid-1) -f /etc/opt/squid/squid.conf (squid) | |--- 62003 squid (unlinkd) (unlinkd) | |--- 62004 squid /usr/local/bin/perl5.18.4 -w /usr/local/libexec/squid_redirect | |--- 62005 squid /usr/local/bin/perl5.18.4 -w /usr/local/libexec/squid_redirect | |--- 62006 squid /usr/local/bin/perl5.18.4 -w /usr/local/libexec/squid_redirect | |--- 62130 squid /usr/local/bin/perl5.18.4 -w /usr/local/libexec/squid_redirect | |--- 62131 squid /usr/local/bin/perl5.18.4 -w /usr/local/libexec/squid_redirect | |--- 62132 squid /usr/local/bin/perl5.18.4 -w /usr/local/libexec/squid_redirect | |--- 62133 squid /usr/local/bin/perl5.18.4 -w /usr/local/libexec/squid_redirect | |--- 62134 squid /usr/local/bin/perl5.18.4 -w /usr/local/libexec/squid_redirect | |--- 62135 squid /usr/local/bin/perl5.18.4 -w /usr/local/libexec/squid_redirect | \--- 62136 squid /usr/local/bin/perl5.18.4 -w /usr/local/libexec/squid_redirect [0]# Problem: - Executing "service squid stop" initially stops process 62002 (the first child process) and all its children, as a side effect producing a core dump in the cache directory. Immediately thereafter, the process is restarted again, with a new PID which is duly recorded in the pid file, and spawning all the other subprocesses (squid_redirect). Expected outcome: - After executing above command, squid should shut down completely, and no core dump should be produced. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195802-13>