Change 30127

tom_tyler (C. Thomas Tyler)
C. Thomas Tyler committed this change into //guest/perforce_software/sdp/dev/Server/Unix/p4/common/bin under Review 30128
View Review
Download .zip
Enhanced p4d_base to start p4d from the P4ROOT directory and to
set 'ulimit -c unlimited' to enable core dumps.  Similar was
done for p4p_base and p4broker_base.

For best results, combine this with doing the following as root
on p4d server machines:
bash -c "echo 'core.%e.%p.%s' > /proc/sys/kernel/core_pattern"

This wll generate core files for p4d in $P4ROOT, something like this:
/p4/1/root/core.p4d_1.2351279.11

For p4p, core dumps appear in the $P4PCACHE dir.

For p4broker, core dumps appear in the $LOGS dir.

Also added version identifier that is captured in systemctl status
output.

#review-30128
  • Files 3
  • Comments 0
3 edited 0 added 0 deleted
p4broker_base#19
Loading...
p4d_base#43
Loading...
p4p_base#22
Loading...
Tip: Use n and p to cycle through the changes.