nx1 core dump fills up root partition
Answeredhi network optix,
we have had several nx1 all go offline. it appears the nx server crashes and a core dump fills up the root partition, preventing the server from starting up.
running the below commands will remove the core files and should prevent further core dumps from being stored in the root partition.
is this an issue network optix is aware of, and is there any plan to push a patch similar to the code below to prevent this issue in the future?
james
envy electrical & automation
if [[ $(cat /etc/security/limits.conf | grep -c '* soft core 0') == 0 ]]; then echo "* soft core 0" >>/etc/security/limits.conf; fi
if [[ $(cat /etc/security/limits.conf | grep -c '* hard core 0') == 0 ]]; then echo "* hard core 0" >>/etc/security/limits.conf; fi
rm -f /opt/networkoptix/mediaserver/bin/core.*
reboot
-
Official comment
Hi James,
Thank you for your clear description and the possible solution. Appreciated.
We recently notified this issue and it should be resolved in one of the next patches. -
Hey Norman,
Can you confirm if this has made it into the latest patch?
Thanks
0 -
Hi @...,
I will provide an update when I know more.
0 -
Hello
We've modified the script so it moves the latest core dumps from the root partition to the storage freeing up some space.
This is done regularly when nx1 boots up.
This will be included in the monthly patch.
Thank you for your feedback
0 -
Please use the following patch to address the issue:
Build Number: 30617 Password: l2jy93 0
Please sign in to leave a comment.
Comments
5 comments