Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Sep 2017 16:13:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 222147] rc.subr check_pidfile fails to recognise swapped out process
Message-ID:  <bug-222147-8@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 222147
           Summary: rc.subr check_pidfile fails to recognise swapped out
                    process
           Product: Base System
           Version: 10.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: conf
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: vegeta@tuxpowered.net

First of all I'm sorry for reporting this for an unsupported release, but I
strongly believe this behaviour would not change on 11.1, diff does not show
any related changes to /etc/rc.subr nor to /bin/ps

I encountered the issue in Smokeping which I reported in bug #221518. But t=
hat
is not really Smokeping-related. It seems that this can happen to any proce=
ss.

So what happen is that if a daemon's main process has nothing to do it migh=
t be
swapped out and thus its details including command line won't be available =
to
ps anymore. Smokeping in this case becomes just "(perl)".

The result is that check_pidfile can not recognize the process.

--=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-222147-8>