Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: jeff.covey@pobox.com (jeff covey)
Subject: [sup-talk] [Ferret-trac] #279: IO Error - Error reading the segment infos
Date: Sat, 18 Aug 2007 08:18:15 -0400	[thread overview]
Message-ID: <20070818121815.GA11346@mona.jeffcovey.net> (raw)
In-Reply-To: <1187154980-sup-1906@south>

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/



  reply	other threads:[~2007-08-18 12:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-15  5:17 [sup-talk] Fwd: " William Morgan
2007-08-18 12:18 ` jeff covey [this message]
2007-08-27 20:32   ` [sup-talk] " William Morgan
2007-08-28 21:48     ` jeff covey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070818121815.GA11346@mona.jeffcovey.net \
    --to=jeff.covey@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox