<?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>Glen Lumanau &#187; error</title>
	<atom:link href="http://lumanau.web.id/tag/error/feed" rel="self" type="application/rss+xml" />
	<link>http://lumanau.web.id</link>
	<description>Nothing Special</description>
	<lastBuildDate>Fri, 30 Sep 2011 09:33:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>&#8216;No buffer space available&#8217; error on FreeBSD</title>
		<link>http://lumanau.web.id/2010/11/04/no-buffer-space-available-error-on-freebsd.html</link>
		<comments>http://lumanau.web.id/2010/11/04/no-buffer-space-available-error-on-freebsd.html#comments</comments>
		<pubDate>Thu, 04 Nov 2010 04:22:25 +0000</pubDate>
		<dc:creator>Glen Lumanau</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[Buffer]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[freebsd]]></category>

		<guid isPermaLink="false">http://lumanau.web.id/?p=1497</guid>
		<description><![CDATA[&#8216;No buffer space available&#8217; ussualy happended on a high traffic FreeBSD servers. The reasons of that error is the request of socket buffer (send/recv) is higher than maximum socket buffer. Default value of them are kern.ipc.maxsockbuf: 262144 net.inet.tcp.recvspace: 65536 net.inet.tcp.sendspace: 32768 You need to increase those value if you have a high traffic FreeBSD server. [...]]]></description>
			<content:encoded><![CDATA[<p>&#8216;No buffer space available&#8217; ussualy happended on a high traffic FreeBSD servers. The reasons of that error is the request of socket buffer (send/recv) is higher than maximum socket buffer.</p>
<p>Default value of them are</p>
<blockquote><p>kern.ipc.maxsockbuf: 262144<br />
net.inet.tcp.recvspace: 65536<br />
net.inet.tcp.sendspace: 32768</p></blockquote>
<p><span id="more-1497"></span>You need to increase those value if you have a high traffic FreeBSD server.</p>
<p>Test with</p>
<blockquote><p>nc -l 1234 &gt; /dev/null</p></blockquote>
<p>To get rid of &#8216;No buffer space available&#8217; error, there&#8217;s an easy way</p>
<blockquote><p>sysctl -w net.inet.tcp.recvspace=512000</p>
<p>sysctl -w kern.ipc.maxsockbuf=1024000</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://lumanau.web.id/2010/11/04/no-buffer-space-available-error-on-freebsd.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>/bin/rm: Argument list too long</title>
		<link>http://lumanau.web.id/2008/11/18/binrm-argument-list-too-long.html</link>
		<comments>http://lumanau.web.id/2008/11/18/binrm-argument-list-too-long.html#comments</comments>
		<pubDate>Tue, 18 Nov 2008 04:11:05 +0000</pubDate>
		<dc:creator>Glen Lumanau</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[Argument list too long]]></category>
		<category><![CDATA[error]]></category>

		<guid isPermaLink="false">http://www.lumanau.web.id/?p=90</guid>
		<description><![CDATA[I got error when trying to remove thousands of file inside a directory. The way you fix this is find . -name '*.jpg' &#124; xargs rm]]></description>
			<content:encoded><![CDATA[<p>I got error when trying to remove thousands of file inside a directory. The way you fix this is</p>
<p><code>find . -name '*.jpg' | xargs rm</code></p>
]]></content:encoded>
			<wfw:commentRss>http://lumanau.web.id/2008/11/18/binrm-argument-list-too-long.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

