March 29, 2009

Tokyo Cabinet 2 gb file size issue

We try to use Tokyo Tyrant in out project, after few experiments we launched it in our production server.
But few days of working TT goes offline. We hit 2gb file size limit.
We tried large option on db config - still same problem.
http://goran.krampe.se/blog/Squeak/TokyoTyrant.rdoc - hit the same problem.

We use ubuntu 32-bit on our servers. So after reading some docs I found out that TC should be compiled with --enable-off64 options (build with 64-bit file offset on 32-bit system.)

so

./configure --enable-off64
make && sudo make install

fixed our problem.

March 27, 2009

Овцы как пиксели

Очень необычная идея, смотрится просто афигенска!