The calendar is gone.
Click here to view posts


Virtual server
I am using dreamhost's virtual servers. I am currently limited to 150mb of ram and a 150mhz cpu. This should be more then enough for my little web servers. I found after 10 days or so all my ram was being used. I think it is because of zombie dispatchers but I can never trouble shoot it to find out. I just added some tools that will allow me to see what is going on.
Oddly enough, I can not get top to run from rails. The top command will normally wait for input and keep updating frames. If you use -b -n1 it runs in "batch" mode and will cut out after one frame. This worked fine from irb and I was able to save the data to a string. In rails this fails, but I can ls, and ps. I normally only use ps to find a pid I want to kill. So I only know the -elf options and I grep for my data. After reading the man page for ps I found out I can out put the % of memory a pid is using. This was perfect. I will be able to tell exactly what the memory hog is.