Monthly Archives: May 2013

jenkins eats up cpu and memory resources

In the last two years we were suffering from jenkins CPU and memory utilization. The following switches made miracle: JAVA_ARGS="-Djava.awt.headless=true -Xms1g -Xmx6g -XX:MaxPermSize=1G -XX:+UseParNewGC -Dorg.kohsuke.stapler.compression.CompressionFilter.disabled=true" We see ~60% CPU usage at peaks(!) on a Xeon E5504 2.00GHz, instead of constant … Continue reading

Posted in IT | Leave a comment

Convert squid.log timestamp to readable format

Squid log looks like this: Tue May 21 07:32:33 2013     25 TCP_MISS/200 68240 GET – DIRECT/ image/jpeg Use this one-liner to convert unix timestamp to readable dates: #!/usr/bin/perl -p s/^\d+\.\d+/localtime $&/e;

Posted in IT, Linux | Leave a comment

HP iLO lost password recovery

There are number of howtos about changing a lost password in iLO. They’re all talking about properly formatted xml file and hponcfg. But what if you get this message? $ hponcfg HP Lights-Out Online Configuration utility Version 4.0.0 Date 12/08/2011 … Continue reading

Posted in IT | Leave a comment

Upgrade LXC container from Ubuntu Lucid to Precise

Through the release upgrade process there is an error: unable to make backup link of `./lib/init/fstab’ before installing new version: Invalid cross-device link $ apt-get -f install Reading package lists… Done Building dependency tree       Reading state information… Done Correcting dependencies… … Continue reading

Posted in IT, Linux, Ubuntu | Leave a comment