Automatically adding a timestamp to CORE filenames

Completed

Comments

3 comments

  • Avatar
    Dmitry Savinov

    Hello Piotr,
    Could you please clarify your question? What specifically are we talking about? What is your partition scheme?

    0
    Comment actions Permalink
  • Avatar
    Ichiro

    I assume Piotr was talking about the core.xxxxxx on the Linux version of mediaserver. The core file is named as core.{epoch_timestamp} sits at "/opt/networkoptix/mediaserver/"

    What Piotr asks might be :
    1) The file size is relatively large, so he is worried about the disk capacity will be occupied and eaten up.
    2) Will it be possible to just overwrite the old core file instead of create new core file.

    0
    Comment actions Permalink
  • Avatar
    Campbell Steven

    That's my take on it too Ichiro I can see this becoming an issue for us to if this is the new default, we currently reserve enough space for one core dump. If there are going to be multiple then it might be worth making the default behavior to overwrite the core and then in situations (which certainly do exist when troubleshooting) being able to enable the new behaviour which allows you to collect core dumps. It seems counter productive to be writing a script to put into cron to clean up core files by default.

    0
    Comment actions Permalink

Post is closed for comments.