Recent posts (max 5) - Browse or Archive for more

Jobq 0.8.1 - Better and faster queuing

A minor Jobq release for an important fix, see the #18 ticket for all details:

  • A race condition has been fixed with the help of the start-stop-daemon from dpkg. Which makes it currently Debian only but reuse a very robust wheel.
  • A queued job is now run ASAP instead of waiting for a cyclic pickup process (which was set to 5sec, which could add up to lots of wasted time waiting on queue pickups).

Thanks a lot to Sébastien Bocahu which implemented and tested the aforementionned fixes, and bore with my details pushing.

See JobQueue for more info.

  • Posted: 2010-06-26 17:22
  • Author: vcaron
  • Categories: (none)
  • Comments (0)

Bearmail 0.3.3 released (bugfix)

Bearmail 0.3.3 was released with one major bugfix (see #17); under corner case circonstances, the MTA could claim to host a foreign domain (like "gmail.com" ...) and capture all outgoing emails for the latter.

A few patches from the trunk made it through too (Sieve home is now the user maildir, mod_perl support, etc). Changelog is:

  • Fixed bug #17 where non-hosted domains were improperly looped locally
  • Sieve support: moved conf files to maildirs
  • Added mod_perl support (BearMail/Dispatch?.pm)
  • Web UI tweak on domain_list mode

See the BearMail wiki page for global information.

  • Posted: 2010-05-27 17:22
  • Author: vcaron
  • Categories: (none)
  • Comments (0)

couch-dump 0.3 - First public release

couch-dump and couch-load are tools used to dump and load data from CouchDB databases. They focus on low memory footprint and simple dump format, allowing the extraction of wide datasets from CouchDB (tested on multi-gigabyte production databases).

Quick demo :

hal:~# couch-dump -d mydb -o /var/tmp/mydb_dump
hal:~# couch-load -d mydb -s /var/tmp/mydb_dump

For more info, see CouchDump wiki page.

Jobq 0.8 - New stat and profile tools

Jobq 0.8 is a release which does not modify jobq itself nor fixes bugs, but brings two new very useful tools to monitor your job queues.

For instance jobq-profile prints time and calls per script:

$ jobq-profile -q production < /var/log/user.log

Calls  Time(sec)  Command
   12     460504  ./script/runner "LivePush.clean" && ./script/pates 
  197      49165  rake -s import:foobar:home_news_competition
  201      35767  rake -s import:foobar:news
  492       3063  rake -s import:foobar:update_recent_game_squad
   [...]

See JobQueue wiki page for download, source, samples, etc.

  • Posted: 2010-04-16 17:45 (Updated: 2010-04-16 18:02)
  • Author: vcaron
  • Categories: (none)
  • Comments (0)

phptop 0.5.1 released - quick bugfix

Thanks to Duck, an important bug has been spotted and fixed in memory logging (#8). It might discard a lot of sample measures depending on the locale numeric settings about scientific notations and mantissa (in the wild it would look like an "heisenbug"). It's now locale independent.

  • Posted: 2010-03-23 20:21
  • Author: vcaron
  • Categories: (none)
  • Comments (0)