Contactez-nous : 01 71 18 39 73 | contact@thecodingmachine.com
Suivez-nous sur Facebook

linux Syndicate content

Fixing Java memory leaks in Ubuntu 11.04 using jmap

When facing problems regarding memory consumption of a Java application, the JDK contains a number of useful tools to help you understand what is going on. You can get a list of the tools on this page.
One of these tools is "jmap". Jmap will let you now (among other things) know what objects are using your precious memory.

Cool!
...
except that when you try to use jmap on Ubuntu 11.04 with a Sun JVM 6, you will get this error message:

Attaching to process ID 12450, please wait...

Redimensionner les partitions d'un serveur OVH Kimsufi

Dans cet article, nous allons voir comment redimensionner une partition sous Linux.
Pour l'exemple, et pour la pratique, nous allons redimensionner les partitions d'un serveur OVH Kimsufi sous Ubuntu.

Pourquoi un serveur OVH Kimsufi sous Ubuntu? Parce qu'à l'heure où j'écris ces lignes, l'installation de base d'Ubuntu 9.10 fournie installe une partition de 5Go pour /, et une partition de plusieurs centaines de Gigas pour /home.
C'est évidemment absurde, surtout si on héberge un site web (puisque c'est le répertoire /var qui va grossir à cause de la base de données et des logs).