Running out of disc space is not a good situation. However, if it
does happen, it would be nice to have some control over what
happens.
We use MyISAM. When you run out of disc space, MyISAM just sits
there and waits. And waits, and waits, apparently forever, for
some space to become available.
This is not good, because an auditing/logging application (which
ours is) may have lots of available servers which it could send
its data to - getting an error from one would simply mean that
the data could be audited elsewhere.
But if the server just hangs, and waits, the application isn't
(currently) smart enough to give up and try another server, so it
hangs the audit process too. Which means that audit data starts
to back up, and customers wonder why they can't see recent data
in their reports etc.
There has to be a better way. I propose
- A background thread monitors the disc …
[Read more]