<?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>Rule of Tech &#187; Gentoo</title>
	<atom:link href="http://ruleoftech.com/journal/category/gentoo/feed" rel="self" type="application/rss+xml" />
	<link>http://ruleoftech.com</link>
	<description>Everything and nothing but still something about Tech</description>
	<lastBuildDate>Fri, 16 Jul 2010 16:27:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Syslog-ng and connections exceeded error</title>
		<link>http://ruleoftech.com/journal/syslog-ng-and-connections-exceeded-error</link>
		<comments>http://ruleoftech.com/journal/syslog-ng-and-connections-exceeded-error#comments</comments>
		<pubDate>Sat, 02 Jun 2007 08:09:41 +0000</pubDate>
		<dc:creator>Marko</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Tech Talk]]></category>

		<guid isPermaLink="false">http://ruleoftech.wordpress.com/2007/06/02/syslog-ng-and-connections-exceeded-error/</guid>
		<description><![CDATA[Couple of days ago I updated my home Gentoo box and after that syslog-ng was too full of connections. As always the remedy was near. If you have app-admin/syslog-ng-2.0.4 and get errors like syslog-ng[8827]: Number of allowed concurrent connections exceeded; num=&#8217;10&#8242;, max=&#8217;10&#8242; to the syslog then read this helpfull topic from Gentoo forums. There was [...]]]></description>
			<content:encoded><![CDATA[<p>Couple of days ago I updated my home Gentoo box and after that syslog-ng was too full of connections. As always the remedy was near.</p>
<p>If you have app-admin/syslog-ng-2.0.4 and get errors like</p>
<blockquote><p>syslog-ng[8827]: Number of allowed concurrent connections exceeded; num=&#8217;10&#8242;, max=&#8217;10&#8242; </p></blockquote>
<p>to the syslog then read this <a href="http://forums.gentoo.org/viewtopic-t-561044-highlight-number+allowed+concurrent+connections+exceeded.html">helpfull topic from Gentoo forums</a>.</p>
<p>There was also note in Changelog:</p>
<blockquote><p>
2.0.4:<br />
Mon, 14 May 2007 11:47:48 +0200</p>
<p>IMPORTANT NOTES:<br />
* This version of syslog-ng fixes a bug in enforcing the max-connections() limit for various stream-like sources (unix-stream and tcp). Previously this limit was not enforced, thus production environments may use an inadequate value. Validate your max-connection() settings before upgrading and check your logs for rejected connections.
</p></blockquote>
<p>In short, just change one line in <code>/etc/syslog-ng/syslog-ng.conf</code> to match with:<br />
<code>source src { unix-stream("/dev/log" max-connections(20)); internal(); pipe("/proc/kmsg"); };</code></p>
<h2  class="related_post_title">Related journal entries</h2><ul class="related_post"><li>No Related Post</li></ul>]]></content:encoded>
			<wfw:commentRss>http://ruleoftech.com/journal/syslog-ng-and-connections-exceeded-error/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GWN: Do it all, minus one.</title>
		<link>http://ruleoftech.com/journal/gwn-do-it-all-minus-one</link>
		<comments>http://ruleoftech.com/journal/gwn-do-it-all-minus-one#comments</comments>
		<pubDate>Sun, 13 May 2007 09:02:41 +0000</pubDate>
		<dc:creator>Marko</dc:creator>
				<category><![CDATA[Gentoo]]></category>

		<guid isPermaLink="false">http://ruleoftech.wordpress.com/2007/05/13/gwn-do-it-all-minus-one/</guid>
		<description><![CDATA[Earlier this year there was some problems updating packages and I used package.mask to get over it. There is also a better way to handle this so that the package is not updated until it&#8217;s really needed. Gentoo Weekly Newsletter: 7 May 2007 writes about user&#8217;s problem with keeping a specific version of MythTV. Jesse [...]]]></description>
			<content:encoded><![CDATA[<p>Earlier this year there was some problems updating packages and I used <em>package.mask</em> to get over it. There is also a better way to handle this so that the package is not updated until it&#8217;s really needed.</p>
<p><a href="http://www.gentoo.org/news/en/gwn/20070507-newsletter.xml">Gentoo Weekly Newsletter: 7 May 2007</a> writes about user&#8217;s problem with keeping a specific version of MythTV.</p>
<blockquote><p>
Jesse Adelman wrote into <a href="http://archives.gentoo.org/gentoo-user/msg_111700.xml">gentoo-user</a> to ask how to be able to do an <em>emerge -uDN world</em>, but have portage not update one package. Jesse had a version of MythTV that had been removed from the tree that he wished to keep. However, the version in the tree was between a newer and older version, thus causing portage to want to downgrade if he simply put the newer version in package.mask.</p>
<p>Vikas Kumar suggested the often forgotten <em>/etc/portage/profile/package.provided</em>. A package placed in this file will not be updated unless another package necessarily depends on a newer version. Developer Zac Medico suggested to instead simply mask the package versions that are both higher and lower than the version Jesse wanted to keep, which is the best solution.
</p></blockquote>
<p>Using <em>package.provided</em> seems to be a nice solution but everything goes.</p>
<h2  class="related_post_title">Related journal entries</h2><ul class="related_post"><li>No Related Post</li></ul>]]></content:encoded>
			<wfw:commentRss>http://ruleoftech.com/journal/gwn-do-it-all-minus-one/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
