Enable core dumps for GT.M processes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenVista/GT.M Integration |
Fix Released
|
Medium
|
Derek_ |
Bug Description
When a GT.M process segfaults, the following messages are written to syslog (the second message is not always present):
Dec 21 16:30:35 localhost GTM[20999]: %GTM-F-
Dec 21 16:30:35 localhost GTM[20999]: %GTM-F-SIGMAPERR, Signal was caused by an address not mapped to an object -- generated from 0x00002B188E41DC85.
To further debug the issue, a core dump file is needed. By default, RedHat (and I believe Ubuntu) disable core dumps. We should enable core dumps in the openvista, ovcc, and ovtied utilities by adding the following line after cd'ing to the instance's tmp directory:
ulimit -S -c unlimited > /dev/null 2>&1
On Ubuntu, we also need to set /proc/sys/
Related branches
Changed in openvista-gtm-integration: | |
assignee: | nobody → Derek_ (derek-name) |
status: | New → Confirmed |
tags: | added: openvista ovcc ovtied |
Changed in openvista-gtm-integration: | |
status: | Confirmed → In Progress |
status: | In Progress → Fix Committed |
Changed in openvista-gtm-integration: | |
status: | Fix Committed → Fix Released |