Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Feb 2017 14:14:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 217297] [www/fcgiwrap] Stale fcgiwrap processes left even after service is stopped
Message-ID:  <bug-217297-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217297

            Bug ID: 217297
           Summary: [www/fcgiwrap] Stale fcgiwrap processes left even
                    after service is stopped
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: adamw@FreeBSD.org
          Reporter: spry@anarchy.in.the.ph
             Flags: maintainer-feedback?(adamw@FreeBSD.org)
          Assignee: adamw@FreeBSD.org

Hi

Seems there is a problem w/ stale processes not being killed

USER   PID %CPU %MEM   VSZ  RSS TT  STAT STARTED    TIME COMMAND
www  18674  0.0  0.0 14492 2036  -  SsJ   8:49AM 0:00.00 daemon:
/usr/local/sbin/fcgiwrap[18675] (daemon)
www  18675  0.0  0.0 14472 2012  -  SJ    8:49AM 0:00.00 -
/usr/local/sbin/fcgiwrap -s unix:/var/run/fcgiwrap/fcgiwrap.alerts.socket -=
c 4
www  18677  0.0  0.0 14472 2016  -  SJ    8:49AM 0:00.00 |--
/usr/local/sbin/fcgiwrap -s unix:/var/run/fcgiwrap/fcgiwrap.alerts.socket -=
c 4
www  18678  0.0  0.0 14472 2016  -  SJ    8:49AM 0:00.00 |--
/usr/local/sbin/fcgiwrap -s unix:/var/run/fcgiwrap/fcgiwrap.alerts.socket -=
c 4
www  18679  0.0  0.0 14472 2016  -  SJ    8:49AM 0:00.00 |--
/usr/local/sbin/fcgiwrap -s unix:/var/run/fcgiwrap/fcgiwrap.alerts.socket -=
c 4
www  18680  0.0  0.0 14472 2016  -  SJ    8:49AM 0:00.00 `--
/usr/local/sbin/fcgiwrap -s unix:/var/run/fcgiwrap/fcgiwrap.alerts.socket -=
c 4

root@:~# /usr/local/etc/rc.d/fcgiwrap stop
=3D=3D=3D> fcgiwrap profile: xxxx
Stopping fcgiwrap.

...

www  61512  0.0  0.0 14472 2060  -  IJ   Thu09AM 0:00.00
/usr/local/sbin/fcgiwrap -s unix:/var/run/fcgiwrap/fcgiwrap.alerts.socket -=
c 4
www  61513  0.0  0.0 14472 2016  -  IJ   Thu09AM 0:00.00
/usr/local/sbin/fcgiwrap -s unix:/var/run/fcgiwrap/fcgiwrap.alerts.socket -=
c 4
www  61514  0.0  0.0 14472 2016  -  IJ   Thu09AM 0:00.00
/usr/local/sbin/fcgiwrap -s unix:/var/run/fcgiwrap/fcgiwrap.alerts.socket -=
c 4
www  61515  0.0  0.0 14472 2016  -  IJ   Thu09AM 0:00.00
/usr/local/sbin/fcgiwrap -s unix:/var/run/fcgiwrap/fcgiwrap.alerts.socket -=
c 4
...


Should there be something like ?

--- fcgiwrap    2017-01-12 23:12:54.000000000 -0500
+++ /usr/local/etc/rc.d/fcgiwrap        2017-02-22 09:06:05.940283000 -0500
@@ -92,6 +92,7 @@
        case ${fcgiwrap_socket} in
                unix*)
                test -S ${fcgiwrap_socket#unix:} && rm -f
${fcgiwrap_socket#unix:}
+               killall fcgiwrap
                ;;
        esac
        rm -f $pidfile

--=20
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-217297-13>