Details
-
Type:
Bug
-
Status: Done
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 3.6.1
-
Component/s: Promise type: processes
-
Labels:None
Description
Something goes wrong with the parsing of the output of the ps command
as defined line 84 in libpromises/classes.c and processed in
SelectProcess() in libpromises/processes_select.c
The columns returned are incorrect, which means that processes which
should be killed aren't and bootstrapping fails, not least because cf-serverd's address is in use.
No policy_server.datis created and left to its own devices the number of cf-execd instances will grow rather dramatically.
The command line is /bin/ps -axo user,pid,ppid,pgid,pcpu,pmem,vsz,ni,rss,nlwp,start,time,args
Using the old-style '/bin/ps xauw' instead resolves this issue.
This applies to FreeBSD 10 (clang) and FreeBSD 9.2 (gcc)
Suporting output is in the attached file as the format would be ruined in HTML.