Using the Google Perftools to speed up your MySQL server

Posted by & filed under Documentation, MySQL.

The Google Perftools, especially tcmalloc (Thread Caching Malloc), can be very useful to speed up your applications, depending on your environment : TCMalloc is faster than the glibc 2.3 malloc (available as a separate library called ptmalloc2) and other mallocs that I have tested. ptmalloc2 takes approximately 300 nanoseconds to execute a malloc/free pair on… Read more »

Mirroring Dotdeb

Posted by & filed under Documentation.

If Dotdeb is useful for you and if you want to mirror it, just add a cron job to periodically fetch the packages : rsync -a –delete rsync.dotdeb.org::packages/ /your/local/path/ Then, if you wish your mirror to appear on the mirrors list, send me its full URL. Note 1 : mirroring once a day should be enough…. Read more »

Storing your PHP sessions using memcached

Posted by & filed under Documentation, PHP.

Using PHP sessions can be a problem when your PHP applications are load-balanced on many web servers. You can store them on a NFS export or recode the session_set_save_handler using a SQL backend for example. But there is no solution more efficient, more scalable, more performant and easier to deploy than using memcached… Memcached is a… Read more »

How to enable greylisting on your Qmail server

Posted by & filed under Documentation, Mail.

Greylisting is very useful to avoid most of the incoming spam on your mail server. The Qmail packages shipped on Dotdeb have built-in MySQL-based greylisting. Here is how to enable it… Installation First of all, be sure to have Qmail installed from Dotdeb with a version number greater than 1.03-37.dotdeb.1. Then, since we’ll use a… Read more »

MySQL 5.0.67 available

Posted by & filed under MySQL.

Norbert Tretkowski recently worked on packaging MySQL 5.0.67, the latest Community Edition release of MySQL Server. But, since the next Debian version – Lenny – is already frozen, the packages were not uploaded to the official archive. Instead of that, I rebuilt them and made them available on Dotdeb for Etch amd64/i386. Please take a… Read more »

PHP 4.4.9 available

Posted by & filed under PHP.

On August 7th, the PHP Group has published the last version of PHP4, numbered 4.4.9 : It continues to improve the security and the stability of the 4.4 branch and all users are strongly encouraged to upgrade to it as soon as possible. This release wraps up all the outstanding patches for the PHP 4.4 series, and is… Read more »