<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 <channel>
  <atom:link href="https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;t=4355" rel="self" type="application/rss+xml" />
  <title>SmaugMuds - Topic: Too Many Open Files</title>
  <link>https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;t=4355</link>
  <description>The largest Smaug community resource site. - </description>
  <language>en</language>
  <generator>SmaugMuds</generator>
  <ttl>60</ttl>
  <item>
   <title>Too Many Open Files</title>
   <link>https://smaugmuds.afkmods.com/topic/too-many-open-files-4355/&amp;p=20300#p20300</link>
   <description> [quote=Banner] [quote=Remcon]There is a way to see what you have open in linux, It has been awhile so I don&#039;t recall the full path to see all the stuff open for the process. I&#039;m sure it has been posted around somewhere though. If I get a chance later I&#039;ll look and see if I can find it.[/quote] I found this [url=http://www.netadmintools.com/art295.html]link[/url], but rather or not it is relevant is unclear. My system claims 52,960 files and I doubt I could have possibly reached that since </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/too-many-open-files-4355/&amp;p=20300#p20300</guid>
   <pubDate>Sun, 28 Feb 2010 21:45:31 CST</pubDate>
   <category>SWR FUSS</category>
   <author>nobody@example.com (ayuri)</author>
  </item>
  <item>
   <title>Too Many Open Files</title>
   <link>https://smaugmuds.afkmods.com/topic/too-many-open-files-4355/&amp;p=20296#p20296</link>
   <description>[quote=Keberus]You might want to check out this [url=http://smaugmuds.afkmods.com/index.php?a=files&amp;amp;s=viewfile&amp;amp;fid=313]snippet[/url]. It&#039;s one that was written by Darien and modified by me, but basically it&#039;s a fopen/fclose tracker. It&#039;s pretty easy to implement if you have access to anything like VS where you can do a find and replace in all files of the fopen/fclose calls. [/quote]That looks promising. I will implement that and see what turns up. Thanks for the link. EDIT: Removing any refe</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/too-many-open-files-4355/&amp;p=20296#p20296</guid>
   <pubDate>Sun, 28 Feb 2010 11:36:34 CST</pubDate>
   <category>SWR FUSS</category>
   <author>nobody@example.com (Banner)</author>
  </item>
  <item>
   <title>Too Many Open Files</title>
   <link>https://smaugmuds.afkmods.com/topic/too-many-open-files-4355/&amp;p=20295#p20295</link>
   <description>You might want to check out this [url=http://smaugmuds.afkmods.com/index.php?a=files&amp;amp;s=viewfile&amp;amp;fid=313]snippet[/url]. It&#039;s one that was written by Darien and modified by me, but basically it&#039;s a fopen/fclose tracker. It&#039;s pretty easy to implement if you have access to anything like VS where you can do a find and replace in all files of the fopen/fclose calls. </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/too-many-open-files-4355/&amp;p=20295#p20295</guid>
   <pubDate>Sun, 28 Feb 2010 10:48:11 CST</pubDate>
   <category>SWR FUSS</category>
   <author>nobody@example.com (Keberus)</author>
  </item>
  <item>
   <title>Too Many Open Files</title>
   <link>https://smaugmuds.afkmods.com/topic/too-many-open-files-4355/&amp;p=20294#p20294</link>
   <description> [quote=Remcon]There is a way to see what you have open in linux, It has been awhile so I don&#039;t recall the full path to see all the stuff open for the process. I&#039;m sure it has been posted around somewhere though. If I get a chance later I&#039;ll look and see if I can find it.[/quote] I found this [url=http://www.netadmintools.com/art295.html]link[/url], but rather or not it is relevant is unclear. My system claims 52,960 files and I doubt I could have possibly reached that since 1024 sounds more</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/too-many-open-files-4355/&amp;p=20294#p20294</guid>
   <pubDate>Sun, 28 Feb 2010 10:36:02 CST</pubDate>
   <category>SWR FUSS</category>
   <author>nobody@example.com (Banner)</author>
  </item>
  <item>
   <title>Too Many Open Files</title>
   <link>https://smaugmuds.afkmods.com/topic/too-many-open-files-4355/&amp;p=20293#p20293</link>
   <description>There is a way to see what you have open in linux, It has been awhile so I don&#039;t recall the full path to see all the stuff open for the process. I&#039;m sure it has been posted around somewhere though. If I get a chance later I&#039;ll look and see if I can find it.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/too-many-open-files-4355/&amp;p=20293#p20293</guid>
   <pubDate>Sun, 28 Feb 2010 10:30:19 CST</pubDate>
   <category>SWR FUSS</category>
   <author>nobody@example.com (Remcon)</author>
  </item>
  <item>
   <title>Too Many Open Files</title>
   <link>https://smaugmuds.afkmods.com/topic/too-many-open-files-4355/&amp;p=20292#p20292</link>
   <description>As stated, I&#039;ve never received this error before. I guess all that remains is to go through the code and find where someone hasn&#039;t closed a file. EDIT: 200+ structure files were being opened and not closed. Modifying the code rectified the problem. Caius, do you know if there is a way to print the number of files currently open via gdb or possibly another command in the shell?</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/too-many-open-files-4355/&amp;p=20292#p20292</guid>
   <pubDate>Sun, 28 Feb 2010 10:13:15 CST</pubDate>
   <category>SWR FUSS</category>
   <author>nobody@example.com (Banner)</author>
  </item>
  <item>
   <title>Too Many Open Files</title>
   <link>https://smaugmuds.afkmods.com/topic/too-many-open-files-4355/&amp;p=20291#p20291</link>
   <description>Sounds to me that you&#039;re opening a whole bunch of files somewhere without closing them. If I remember correctly a Linux OS typically allow up to 1024 files being open at once per process. Hitting such a number could suggest that you open files in a loop somewhere without closing them. Only thing I can think of. Oh, and did you get those other bugs as well before? I mean the &amp;quot;Cannot open ../structures/realty.dat&amp;quot; ones.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/too-many-open-files-4355/&amp;p=20291#p20291</guid>
   <pubDate>Sun, 28 Feb 2010 09:24:27 CST</pubDate>
   <category>SWR FUSS</category>
   <author>nobody@example.com (Caius)</author>
  </item>
  <item>
   <title>Too Many Open Files</title>
   <link>https://smaugmuds.afkmods.com/topic/too-many-open-files-4355/&amp;p=20290#p20290</link>
   <description>After hotbooting exactly four times, I receive this error. I&#039;ve never received it before so I believe it may have something to do with something I changed involving loading from files. [code] Sun Feb 28 09:39:34 2010 ::  Done Structures  Sun Feb 28 09:39:34 2010 :: Loading Accessory Data Sun Feb 28 09:39:34 2010 :: [*****] BUG: Cannot open ../structures/accessory.dat Sun Feb 28 09:39:34 2010 :: Done Accessories Sun Feb 28 09:39:34 2010 :: Loading Realty Data Sun Feb 28 09:39:34 2010 :: </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/too-many-open-files-4355/&amp;p=20290#p20290</guid>
   <pubDate>Sun, 28 Feb 2010 08:43:39 CST</pubDate>
   <category>SWR FUSS</category>
   <author>nobody@example.com (Banner)</author>
  </item>
 </channel>
</rss>
