<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Random Bugs &#187; Tuning</title>
	<atom:link href="http://www.randombugs.com/category/tuning/feed" rel="self" type="application/rss+xml" />
	<link>http://www.randombugs.com</link>
	<description>Just another Bastard Operator From Hell. Everything from *nix to programming</description>
	<lastBuildDate>Thu, 06 May 2010 14:21:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Changing default logging system in Glassfish 2.1 with Log4J</title>
		<link>http://www.randombugs.com/java/glassfish/changing-logging-system-glassfish-21.html</link>
		<comments>http://www.randombugs.com/java/glassfish/changing-logging-system-glassfish-21.html#comments</comments>
		<pubDate>Mon, 28 Sep 2009 18:04:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Glassfish]]></category>
		<category><![CDATA[Headline]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Tuning]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=606</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/apache3.jpg" width="24" height="24" alt="" title="Apache" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/bug.png" width="24" height="24" alt="" title="Bugs" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/debian.png" width="24" height="24" alt="" title="Debian" /><br/>A lot of people are not satisfied by the default Java Logging (JUL) in Glassfish. Also, myself I encountered some problems on clustered environments where we should have one single log and not one log for each instance.  Trying to change the logging system in Glassfish it looks to be almost impossible , but I found a very interesting project  java.util.logging to log4j Bridge and the sky become more clear for Glassfish logging. Jul to Log4J Bridge are part of log4J project and is very useful when you ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/java/glassfish/changing-logging-system-glassfish-21.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tuning a Linux system for Database Server</title>
		<link>http://www.randombugs.com/linux/tuning-linux-system-database.html</link>
		<comments>http://www.randombugs.com/linux/tuning-linux-system-database.html#comments</comments>
		<pubDate>Thu, 16 Jul 2009 17:24:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Headline]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Tuning]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=567</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/kexi.png" width="24" height="24" alt="" title="Databases" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/help-contents.png" width="24" height="24" alt="" title="How-to" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/tux.png" width="24" height="24" alt="" title="Linux" /><br/> In my experiments with databases I was constrained to tune the system together with the databases. A system what will run a database is quite different from any other server system, because databases put a lot of stress on the IO and especially on the disks (probably the file servers too). Hardware is not all you should tune your system as much as possible. In this post I will talk about Linux with Ext3 (is what I have right now), but on future I will test OpenSolaris with ZFS.

1. ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/linux/tuning-linux-system-database.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Compile, install and run mod_limitipconn for Apache2 under Debian</title>
		<link>http://www.randombugs.com/tuning/compile-install-run-modlimitipconn-apache2-debian.html</link>
		<comments>http://www.randombugs.com/tuning/compile-install-run-modlimitipconn-apache2-debian.html#comments</comments>
		<pubDate>Mon, 22 Jun 2009 17:17:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Newbie]]></category>
		<category><![CDATA[Tuning]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=509</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/apache3.jpg" width="24" height="24" alt="" title="Apache" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/debian.png" width="24" height="24" alt="" title="Debian" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/help-contents.png" width="24" height="24" alt="" title="How-to" /><br/>Limiting abusers from running 20 download threads from the same Apache server is easy now with mod_limitipconn. But the apache 2 module, mod_limitipconn, is not available under the latest Debian distribution, Lenny. In this mini how-to I will show you how-to manage this module to work for Debian Lenny users. The compile process of mod_limitipconn is a little bit more than &#8220;make install&#8221;.
First install apache prefork development utilities (we need apxs2 to compile our module)

[rb@randombugs]# apt-get install apache2-prefork-dev
After that, download source code of iplimit module from http://dominia.org/djao/limitipconn2.html and unpack it
[rb@randombugs]# ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/tuning/compile-install-run-modlimitipconn-apache2-debian.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>MySQL vs PostgreSQL Benchmarks</title>
		<link>http://www.randombugs.com/linux/mysql-postgresql-benchmarks.html</link>
		<comments>http://www.randombugs.com/linux/mysql-postgresql-benchmarks.html#comments</comments>
		<pubDate>Thu, 18 Jun 2009 14:25:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Headline]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Postgresql]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Tuning]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=458</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/kexi.png" width="24" height="24" alt="" title="Databases" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/debian.png" width="24" height="24" alt="" title="Debian" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/tux.png" width="24" height="24" alt="" title="Linux" /><br/>We are living interesting times ... MySQL was first purchased by SUN and now SUN was purchased by ORACLE. I don't know what future will reserve for MySQL, but in this moment it seems MySQL is coming very very close to PostgreSQL. We are NOT talking about MySQL with MyISAM, we are talking about MySQL with InnoDB, because I'm directly interested in a set of properties what PostgreSQL already have them built-in and MySQL achieve them through InnoDB (and the new Maria Data plugin). This properties are Atomicity, Consistency, Isolation, Durability = ACID, in other words, very stable, good integrity and crash proof  database. Why an ACID database? Sometimes we are more interested in ACID for our data than raw speed. For example do you keep your savings to a bank who is running a NON ACID database? I think you understand my concern.

]]></description>
		<wfw:commentRss>http://www.randombugs.com/linux/mysql-postgresql-benchmarks.html/feed</wfw:commentRss>
		<slash:comments>45</slash:comments>
		</item>
		<item>
		<title>Using GPG under Ubuntu or Debian</title>
		<link>http://www.randombugs.com/linux/gpg-ubuntu-debian.html</link>
		<comments>http://www.randombugs.com/linux/gpg-ubuntu-debian.html#comments</comments>
		<pubDate>Wed, 13 May 2009 12:40:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Headline]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Newbie]]></category>
		<category><![CDATA[Recovery]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Tuning]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=443</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/gpg.png" width="24" height="24" alt="" title="Cryptography" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/debian.png" width="24" height="24" alt="" title="Debian" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/help-contents.png" width="24" height="24" alt="" title="How-to" /><br/>Gpg is stands for Gnu Privacy Guard and is a free alternative to the PGP cryptographic software. GnuPG (or GPG) follows the RFC 4880 which is the standard specification of OpenPGP. The most important thing GPG is interoperable with PGP. GPG is build as a command line utility but also have several front-ends for KDE, Gnome and other Linux desktops, but also is directly integrated in other software like: Email Clients as  Mozilla Thunderbird, Evolution, Kmail, Instant Messaging as PSI, Fire, Browsers as Mozilla Firefox etc.

GnuPG encrypts messages using ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/linux/gpg-ubuntu-debian.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Migrating from Ext3 to Ext4</title>
		<link>http://www.randombugs.com/linux/migrating-ext3-ext4.html</link>
		<comments>http://www.randombugs.com/linux/migrating-ext3-ext4.html#comments</comments>
		<pubDate>Tue, 24 Mar 2009 07:53:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Newbie]]></category>
		<category><![CDATA[Tuning]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[ext3]]></category>
		<category><![CDATA[ext4]]></category>
		<category><![CDATA[migration]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=347</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/debian.png" width="24" height="24" alt="" title="Debian" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/help-contents.png" width="24" height="24" alt="" title="How-to" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/tux.png" width="24" height="24" alt="" title="Linux" /><br/>Ext4 is the normal evolution of the most used Linux filesystem: Ext3. The evolution of Ext3 from Ext2 had add just 1 new important feature: journalization. But ext4 is a result of hardly improved Ext3  and is coming with better performance, modified data structures, reliability and new features like bigger filesystem/file sizes, subdirectory scalability, extents, multiblock allocation, delayed allocation, journal checksumming, online defragmentation, persistent preallocation.

The first stable version of ext4 is already out and probably a lot of you want to test it a little bit, so I write ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/linux/migrating-ext3-ext4.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Patching the linux kernel without rebooting</title>
		<link>http://www.randombugs.com/linux/patching-linux-kernel-rebooting.html</link>
		<comments>http://www.randombugs.com/linux/patching-linux-kernel-rebooting.html#comments</comments>
		<pubDate>Thu, 12 Mar 2009 15:23:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Headline]]></category>
		<category><![CDATA[Kernel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tuning]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=268</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/Brain.png" width="24" height="24" alt="" title="Kernel" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/tux.png" width="24" height="24" alt="" title="Linux" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/ktimer.png" width="24" height="24" alt="" title="Tuning" /><br/>I think, everyone from Linux industry, knows about kexec (fast rebooting ... actually not rebooting just switching kernels) or <a href="http://pannus.sourceforge.net/">Pannus</a> (live kernel patching, but right now the project is dead) and their use. The Linux community started very earlier to think at a method to switch or patch a live kernel, but this things should work only on a very good kernel with very good memory and process isolation ... but this was achieved some time ago, we have a very good and mature Linux kernel (in my opinion was perfect from 2.4.2x) what can run for years without a reboot (my record is 4 years on a system with kernel 2.6.8 and this kernel is far to be perfect). This days I found a tool what is a gold mine for system administrators : KSplice. ]]></description>
		<wfw:commentRss>http://www.randombugs.com/linux/patching-linux-kernel-rebooting.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Converting from ext2 to ext3 and back to ext2</title>
		<link>http://www.randombugs.com/linux/converting-ext2-ext3-ext2.html</link>
		<comments>http://www.randombugs.com/linux/converting-ext2-ext3-ext2.html#comments</comments>
		<pubDate>Wed, 04 Mar 2009 14:16:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tuning]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[ext2]]></category>
		<category><![CDATA[ext3]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=210</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/debian.png" width="24" height="24" alt="" title="Debian" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/help-contents.png" width="24" height="24" alt="" title="How-to" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/tux.png" width="24" height="24" alt="" title="Linux" /><br/>Yes, is possible and is very easy. Ext2 differ from Ext3 only on few things: Journalling is one of them and can be added very easy to an Ext2 system. First, just look to the features of a Ext2 filesystem:

[root@randombugs]# tune2fs -l /dev/sdb1 &#124; grep features
Filesystem features:      ext_attr resize_inode dir_index filetype sparse_super large_file

Adding a journal to a Ext2 filesystem is an easy process and some people are doing that directly on a mounted partitions. I recommend you to don&#8217;t do it on a read-write partition ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/linux/converting-ext2-ext3-ext2.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Rebooting after a Kernel panic</title>
		<link>http://www.randombugs.com/linux/rebooting-kernel-panic.html</link>
		<comments>http://www.randombugs.com/linux/rebooting-kernel-panic.html#comments</comments>
		<pubDate>Wed, 04 Mar 2009 13:24:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Kernel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Newbie]]></category>
		<category><![CDATA[Recovery]]></category>
		<category><![CDATA[Tuning]]></category>
		<category><![CDATA[oops]]></category>
		<category><![CDATA[panic]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=205</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/debian.png" width="24" height="24" alt="" title="Debian" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/help-contents.png" width="24" height="24" alt="" title="How-to" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/Brain.png" width="24" height="24" alt="" title="Kernel" /><br/>By default, a Linux, is waiting direct input of a person / sysadmin when is crashing with kernel panic/oops. Obviously is very important to know or to see directly the dumped screen, but sometimes in production environments is better just to reboot itself without any intervention and debug the problem with the system online. Off course for debugging and seeing the dump you will need to install and configure kdump, but that is another story (I will probably write about that soon).

Anyway to set your system to reboot after 1 ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/linux/rebooting-kernel-panic.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Core dumps under Linux</title>
		<link>http://www.randombugs.com/linux/core-dumps-linux.html</link>
		<comments>http://www.randombugs.com/linux/core-dumps-linux.html#comments</comments>
		<pubDate>Fri, 27 Feb 2009 12:47:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Newbie]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Tuning]]></category>
		<category><![CDATA[core]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=194</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/debian.png" width="24" height="24" alt="" title="Debian" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/help-contents.png" width="24" height="24" alt="" title="How-to" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/tux.png" width="24" height="24" alt="" title="Linux" /><br/>If you reached this page is possible to know what a core dump is, but I will explain again (in a very short version) for the new &#8220;kids&#8221; on the Linux who also is possible to reach this page &#8230; it sounds like a paradox &#8230; whatever:

Core dump is a file what contain the current state of a process and its memory saved when a program crashes. It can be analysed with gdb but you need programming skills to understand and develop that,
Core Dumps are very useful in a development ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/linux/core-dumps-linux.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
