Being a free software consultant is all about the ability to adapt to any given situation… As the main conduit between my clients and the world of cutting edge technologies, they often call me to complete mandate that have little to do with my specialties. Officially, I build high throughput, high redundancy information system. However, here is a quick glance of my ‘monday’:
1. no more free inode on server
Database server of a client is sometimes throwing out error about inodes. This morning, I’ve decided to correct the problem once and for all.
#checking inodes
root@server:/home# df -hi | grep sda
/dev/sda1 640K 606K 35K 95% /
#checking free space
root@server:/home# df -h | grep sda
/dev/sda1 10G 5.1G 4.4G 55% /
A quick check shows 4.4G of free disk space but a little bit less than 35K inodes availables. Taking into account that each file require at least one inode… this could easily become a very dangerous situation. Resolving this issue isn’t very complicated : I’ve destroyed some of the 500k idle file on the server and move some more to another partition. Easy solution for a problem that can easily crash your server.
2. Zimbra & Sphinx ; 2 deployments
One client wanted an easy to manage, web accessible and fully featured messaging & collaboration software. Zimbra [website, download] is one of the easiest open source solution to recommend in those case. It integrate with active directory, it support full text search, tagging and got a very good web interface. Kinda of remind me of MailEnable (for Windows), but a lot less costly and available on GNU/Linux. I’ve completed quite a few single/multi-node deployment of Zimbra and I’ve always been impressed by the quality of the system. Hoo, and btw, I’m a certified Zimbra consultant.
Another wanted to add full-text search capacity to an existing MySQL database. While innodb & MyISAM built-in indexes can help speed up some queries, they are restricted by the b-tree data model. The second problems in this scenario is that the data is already partitioned in multiple database / servers. This is the perfect use case for Sphinx [website] with multi-tables/multi-databases data sources.
3. U.P.C. – BarCode reader
I’ve received a shipment of 8mm barcode reader for a client. The device is to be integrated in a point-of-sale solution my corp. (Les Laboratoires Phoenix) is developing for them. The small USB Acan device [ebay search] is easy to configure (scan specific code) and to use (act as a keyboard). True plug-and-play on Microsoft Windows XP, Vista, on GNU/Linux and Mac OSX Tiger… I’m very satisfied by the device and look forward to complete the assignment.
4. More stuff
Did way more stuff than those 3 contracts today… but hey, I can’t be writing down for all to see all my cool gigs and contracts! Some of those are actually protected by NDA or are still stealth.