Yet again, sagenb.org is throwing lots of errors like:

2011-11-05 07:30:38-0700 [-] Unhandled Error
        Traceback (most recent call last):
File "/sagenb/sage_install/sage-4.7/local/lib/python2.6/site-packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/application/app.py", line 445, in s
tartReactor
self.config, oldstdout, oldstderr, self.profiler, reactor) File "/sagenb/sage_install/sage-4.7/local/lib/python2.6/site-packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/application/app.py", line 348, in r
unReactorWithLogging
reactor.run() File "/sagenb/sage_install/sage-4.7/local/lib/python2.6/site-packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/internet/base.py", line 1166, in ru
n
self.mainLoop() File "/sagenb/sage_install/sage-4.7/local/lib/python2.6/site-packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/internet/base.py", line 1178, in ma
inLoop
            self.doIteration(t)        --- <exception caught here> ---
File "/sagenb/sage_install/sage-4.7/local/lib/python2.6/site-packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/internet/selectreactor.py", line 10
4, in doSelect
[], timeout) exceptions.ValueError: filedescriptor out of range in select()

2011-11-05 07:30:38-0700 [-] Malformed file descriptor found. Preening lists.
2011-11-05 07:30:38-0700 [-] bad descriptor <HTTPChannel #150336 on 8888>


According to the admin script, sagenb.org has 23 active worksheets. When I look at lsof, though, I see 1769 open files. Of these, 734 are /dev/ptmx:

sagenb@mod:~/servers$ lsof +p 16641  |grep "ptmx"|wc -l
734

From reading a description of /dev/ptmx [1], it seems that /dev/ptmx would be used in a pexpect. I guess my conclusion is that somehow, Sage or twisted is not releasing the file handles on the pexpect connections for the worksheets. Does this conclusion make sense to those that know more about file handles and pexpect and twisted?

Thanks,

Jason


[1] http://linux.die.net/man/4/ptmx

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to