When you manage outgoing emails through SMTP, you may sometimes need to test if a service is able to send correctly emails and itself check that there were no issue during sending. You can create a black hole for a specific domain and Postfix will answer from the same manner as if it is ok. It also permit to test Postfix sending capacities on a server. To get more informations on this, follow that link.

Continue reading

In a sad scenario where an application is fully consuming CPU to limit it. To do so, you will need a magic command called Cpulimit that will help you to limit a PID to a desired percentage usage of your CPU. I’ve wrote a little documentation on cpulimit.

Continue reading

News in bulk

I recently flushed my Google Reader stars that I had and didn’t write down since 2009. There was a huge amount of work, but I did it. Now my account could be close without any missing things. I wrote down some of tips and I share them with you : Command line email sending with attachements (French) Interesting Postfix resources Bind DNS : How to flush cache, Version security check and force zone reloading (French) How to duplicate disk : only partition table and over the network (French) Acct : adding new software informations (French) Solaris : get link aggregation informations (French) MySQL : get database size (French) Stress : CPU stressing mechanism (French) More Linux memory managment inforamtions (French) ACL (FS) : duplicate rights (French) Duplicate Debian packages to reinstall another one quickly (French) Adding iptables comments (French) Hardware performances : get an idea of componant speed (French) WordPress auto flush comments (French) Crypt SSH private key (French) Grep : show lines bofore or after search pattern (French) Nagios : avoid reminding shcedule after reboot (French) Sysstat : check processus peformances (French) I hope it will helps you :-)

Continue reading

Nginx Substitutions Filter is a filter module able to do both regular expression and fixed string substitutions on response bodies. This module is quite different from the Nginx’s native Substitution Module. It scans the output chains buffer and matches string line by line, just like Apache’s mod_substitute. I’ve played with the classic substitution module but due to limitations (only one matching pattern and no regex), it wasn’t easy to do all I wanted to do.

Continue reading

It´s been a while that I was waiting for a tool that tells me if my Debian server is requesting a reboot or not. Of course GUI tools exists (like Ubuntu update-manager), but on a server machine, where there is no X server installed (thankfuly), this kind of CLI tools can be quickly interesting. That´s why I wrote a tool called deb_reboot that gives the reboot requierement information in parsing postinstall scripts of installed packages.

Continue reading

How could this happen ? I found a communication on that and it has simply been removed as there were no updates since a long time. Even if CVE were recently proposed, it’s considered as not enough : http://debian.2.n7.nabble.com/Status-of-haproxy-for-upcoming-wheezy-release-td2907665.html But guys ! Seriously, do you know how many people are using HAproxy ? It’s a shame that it’s not in the current stable version of Debian. Now let’s check the availability on all Debian versions, it’s currently only on oldstable and experimental versions :

Continue reading

I was searching a way to minify my CSS. For those who don’t know what it is, it’s a method to win space for your CSS as it will remove all unneeded blank spaces and lines return. A lot of websites exists to minify your CSS, but if your website is not online and only running locally, you won’t be able to minimize it. I found a little software written in Python, that makes it easy, called mincss (thanks to Peter Bengtsson for it).

Continue reading

Author's picture

Pierre Mavro / Deimosfr


Qovery Co-Founder and CTO

Paris - France