<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
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/"
> <channel><title>Comments on: Linux: Find Out How Many File Descriptors Are Being Used</title> <atom:link href="http://www.cyberciti.biz/tips/linux-procfs-file-descriptors.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/linux-procfs-file-descriptors.html</link> <description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description> <lastBuildDate>Fri, 10 Feb 2012 20:37:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Matt</title><link>http://www.cyberciti.biz/tips/linux-procfs-file-descriptors.html#comment-173537</link> <dc:creator>Matt</dc:creator> <pubDate>Thu, 25 Aug 2011 04:22:23 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-find-out-how-many-file-descriptors-are-being-used.html#comment-173537</guid> <description>Because lsof counts files in /proc//fd and adds the opend shared libs from /proc//maps</description> <content:encoded><![CDATA[<p>Because lsof counts files in /proc//fd and adds the opend shared libs from /proc//maps</p> ]]></content:encoded> </item> <item><title>By: avajadi</title><link>http://www.cyberciti.biz/tips/linux-procfs-file-descriptors.html#comment-159197</link> <dc:creator>avajadi</dc:creator> <pubDate>Thu, 26 Aug 2010 14:51:52 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-find-out-how-many-file-descriptors-are-being-used.html#comment-159197</guid> <description>cat /proc/sys/fs/file-nr shows number of open files in the first column, max allowed open files in third column and 0 in the second column.
It doesn&#039;t update the first column on a single file handle basis, but seems to increase and decrease in steps</description> <content:encoded><![CDATA[<p>cat /proc/sys/fs/file-nr shows number of open files in the first column, max allowed open files in third column and 0 in the second column.</p><p>It doesn&#8217;t update the first column on a single file handle basis, but seems to increase and decrease in steps</p> ]]></content:encoded> </item> <item><title>By: SparK</title><link>http://www.cyberciti.biz/tips/linux-procfs-file-descriptors.html#comment-158810</link> <dc:creator>SparK</dc:creator> <pubDate>Wed, 11 Aug 2010 07:52:41 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-find-out-how-many-file-descriptors-are-being-used.html#comment-158810</guid> <description>Yeah you can combine them all!
below one gives all type of descriptor opened by &quot;mysqld&quot; process:
lsof -p `pidof mysqld` &#124;wc -l
There is a way to set system level &quot;max open file descriptors&quot; and view current count of &quot;open file descriptors&quot; at system-level;
I&#039;m unable to recollect :(
does anyone know it?</description> <content:encoded><![CDATA[<p>Yeah you can combine them all!<br
/> below one gives all type of descriptor opened by &#8220;mysqld&#8221; process:</p><p>lsof -p `pidof mysqld` |wc -l</p><p>There is a way to set system level &#8220;max open file descriptors&#8221; and view current count of &#8220;open file descriptors&#8221; at system-level;<br
/> I&#8217;m unable to recollect :(<br
/> does anyone know it?</p> ]]></content:encoded> </item> <item><title>By: Matt</title><link>http://www.cyberciti.biz/tips/linux-procfs-file-descriptors.html#comment-156395</link> <dc:creator>Matt</dc:creator> <pubDate>Mon, 07 Jun 2010 15:06:34 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-find-out-how-many-file-descriptors-are-being-used.html#comment-156395</guid> <description>I Have a files in /proc//fd which should be in a different pid fd folder! File Descriptor Leak! Closed files from another process are duplicating themselves (random number of duplicate content 5-75 times) into another process&#039;s fd folder! Has anybody seen this before. Solaris 10.</description> <content:encoded><![CDATA[<p>I Have a files in /proc//fd which should be in a different pid fd folder! File Descriptor Leak! Closed files from another process are duplicating themselves (random number of duplicate content 5-75 times) into another process&#8217;s fd folder! Has anybody seen this before. Solaris 10.</p> ]]></content:encoded> </item> <item><title>By: apoc</title><link>http://www.cyberciti.biz/tips/linux-procfs-file-descriptors.html#comment-153845</link> <dc:creator>apoc</dc:creator> <pubDate>Mon, 22 Feb 2010 08:26:25 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-find-out-how-many-file-descriptors-are-being-used.html#comment-153845</guid> <description>you can combine lsof with pidof:
lsof -p `pidof ruby`</description> <content:encoded><![CDATA[<p>you can combine lsof with pidof:</p><p>lsof -p `pidof ruby`</p> ]]></content:encoded> </item> <item><title>By: kunal</title><link>http://www.cyberciti.biz/tips/linux-procfs-file-descriptors.html#comment-147291</link> <dc:creator>kunal</dc:creator> <pubDate>Wed, 18 Feb 2009 08:56:33 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-find-out-how-many-file-descriptors-are-being-used.html#comment-147291</guid> <description>Can&#039;t we use lsof &#124; wc -l for the same</description> <content:encoded><![CDATA[<p>Can&#8217;t we use lsof | wc -l for the same</p> ]]></content:encoded> </item> <item><title>By: Julien</title><link>http://www.cyberciti.biz/tips/linux-procfs-file-descriptors.html#comment-147051</link> <dc:creator>Julien</dc:creator> <pubDate>Wed, 04 Feb 2009 22:12:52 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-find-out-how-many-file-descriptors-are-being-used.html#comment-147051</guid> <description>Thank you. I had a daemon that stopped functioning correctly six hours after I started it. Turns out, I had a file descriptor leak. It had never even crossed my mind until I put 2 and 2 together. This confirmed it. It&#039;s all fixed now, thanks to you!</description> <content:encoded><![CDATA[<p>Thank you. I had a daemon that stopped functioning correctly six hours after I started it. Turns out, I had a file descriptor leak. It had never even crossed my mind until I put 2 and 2 together. This confirmed it. It&#8217;s all fixed now, thanks to you!</p> ]]></content:encoded> </item> <item><title>By: Jimi</title><link>http://www.cyberciti.biz/tips/linux-procfs-file-descriptors.html#comment-147036</link> <dc:creator>Jimi</dc:creator> <pubDate>Tue, 03 Feb 2009 19:04:47 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-find-out-how-many-file-descriptors-are-being-used.html#comment-147036</guid> <description>Thanks man, this was really useful.</description> <content:encoded><![CDATA[<p>Thanks man, this was really useful.</p> ]]></content:encoded> </item> <item><title>By: Bogdan</title><link>http://www.cyberciti.biz/tips/linux-procfs-file-descriptors.html#comment-143308</link> <dc:creator>Bogdan</dc:creator> <pubDate>Fri, 28 Mar 2008 16:00:54 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-find-out-how-many-file-descriptors-are-being-used.html#comment-143308</guid> <description>thx, that was really useful!quick question: anybody has an idea why the value displayed by &#039;lsof -p {procid} &#124; wc -l&#039; is different to that of &#039;ls -l /proc/{procid}/fd &#124; wc -l&#039;. lsof is usually higher...?</description> <content:encoded><![CDATA[<p>thx, that was really useful!quick question: anybody has an idea why the value displayed by &#8216;lsof -p {procid} | wc -l&#8217; is different to that of &#8216;ls -l /proc/{procid}/fd | wc -l&#8217;. lsof is usually higher&#8230;?</p> ]]></content:encoded> </item> <item><title>By: raj</title><link>http://www.cyberciti.biz/tips/linux-procfs-file-descriptors.html#comment-140869</link> <dc:creator>raj</dc:creator> <pubDate>Tue, 21 Aug 2007 20:35:35 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-find-out-how-many-file-descriptors-are-being-used.html#comment-140869</guid> <description>hey thanks for quick n dirty procfs tutorial :)</description> <content:encoded><![CDATA[<p>hey thanks for quick n dirty procfs tutorial :)</p> ]]></content:encoded> </item> </channel> </rss>
