Creating a software RAID array on an already installed Ubuntu 11.04

Let’s say you got confused by a misleading fake-RAID feature on an HP Blade server and you decided to ignore that the Ubuntu installer was telling you it found 2 disks while it was supposed (if it was actual hardware…

More Details
Get Linux distribution name

Why re-invent the wheel? This post gives ample details: http://www.cyberciti.biz/faq/find-linux-distribution-name-version-number/ cat /etc/*-release o lsb_release -a

More Details
PHP FastCGI hangs

Just as a self reminder, this blog post explains why php-cgi might hang/stop silently when your load increases, and how to fix it, where it explains (in short) that fast-cgi should have the parameter PHP_FCGI_MAX_REQUESTS should equal 1000 or more…

More Details
How to best generate a DDoS without even noticing

Yesterday w had a funny (I say that now that I’ve been able to relax a little) situation on one of our hosted servers. The server’s RAM usage went bang to the ceiling in a matter of minutes, and it…

More Details
Force caching for a specific page in Varnish

Just a self-reminder, in the vcl_recv section (before sending request to the backend), check the url you want to always serve from cache and tell it to return(lookup);   if (req.url ~ “request_server.php$”) { return(lookup); } Reload Varnish and get…

More Details
Increasing battery working time on Lenovo W500

I’m a happy user of a Lenovo W500 but I had a very hard time getting anything more than 1h30 battery time, even with a brand new 9-cell battery (this one got me just 1h45 when using low screen brightness…

More Details
HOWTO Build your own binaries of PHP Xapian bindings for Debian

Due to a licensing issue, the PHP bindings for Xapian were removed from Debian Squeeze. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513796 for more information about this. Though, it is not really hard to build your own package from source. Here is how: sudo apt-get…

More Details
Memcache(d) to store PHP sessions

Edit: as of July 2014, there is a recent article discussing the use of php5-memcache instead of php5-memcache to store sessions on this blog. There are many posts around on the web about using memcached to store sessions data on…

More Details
Chamilo admin page slow – disable version check

In some very strict cases of network filtering, you might realize that your Chamilo server is slow when using the administration pages, but is actually very fast for the rest and doesn’t use your server excessively in any measure. The…

More Details
Debunking error (OS 10054) core_output_filter: writing data to the network

One of our customers has Apache logs (Xampp-based) full of this line: [Tue Mar 02 16:21:41 2010] [info] [client 172.20.99.16] (OS 10054)Une connexion existante a dû être fermée par l’hôte distant.  : core_output_filter: writing data to the network Sometimes (OS10053)…

More Details

Quick Contact Form