[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] Re: #316: spiffy hangs sometimes
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] Re: #316: spiffy hangs sometimes |
Date: |
Tue, 10 Aug 2010 20:30:34 -0000 |
#316: spiffy hangs sometimes
-------------------------+--------------------------------------------------
Reporter: felix | Owner:
Type: defect | Status: new
Priority: critical | Milestone: 4.6.0
Component: extensions | Version: 4.5.x
Resolution: | Keywords: spiffy call-cc.org madness
-------------------------+--------------------------------------------------
Comment(by mario):
I could set up a qwiki instance for debugging on call-cc.org (Felix: I
didn't use your home not to mess too much with it).
It's on {{{/home/mario/wiki-debug}}}. Chicken is on {{{/home/mario/wiki-
debug/chicken}}} and it was compiled with {{{DEBUGBUILD=1}}}. I've
installed the latest trunk code for svn-client, spiffy and qwiki.
{{{/home/mario/wiki-debug}}} contains a copy of the svn repo and the same
directory structure used by spiffy (e.g., {{{/home/mario/wiki-debug/etc}}}
for {{{/etc}}}, {{{/home/mario/wiki-debug/var}}} for {{{/var}}} and so
on).
Peter and me run a debugging session today and found out that one of the
problems is still fd leak, caused by svn-client (or the underlying libsvn-
client).
We've run the server and stressed it with wget ({{{wget -r -l5}}}). Using
lsof, we observed the number of lines like
{{{
csi 7634 mario 961u REG 8,6 736 1020 /tmp/svnwiki-cat-
QNZIrJ (deleted)
csi 7634 mario 962u REG 8,6 701 1021 /tmp/svnwiki-cat-
YQhjmY (deleted)
csi 7634 mario 963u REG 8,6 11834 1022 /tmp/svnwiki-cat-
9hY3od (deleted)
}}}
increased during the test. According to ulimit, the max number of open
files is 1024, and spiffy died when the number of {{{svnwiki-cat}}} files
from lsof got close to 1024.
The latest messages before segmentation fault were:
{{{
svn: '/home/mario/wiki-debug/tmp/qwiki/hive' is not under version control
svn: Can't open file '/home/mario/wiki-debug/usr/local/repos/chicken-
eggs/db/revs/4718': Too many open files
svn: Can't open file '/home/mario/wiki-debug/usr/local/repos/chicken-
eggs/db/revs/4718': Too many open files
svn: Can't open file '/home/mario/wiki-debug/tmp/qwiki/.svn/entries': Too
many open files
}}}
If you want to make some more tests, feel free to use my home dir. Be
sure to set the {{{PATH}}} to get things from the debug dir:
{{{
PATH=/home/mario/wiki-debug/chicken/bin/:/home/mario/wiki-debug/bin:$PATH
csi -s bin/spiffy
}}}
If you get permissions problems, feel free to change them.
--
Ticket URL: <http://bugs.call-cc.org/ticket/316#comment:8>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #316: spiffy hangs sometimes, Chicken Trac, 2010/08/09
- [Chicken-janitors] Re: #316: spiffy hangs sometimes, Chicken Trac, 2010/08/09
- [Chicken-janitors] Re: #316: spiffy hangs sometimes, Chicken Trac, 2010/08/09
- [Chicken-janitors] Re: #316: spiffy hangs sometimes, Chicken Trac, 2010/08/09
- [Chicken-janitors] Re: #316: spiffy hangs sometimes, Chicken Trac, 2010/08/10
- [Chicken-janitors] Re: #316: spiffy hangs sometimes, Chicken Trac, 2010/08/10
- [Chicken-janitors] Re: #316: spiffy hangs sometimes, Chicken Trac, 2010/08/10
- [Chicken-janitors] Re: #316: spiffy hangs sometimes, Chicken Trac, 2010/08/10
- [Chicken-janitors] Re: #316: spiffy hangs sometimes,
Chicken Trac <=
- [Chicken-janitors] Re: #316: spiffy hangs sometimes, Chicken Trac, 2010/08/10
- [Chicken-janitors] Re: #316: spiffy hangs sometimes, Chicken Trac, 2010/08/10
- [Chicken-janitors] Re: #316: spiffy hangs sometimes, Chicken Trac, 2010/08/12
- [Chicken-janitors] Re: #316: spiffy hangs sometimes, Chicken Trac, 2010/08/13
- [Chicken-janitors] Re: #316: spiffy hangs sometimes, Chicken Trac, 2010/08/15