0

I noticed today that my mysql server was not starting up anymore. Checking the error logs, it showed that it didn't have enough disk space. I thought that's really weird since there's nothing on my server that could possibly take up 30GB. After digging around I observed my citadel logs are taking up a massive 22GB of space in the /var/lib/citadel/data/ directory:

enter image description here

This is split in lots of smaller (still big) log files:

enter image description here

Why is this happening and how can I prevent it in the future?

EDIT: Here's a sanitized sample of one of the log files:

enter image description here

  • Are they text logs or database logs? – EEAA Jan 25 '16 at 22:09
  • Not sure. They contain some human-readable text (looks like config changes, some emails, etc) but also contain some non-human-readable stuff. – Vlad Schnakovszki Jan 25 '16 at 22:10
  • Can you post a sanitized snipped of one of the logs? – EEAA Jan 25 '16 at 22:15
  • I have now posted a sample above. – Vlad Schnakovszki Jan 25 '16 at 22:24
2

They're database logs. Citadel has functionality to delete them. Just turn on automatic log pruning and the logs that are committed to the database will go away.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.