[sup-talk] [Ferret-trac] #279: IO Error - Error reading the segment infos

jeff covey jeff.covey at pobox.com
Sat Aug 18 08:18:15 EDT 2007


on Tue, Aug 14, 2007 at 10:17:46PM -0700%, William Morgan said:

> Fore those following the index.c:901 error, here's a potential reason why
> Ferret might be doing this: too many open filehandles. If you can
> reproduce this, try increasing the max open filehandle limit and see if
> that helps things.

i tried this, setting it to 32768 as he recommended, then adding my archive
sources from the beginning of the year (i had been working with just
messages from the past month).  it caused a lot of exceptions in sup and
some segmentation faults in ruby.  i tried resetting the limit to 1024, and
got the exception below.

i think i'll have to assume sup/ferret can't handle many sources and change
my archiving system to accommodate.



[Sat Aug 18 08:07:54 -0400 2007] stopped cursing
[Sat Aug 18 08:07:54 -0400 2007] oh crap, an exception
[Sat Aug 18 08:07:54 -0400 2007] unlocking /home/jeff/.sup/lock...
----------------------------------------------------------------
I'm very sorry, but it seems that an error occurred in Sup.
Please accept my sincere apologies. If you don't mind, please
send the backtrace below and a brief report of the circumstances
to sup-talk at rubyforge dot orgs so that I might address this
problem. Thank you!

Sincerely,
William
----------------------------------------------------------------

The problem was: 'Too many open files - /home/jeff/mail/turbotax at mailca.custhelp.com-2007-02' (error type Errno::EMFILE)
A backtrace follows:
./lib/sup/mbox/loader.rb:20:in `initialize': Too many open files - /home/jeff/mail/turbotax at mailca.custhelp.com-2007-02 (Errno::EMFILE)
        from ./lib/sup/mbox/loader.rb:20:in `open'
        from ./lib/sup/mbox/loader.rb:20:in `initialize'
        from ./lib/sup.rb:28:in `new'
        from ./lib/sup.rb:28:in `yaml_properties'
        from /usr/lib/ruby/1.8/yaml.rb:133:in `call'
        from /usr/lib/ruby/1.8/yaml.rb:133:in `transfer'
        from /usr/lib/ruby/1.8/yaml.rb:133:in `node_import'
        from /usr/lib/ruby/1.8/yaml.rb:133:in `load'
         ... 6 levels...
        from ./lib/sup/index.rb:101:in `load'
        from ./lib/sup/util.rb:401:in `send'
        from ./lib/sup/util.rb:401:in `method_missing'
        from bin/sup:89
checking for messages to delete...
./lib/sup/util.rb:7: warning: method redefined; discarding old gen_lock_id
./lib/sup/util.rb:18: warning: method redefined; discarding old dump_lock_id
./lib/sup/mbox/loader.rb:20:in `initialize': Too many open files - /home/jeff/mail/turbotax at mailca.custhelp.com-2007-02 (Errno::EMFILE)
        from ./lib/sup/mbox/loader.rb:20:in `open'
        from ./lib/sup/mbox/loader.rb:20:in `initialize'
        from ./lib/sup.rb:28:in `new'
        from ./lib/sup.rb:28:in `yaml_properties'
        from /usr/lib/ruby/1.8/yaml.rb:133:in `call'
        from /usr/lib/ruby/1.8/yaml.rb:133:in `transfer'
        from /usr/lib/ruby/1.8/yaml.rb:133:in `node_import'
        from /usr/lib/ruby/1.8/yaml.rb:133:in `load'
        from /usr/lib/ruby/1.8/yaml.rb:133:in `load'
        from /usr/lib/ruby/1.8/yaml.rb:144:in `load_file'
        from /usr/lib/ruby/1.8/yaml.rb:143:in `open'
        from /usr/lib/ruby/1.8/yaml.rb:143:in `load_file'
        from ./lib/sup.rb:99:in `load_yaml_obj'
        from ./lib/sup/index.rb:348:in `load_sources'
        from ./lib/sup/index.rb:101:in `load'
        from bin/sup-dump:25


thanks,

-- 
jeff covey
http://jeffcovey.net/



More information about the sup-talk mailing list