MeshAgent icon indicating copy to clipboard operation
MeshAgent copied to clipboard

core files

Open Smiley-k opened this issue 1 year ago • 3 comments

Hi, I am observing a large number of 15 megabyte files of the following kind, which is taking up a lot of space on my PC, how can this be turned off ?

image

Smiley-k avatar Sep 30 '24 10:09 Smiley-k

i believe these might be crash core dump files, so the meshagent is crashing/kernel panicing have you checked your syslog/messages files for events?

edit: https://stackoverflow.com/questions/24632114/many-core-files-e-g-core-1678-etc-how-to-find-where-the-exactly-error-is-by

si458 avatar Sep 30 '24 11:09 si458

i believe these might be crash core dump files,

so the meshagent is crashing/kernel panicing

have you checked your syslog/messages files for events?

edit: https://stackoverflow.com/questions/24632114/many-core-files-e-g-core-1678-etc-how-to-find-where-the-exactly-error-is-by

Thanks, yes it looks like that, but a question is it possible to somehow disable dump generation or have them cleaned up by themselves ? (I have 4 000 Linux hosts, all different and it is very difficult to bring to the same state, and dump takes up space).

Smiley-k avatar Oct 01 '24 04:10 Smiley-k

That is something u need to set in the OS, it's nothing to do with meshcentral or meshagent, u need to ask the OS to stop generating them, U can also check in ur config.json that use don't have the agentcoredump enabled as meshagent will try to upload them files back to meshcentral for u to debug if it detects it crashed

si458 avatar Oct 01 '24 06:10 si458