Skip to content

Commit

Permalink
[PLAT-15279] Adding unix timestamp to the core dump
Browse files Browse the repository at this point in the history
Summary:
Based on slack discussions, it is helpful to have unix timestamps in the
file name for the core dump. This may help in debugging.

Test Plan:
itest-phabricator

Tested manually
with a custom executable,
core was generated with unix time stamp

```
core_yb.1727803373.a.out.44453.44456.gz
```

Reviewers: sanketh, hsunder

Reviewed By: sanketh, hsunder

Subscribers: hsunder, yugaware

Differential Revision: https://phorge.dev.yugabyte.com/D38566
  • Loading branch information
amannijhawan committed Oct 1, 2024
1 parent aab1a8b commit 161c0c8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
- name: Provision | Create core dump kernel pattern
sysctl:
name: kernel.core_pattern
value: "|{{ bin_path }}/compress_core.sh {{ yb_home_dir }}/cores/core_yb.%e.%p"
value: "|{{ bin_path }}/compress_core.sh {{ yb_home_dir }}/cores/core_yb.%t.%e.%p"
state: present
tags: yb-prebuilt-ami

Expand Down

0 comments on commit 161c0c8

Please sign in to comment.