Ah... been doing some reading on this forum. I kinda understand a bit more but some advice would be great.
This is what my cat /proc/io_status is now (i've been watching io_tokens come out of negative value)
io_count=12475222 io_rate=107 io_tokens=1823 token_refill=512 token_max=400000
From another post I found
io_count = total amount of tokens used since boot
io_rate = tokens being used per time unit (per second???)
io_tokens = number of tokens available to be used
token_refill = number of tokens that io_tokens will increase by per second.
My io_tokens keeps going negative. So anyway - untill I figure this thing out I've stopped my services to make sure I aint killing anyone else (although I suppose that's what the limiter stops by itself)
hehe. Just while I was writing this I ps aux 'd and found a rouge java process running ant. I tried to compile a webapp last night and it tanked. I thought it would be killed when I logged out but obviously it wasn't.
Even on my machine the jdk couldn't compile the same webapp with 768mb ram - it kept getting out of memory exceptions. So I finally compiled it using jikes instead (jikes literally did it in 30 seconds where jdk javac took 2 minutes then crashed with an out of memory exception)
Then I uploaded the war. But all this time it seems that process has been chomping away. But anyway - since I killed it it hasn't had a positive effect on my io_tokens. So I've still shut tomcat down till I figure out how to run it without killing the machine.
Currently my swap is 256mb for a 128mb linode. Perhaps I could resize my partitions and increase swap to 512mb? Or should I increase my jdk memory allocation for the tomcat process or should I just bite the bullet and fork out some more money to caker for some more memory
Cheers
Willie