-
Notifications
You must be signed in to change notification settings - Fork 57
Set up Rake task to clear miniprofiler logs #913
Comments
I'm also going to tell ITS to just clear out all of those directories; we're not using the data at the moment although we are using the profiler. Assuming that clearing the directories will buy us some time, we can then figure out how to prevent this from happening again. |
Quoting @dgoerger with the temporary solution for posterity:
|
I tried looking into this and got a bit stuck; ultimately we'll still want to be able to use miniprofiler in |
fwiw clearing the logs once per day is not enough. ITS forbade miniprofiler from its servers after it almost trashed the server by overloading inodes (my boss said it's not allowed). It's a complicated situation with the default testing suite running once every five seconds (to ensure server uptime and availability) and generating many many thousands of logs, and not wanting to disable the testing suite for a single server. Unix Infrastructure and the Dev program have a meeting to discuss a way forward next month (on the 10th I think), so, stay tuned for that, but if anyone has creative solutions please do let us know. :) |
Thanks for the clarification; I feel like there's a good chance we'll be restructuring our Rails environments in the end so that this is no longer an issue, but just in case I'm bumping this to v4.1. |
Given that we're going to revamp deployment (see #683) and are currently using the |
We're in trouble:
From here it doesn't seem like it defaults to clearing out the logs, we should either set up a cron job to do it or figure out how to make it happen otherwise. I'm guessing that this is just an issue on the development instances since the profiler only runs in the
development
environment, but we need to fix this ASAP regardless.The text was updated successfully, but these errors were encountered: