On 28/08/2007 12:14 AM, Gregor Mosheh wrote:
Since we're on the topic, I thought I'd pipe up for Steve's benefit about a small matter which I found baffling for a few days...

If you run "df -k" in a VE, you will often get a different answer than vzquota. This is because vzquota doesn't keep to-the-moment statistics in its cache file. You must run "vzquota stat VEID" in order to have the cache updated; then vzquota will report the correct usage. This is in the Wiki, but I thought to save you some time. :)

Thanks :-)

And for the benefit of Kir, I wasn't intending the GOOD/BAD thing wasn't intended as a criticism of openvz. It was really only bad because I had become fixated on the user_beancounters as a diagnostic and had forgotten about all the other good tools :-) The error from vi sort of pointed me at a memory issue which didn't help much either.

However I was extremely grateful that my silly error in causing the VE to consume about 8 GB per hour had stopped at the quota limit of 40 GB rather than consuming all free space on that partition.


Steve
_______________________________________________
Users mailing list
[email protected]
https://openvz.org/mailman/listinfo/users

Reply via email to