Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Oct 2017 21:49:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-rc@FreeBSD.org
Subject:   [Bug 222147] rc.subr check_pidfile fails to recognise swapped out process
Message-ID:  <bug-222147-4805-M8mLm5fGoM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-222147-4805@https.bugs.freebsd.org/bugzilla/>
References:  <bug-222147-4805@https.bugs.freebsd.org/bugzilla/>

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

Jilles Tjoelker <jilles@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jilles@FreeBSD.org

--- Comment #1 from Jilles Tjoelker <jilles@FreeBSD.org> ---
It is expected that ps (or any other tool that lists processes) does not sh=
ow
the command line if it is longer than the value of the kern.ps_arg_cache_li=
mit
sysctl (default: 256 bytes) and the process is swapped out.

A proper fix is not easy (this would involve not relying on the process lis=
t).

Apart from the workarounds mentioned in bug #221518, it is possible to incr=
ease
the sysctl or move configuration data from the command line into a
configuration file (if supported by the daemon).

--=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-4805-M8mLm5fGoM>