Skip to content

Running p4d -d through daemon redundant? #2

@rohanliston

Description

@rohanliston

Doesn't running p4d -d through daemon on this line create an extraneous process that immediately forks off another one?

Currently:

> ps aux | grep p4d
perforce  7213  0.0  0.0  20024   400 ?        S    21:16   0:00 daemon -u perforce -- p4d -d
perforce  7214  0.0  0.0      0     0 ?        Z    21:16   0:00 [p4d] <defunct>
perforce  7215  0.0  0.1  23004  1088 ?        S    21:16   0:00 p4d -d

After changing the value of $p4start to just p4d:

> ps aux | grep p4d
perforce  7162  0.0  0.0  20024   400 ?        S    21:14   0:00 daemon -u perforce -- p4d
perforce  7163  0.0  0.2  22956  2356 ?        S    21:14   0:00 p4d

Happy to pull request if that's the case.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions