Random tech jargon

Update 2010-02-19: Seems other people are also affected by the Varnish LINGER crash on OpenSolaris. This does not address the core problem but removes the “fail fast” behavior with no negative side effects. r4576 has been running reliably with the fix below. In varnishd/bin/cache_acceptor.c if (need_linger) setsockopt(sp->fd, SOL_SOCKET, SO_LINGER, &linger, sizeof linger); Remove TCP_assert line […]

Tagged with , ,

Are you running JRuby in production? Do you want distributed file storage for your “enterprise” application? Look no further, MogileFS is here. MogileFS-Client has compatibility issues with JRuby due to it’s use of the low level Socket class. JRuby 1.5-dev does not yet support all the Socket methods, so here is a monkey patch to […]

Tagged with , ,

Squid is a fundamental part of our infrastructure at Fabulously40. It helps us lower response times quite considerably. The problem with Squid is that it is quite “dense” when it comes to configuration flexibility. Unless your willing to do a bit of C hacking on it, it does not have much configuration flexibility. This can […]

Tagged with , ,

http://github.com/victori/perlbal-plugin-mogilefs Key features – Asynchronous, does not stall the Perlbal event loop. – Converts URL paths to MogileFS fetch keys. – Failover to filesystem if key fetch failed. – Pretty statistics in Perlbal’s Management console. Its freaking awesome 😉 On a side note, I have also updated my other two Perlbal plugins. http://github.com/victori/perlbal-plugin-stickysessions – Session […]

Tagged with ,

*Update* Patches got accepted into MogileFS Trunk 😉 Just go check out trunk, it has all my patches already included. http://code.sixapart.com/svn/mogilefs/trunk/ The only thing you need is my mogstored disk patch which is still pending. All the issues revolving around postgresql and solaris have been already included in trunk. I fixed a few issues with […]

I just received my “Guide to Open-Source Operating Systems” comparing Solaris with Linux from Sun’s marketing department. Here are some of the facts that made me cringe due to blatant lying and half truths. Hey Sun, don’t let the facts get in your way. Believe it or not but this is actually verbatim from the […]

Once again I have been blind sided by yet another conservative out-of-the-box setting. IPFilter is tuned way too conservative with it’s state table size. Here is how you can tell if your hitting any issues, run ipfstat and check for lost packets. victori@opensolaris:~# ipfstat | grep lost fragment state(in): kept 0 lost 0 not fragmented […]

Update: The following information could be beneficial to some, however my issues actually were with Caviar black drives shipping with TLER disabled. You need to pay Western Digital a premium for their “RAID” drives with TLER enabled. So for anyone reading this, avoid consumer Western Digital drives if you plan on using them for RAID. […]

Tagged with , ,

Recently a primary boot disk went bad on our server and I got blind sided by a non-bootable secondary mirror disk. All the data was intact but I could not boot it. This required a slow re-installation and migration process that took a very long time. • EFI partitioned drives are not ZFS bootable. • […]

Tagged with , ,

I am working on a little twitter project that uses twitter4r as the client API. As of recently twitter pulled some strings on their API and broke compatibility. syris:~ victori$ ruby somebot.rb /opt/local/lib/ruby/gems/1.8/gems/mbbx6spp-twitter4r-0.4.0/lib/twitter/client/base.rb:43:in `raise_rest_error’: Not Found (Twitter::RESTError) from /opt/local/lib/ruby/gems/1.8/gems/mbbx6spp-twitter4r-0.4.0/lib/twitter/client/base.rb:48:in `handle_rest_response’ from /opt/local/lib/ruby/gems/1.8/gems/mbbx6spp-twitter4r-0.4.0/lib/twitter/client/base.rb:20:in `http_connect’ from /opt/local/lib/ruby/1.8/net/http.rb:543:in `start’ from /opt/local/lib/ruby/gems/1.8/gems/mbbx6spp-twitter4r-0.4.0/lib/twitter/client/base.rb:16:in `http_connect’ from /opt/local/lib/ruby/gems/1.8/gems/mbbx6spp-twitter4r-0.4.0/lib/twitter/client/user.rb:37:in `user’ from somebot.rb:5 Curse […]

Tagged with