Beginning with exacqVision Server 9.8.x, enabling or disabling exacqVision core dumps may be performed as follows:
To Enable:
- Open Terminal
sudo touch /usr/local/exacq/server/enabledumps
- There is no need to restart the service for any reason
- Within 1 second, SysmgmtPI will log
SYSMGMTPI: enabled core dumps
- If the server crashes, you may grab the dump file /usr/local/exacq/server/logs/core_dump.gz
- (Prior to 19.03.x, the location was /usr/local/exacq/server/blob/core_dump.gz)
- This file is overwritten with each new crash.
To Disable:
- Open Terminal
- sudo rm /usr/local/exacq/server/enabledumps
- There is no need to restart the service for any reason
- Within 1 second, SysmgmtPI will log
SYSMGMTPI: disabled core dumps
NOTES
Core dump files in the blob folder caused the client to stall when attempting to export settings with map graphics (refer to #d17724 & #3496). Server >= 9.9.16 relocates core dump files to the logs folder (refer to #d17742). Now, it’s consistent with Windows, which is easier to remember anyway.
exacqVision Virtual Appliance and Ubuntu 10.04 are only supported starting with 19.05.17 trunk server.
M-Series does not support Core Dumps.
WARNING – If the OS partition is low on space (< 100 MB free), LogPI will probably delete all core dump files before you have a chance to use them, so recommended that you first ensure there’s multiple GB free on OS partition first, just to be safe.
If you need to enable core dumps on systems running older server or OS versions, you should be able to:
- Get a copy of both SVN/edvrserver/core/scripts/config_core_pattern.sh and coredump.sh
- Deposit both in server’s scripts subfolder.
- Manually run /usr/local/exacq/server/scripts/config_core_pattern.sh enable to enable, or specify disable, as necessary.
- Subsequent crashes should generate core dump files in server’s logs subfolder.