[DCOS_OSS-1403] Rename beam.smp to individual erlang Created: 22/Sep/16 Updated: 09/Nov/18 Resolved: 11/Jul/17 |
|
Status: | Resolved |
Project: | DC/OS |
Component/s: | networking |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Task | Priority: | Medium |
Reporter: | Cody Maloney (Inactive) | Assignee: | Sergey Urbanovich (Inactive) |
Resolution: | Done | ||
Labels: | 1.11 | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
||||||||||||
Epic Link: | dcos-net | ||||||||||||
Sprint: | Networking Team 1.10 Sprint 4, Networking Team 1.10 Sprint 8 | ||||||||||||
Story Points: | 1 |
Description |
Currently all of these show up in `ps` and everywhere else as beam.smp, and when someone reports an issue, they report it as "beam.smp" and then step 0 of triage is always figuring out "which beam.smp" If we could name the binaries which get run properly, or they could overwrite argv[0] with the proper program name after starting would help debugging and triaging random issues to the right components. |
Comments |
Comment by Sargun Dhillon (Inactive) [ 26/Sep/16 ] |
Either we can overwrite argv[0], or prctl (PR_SET_MM_ARG_START, PR_SET_MM_ARG_END – the preferred way). We can do this via a NIF. |
Comment by Anatoly Yakovenko (Inactive) [ 26/Sep/16 ] |
does `prctl (PR_SET_MM_ARG_START, PR_SET_MM_ARG_END – the preferred way).` override the memory that argv points to? |
Comment by Albert Strasheim (Inactive) [ 04/Jan/17 ] |
systemd can help us. In ExecStart=
|
Comment by Sergey Urbanovich (Inactive) [ 12/May/17 ] |
From Erlang 20.0-rc1 release notes: OTP-14381 Application(s): erts Changed erts startup program name, argv 0, to use the If environment variable ESCRIPT_NAME is not set, argv 0 |
Comment by Sergey Urbanovich (Inactive) [ 11/Jul/17 ] |
I've made it as part of https://jira.mesosphere.com/browse/DCOS_OSS-1400
|