# Still getting "too many open files"

**URL:** <https://www.ruby-forum.com/t/still-getting-too-many-open-files/113167>\
**Category:** Ferret\
**Created:** [August 28, 2007, 10:38am UTC](https://www.ruby-forum.com/t/still-getting-too-many-open-files/113167 "2007-08-28T10:38:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![turnkeytraders](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ba8739/32.png) [@turnkeytraders](https://www.ruby-forum.com/u/turnkeytraders)\
**Post date:** [August 28, 2007, 10:38am UTC](https://www.ruby-forum.com/t/still-getting-too-many-open-files/113167/1 "2007-08-28T10:38:21Z")

</div>

We have still having problems with Ferret dying on us regularly with the  
error message:

> >

ferret server error IO Error occured at \<except.c\>:93 in xraiseError  
occured in fs\_store.c:127 - fs\_each  
doing ‘each’ in  
/var/www/web1/oms/current/script/…/config/…/index/production/band/20070805130005:  
  
\<\<

We are running Ferret as a DrbServer and using ferret 0.11.3.

I’ve read about using ulimit to up the file number - but doesn’t that  
just affect the current shell - i.e. where do I need to put this when  
running my mongrels etc?

Thanks for any other tips - this is currently a bit frustrating.

Matthew

---

<div class="post-metadata">

**Author:** ![turnkeytraders](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ba8739/32.png) [@turnkeytraders](https://www.ruby-forum.com/u/turnkeytraders)\
**Post date:** [August 28, 2007, 11:07am UTC](https://www.ruby-forum.com/t/still-getting-too-many-open-files/113167/2 "2007-08-28T11:07:39Z")

</div>

On Tue, Aug 28, 2007 at 10:38:21AM +0200, Matthew L.ham wrote:

> We are running Ferret as a DrbServer and using ferret 0.11.3.
> 
> I’ve read about using ulimit to up the file number - but doesn’t that  
> just affect the current shell - i.e. where do I need to put this when  
> running my mongrels etc?

maybe this does help:

> **[suselinuxsupport.de](http://forums.suselinuxsupport.de/index.php?showtopic=34112&st=0&p=153853&#entry153853)**
>
> SuSE Linux,Linux Free Download,FTP Linux,GCC

(afair you were on Suse?)

cheers,  
Jens

–  
Jens Krämer  
webit! Gesellschaft für neue Medien mbH  
Schnorrstraße 76 | 01069 Dresden  
Telefon +49 351 46766-0 | Telefax +49 351 46766-66  
removed\_email\_address@domain.invalid | [www.webit.de](http://www.webit.de)

Amtsgericht Dresden | HRB 15422  
GF Sven Haubold, Hagen Malessa

---

<div class="post-metadata">

**Author:** ![turnkeytraders](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ba8739/32.png) [@turnkeytraders](https://www.ruby-forum.com/u/turnkeytraders)\
**Post date:** [August 28, 2007, 7:20pm UTC](https://www.ruby-forum.com/t/still-getting-too-many-open-files/113167/3 "2007-08-28T19:20:40Z")

</div>

Jens K. wrote:

> On Tue, Aug 28, 2007 at 10:38:21AM +0200, Matthew L.ham wrote:
> 
> > We are running Ferret as a DrbServer and using ferret 0.11.3.
> > 
> > I’ve read about using ulimit to up the file number - but doesn’t that  
> > just affect the current shell - i.e. where do I need to put this when  
> > running my mongrels etc?
> 
> maybe this does help:  
> [suselinuxsupport.de](http://forums.suselinuxsupport.de/index.php?showtopic=34112&st=0&p=153853&#entry153853)
> 
> (afair you were on Suse?)

No, Debian Etch. Any differences?

Thanks

Matthew

---

<div class="post-metadata">

**Author:** ![turnkeytraders](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ba8739/32.png) [@turnkeytraders](https://www.ruby-forum.com/u/turnkeytraders)\
**Post date:** [August 29, 2007, 10:04am UTC](https://www.ruby-forum.com/t/still-getting-too-many-open-files/113167/4 "2007-08-29T10:04:43Z")

</div>

On Tue, Aug 28, 2007 at 07:20:40PM +0200, Matthew L.ham wrote:

> > [suselinuxsupport.de](http://forums.suselinuxsupport.de/index.php?showtopic=34112&st=0&p=153853&#entry153853)
> > 
> > (afair you were on Suse?)
> 
> No, Debian Etch. Any differences?

no, looks like this should work on debian in the same way.

Jens

–  
Jens Krämer  
webit! Gesellschaft für neue Medien mbH  
Schnorrstraße 76 | 01069 Dresden  
Telefon +49 351 46766-0 | Telefax +49 351 46766-66  
removed\_email\_address@domain.invalid | [www.webit.de](http://www.webit.de)

Amtsgericht Dresden | HRB 15422  
GF Sven Haubold, Hagen Malessa
