Cgroups permit to restrict a process to specific hardware like CPU or limiting IO disk etc… Managing it manually could be a nightmare and hopefully, a good workaround exists. It’s called cgconfig and allows you to have a running daemon to apply restrictions on all new running process. I’ve made a documentation for it and spent time on it as it’s not properly Debian packaged yet :-(

Continue reading

Piwik 2.0 has been released a few days ago. The upgrade of my version was done without any issues (as a rule with Piwik). I like the look of this new version and like the new mobile application on Android. It’s really better organized and really looks like as an application (compared with the first version). There are some new interesting features for professionals (not for my personal usage). If you don’t know it yet, it’s a good alternative to Google Analytics and you should try it.

Continue reading

On android, you may need some folder to no being indexed. It could be photos or videos… To do so, use a ES Explorer for example and a ‘.nomedia’ file inside the desired folder. No index will be done in that folder. I like to do it when I temporary add TV series and don’t want them to be indexed. By this way I don’t see them in the Gallery application for example.

Continue reading

I recently needed to set a website in maintenance and wanted to do it as quickly as possible with any restart of Nginx. The idea is to add a maintenance.html page at the root of your web folder and then the maintenance page is automatically taken into account. To do it, simply follow the link (in french).

Continue reading

To be able to monitor the PHP-FPM service with connections, queue information, process… you’ll need to set the status page. This will give you something like this : pool: www process manager: dynamic start time: 18/Dec/2013:19:00:41 +0100 start since: 52972 accepted conn: 5268 listen queue: 0 max listen queue: 0 listen queue len: 0 idle processes: 3 active processes: 1 total processes: 4 max active processes: 4 max children reached: 0 Those informations are important to correctly tune the PHP-FPM service.

Continue reading

Author's picture

Pierre Mavro / Deimosfr


Qovery Co-Founder and CTO

Paris - France