[Bug 222147] rc.subr check_pidfile fails to recognise swapped out process

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Sep 8 16:13:08 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222147

            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 at FreeBSD.org
          Reporter: vegeta at 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 that
is not really Smokeping-related. It seems that this can happen to any process.

So what happen is that if a daemon's main process has nothing to do it might 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list