Subject: [sup-talk] Ferret Errors

From: [email-masked] (Christopher Warrington)
Date: Mon, 29 Oct 2007 16:40:37 -0500

I'm getting odd ferret errors, usually when I am composing messages in
nano.

I suspect that it has something to do with the fact that I am running
sup under cygwin on Windows...

Here's the exception:
--- IOError at Mon Oct 29 16:27:51 -0500 2007
IO Error occured at <except.c>:117 in xpop_context
Error occured in fs_store.c:70 - fs_exists
	checking existance of /home/chrisw/.sup/ferret/_g9c.cfs: <Permission denied>

/usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:700:in `initialize'
/usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:700:in `new'
/usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:700:in `ensure_writer_open'
/usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:429:in `delete'
/usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:8:in `synchrolock'
/usr/lib/ruby/1.8/monitor.rb:238:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:8:in `synchrolock'
/usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:428:in `delete'
./sup/trunk/lib/sup/index.rb:181:in `sync_message'
./sup/trunk/lib/sup/util.rb:395:in `send'
./sup/trunk/lib/sup/util.rb:395:in `method_missing'
./sup/trunk/lib/sup/poll.rb:151:in `add_messages_from'
./sup/trunk/lib/sup/imap.rb:174:in `each'
./sup/trunk/lib/sup/imap.rb:163:in `upto'
./sup/trunk/lib/sup/imap.rb:163:in `each'
./sup/trunk/lib/sup/util.rb:431:in `send'
./sup/trunk/lib/sup/util.rb:431:in `__pass'
./sup/trunk/lib/sup/util.rb:420:in `method_missing'
./sup/trunk/lib/sup/poll.rb:133:in `add_messages_from'
./sup/trunk/lib/sup/poll.rb:90:in `do_poll'
./sup/trunk/lib/sup/poll.rb:78:in `each'
./sup/trunk/lib/sup/poll.rb:78:in `do_poll'
./sup/trunk/lib/sup/poll.rb:77:in `synchronize'
./sup/trunk/lib/sup/poll.rb:77:in `do_poll'
./sup/trunk/lib/sup/util.rb:395:in `send'
./sup/trunk/lib/sup/util.rb:395:in `method_missing'
./sup/trunk/lib/sup/modes/poll-mode.rb:20:in `poll'
./sup/trunk/lib/sup/poll.rb:45:in `poll'
./sup/trunk/lib/sup/poll.rb:62:in `start'
./sup/trunk/lib/sup.rb:70:in `reporting_thread'
./sup/trunk/lib/sup.rb:68:in `initialize'
./sup/trunk/lib/sup.rb:68:in `new'
./sup/trunk/lib/sup.rb:68:in `reporting_thread'
./sup/trunk/lib/sup/poll.rb:59:in `start'
./sup/trunk/lib/sup/util.rb:395:in `send'
./sup/trunk/lib/sup/util.rb:395:in `method_missing'
sup/trunk/bin/sup:190

-- 
Christopher Warrington <chrisw at rice.edu>

---

From: [email-masked] (William Morgan)
Date: Thu, 01 Nov 2007 19:32:19 -0700

>     checking existance of /home/chrisw/.sup/ferret/_g9c.cfs: <Permission denied>

Yeah, the typical completely incomprehensible Ferret error message.
Current known things that make Ferret generate scary messages:
- running more than one process touching the index at the same time (Sup
  locks the index now so this shouldn't happen unless you are being
  particularly devious)
- having too many open filehandles, including too many "usual" mbox
  sources at the moment until I fix the mbox code not to keep
  filehandles open all the time.
- running out of disk space.

Could it have been any of those?

-- 
William <wmorgan-sup at masanjin.net>

---

From: [email-masked] (Christopher Warrington)
Date: Mon, 12 Nov 2007 22:30:13 -0600

(So, this has been sitting in my drafts folder FOREVER...)

>   locks the index now so this shouldn't happen unless you are being
Perhaps... I'm not explicitly running two copies of sup, nor am I
running sup and another sup- tool at the same time. I'm just composing a
message.

>   filehandles open all the time.
I don't think so.

> - running out of disk space.
Nope.

> Could it have been any of those?

If MIGHT be the first. It just happened again. I think that it only
happens when I am composing a message and, during a background poll for
new messages, sup finds one.

This might not even be the problem, but, it seems to me, that the editor
does not need to have sup's open files handles.