<?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>Th30z - Coding on the Fly &#187; Linux</title>
	<atom:link href="http://th30z.netsons.org/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://th30z.netsons.org</link>
	<description>Matteo Bertozzi, Objective-C, Cocoa, C, C++, Qt4, iPhone, Mac OS X, Open Moko, Matteo Bertozzi Development</description>
	<lastBuildDate>Tue, 23 Feb 2010 20:51:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>I Scheduler&#8230;</title>
		<link>http://th30z.netsons.org/2008/10/i-scheduler/</link>
		<comments>http://th30z.netsons.org/2008/10/i-scheduler/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 16:20:21 +0000</pubDate>
		<dc:creator>Matteo Bertozzi</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PsLimit]]></category>

		<guid isPermaLink="false">http://th30z.netsons.org/?p=240</guid>
		<description><![CDATA[In these days at work we&#8217;ve some trouble with a very slow PostgreSql Server&#8230; We need something like a Thread Pool.. but we couln&#8217;t modify the Server that call Postgres.
My Idea, that increase, in our case, more than 50% the response speed is to &#8220;limit&#8221; the postgres (postmaster for 7.4) instances.
This morning i&#8217;ve writed this [...]]]></description>
			<content:encoded><![CDATA[<p>In these days at work we&#8217;ve some trouble with a very slow PostgreSql Server&#8230; We need something like a Thread Pool.. but we couln&#8217;t modify the Server that call Postgres.<br />
My Idea, that increase, in our case, more than 50% the response speed is to &#8220;limit&#8221; the postgres (postmaster for 7.4) instances.</p>
<p>This morning i&#8217;ve writed this <a href="http://th30z.netsons.org/wp-content/uploads/pslimit.tar.bz2">PsLimit Source</a> that do my &#8220;Scheduler&#8221; Job.</p>
<p>Usage:</p>
<p style="padding-left: 30px;">pslimit &lt;process name&gt; &lt;max number of instances&gt;</p>
<p>Usage Example:</p>
<ul>
<li>Only 3 instances of postgres can run at the same time, the other will be queued
<ul>
<li>pslimit postgres 3 <em>(Postgres 8.x)</em></li>
<li>pslimit postmaster 3  <em>(Postgres 7.x)</em></li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://th30z.netsons.org/2008/10/i-scheduler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
