Tuesday, September 30, 2008
I’ve done minor changes to the installaion guide for MogileFS following feedback from Craig.
In addition, he noticed that on some Xen VMs, you may encounter the following error:
ERROR: Need to be root to increase max connections
in which case, you will need to update /etc/security/limits.conf with the values:
mogile soft nofile 65535
mogile hard nofile 65535
Friday, September 26, 2008
I’ve spent a couple of hour trying to test a Rails controller. More specifically one of the action is suppose to display flash.now notice and I want to test that and it works. It took me awhile and some googling to realise that the content of a flash.now is deleted after the action, so that you cannot test it the same way as a normal flash (that last for the duration of the current action and the next one).
I came an across an elegant solution to this problem as decribed on this blog.