thanks, good idea. just tried it.
last mail conained an error: the debugging was done with mpm-threadpool. mpm-worker was the one
which caused production problems.
-----------------------------------------------------------------------
summary mpm-prefork
-----------------------------------------------------------------------
- the behaviour is the same, starting with some load, you get timeouts
and slow reaction time. the load when this started, was higher (but
i did not change the default settings in apache2.conf, as i did for
worker/threadpool).
there is also open files, but less.
- apache2ctl stop requires recovery of database afterwards in any case
(i. e. independent of load)
- i'm too dummy to do this with gdb
-----------------------------------------------------------------------
run without debug
-----------------------------------------------------------------------
i did two tests:
first test:
started four checkouts and ups, and a little later two more. these 2 timed out quite fast, the
others continued working.
# ps -ef | grep apache | wc
18 179 1335
empty:
# lsof | grep svn | wc
35 315 3628
one checkout started:
# lsof | grep svn | wc
146 1311 14702
all started:
# lsof | grep svn | wc
336 3018 33608
here it seemed apache reacts nicer to the timeouts, i.e. it does not stop serving the other
requests, but allows no new request started.
second test:
started 2, and then the four other. 5 timed out, one was very,very slow. browsing the repository
was still possible (somehow slow). normal html outside the repository came up fine. it seems that
some files stay open.
all started, one running very slow, 5 timed out:
# lsof | grep svn | wc
235 2115 23646
doing an "apache2ctl stop" requires a svnadmin recover. from the log:
[Sun Aug 17 16:56:23 2003] [warn] child process 31289 still did not exit, sending a SIGTERM
[Sun Aug 17 16:56:23 2003] [error] [client 80.218.19.179] (20014)Error string not specified yet:
Berkeley DB error while closing environment for filesystem /var/svn/rep42/db:
DB_RUNRECOVERY: Fatal error, run database recovery
[Sun Aug 17 16:56:23 2003] [error] [client 80.218.19.179] (20014)Error string not specified yet:
Berkeley DB error while closing environment for filesystem /var/svn/rep42/db:
Invalid argument
[Sun Aug 17 16:56:23 2003] [error] [client 192.168.78.9] (20014)Error string not specified yet:
Berkeley DB error while closing environment for filesystem /var/svn/rep42/db:
Invalid argument
-----------------------------------------------------------------------
run with debug
-----------------------------------------------------------------------
i was not able to run that in debugger, apache did not respond on any request, when i did:
# gdb /usr/sbin/apache2
(gdb) run -X
i tried two svn ups, none reacted. pressing ctrl-c in one givs "ssl negotioation faild", in the
other it does not work.
if i try:
# gdb /usr/sbin/apache2
(gdb) run
i get
# svn co https://server/svn/rep/trunk test1
svn: RA layer request failed
svn: PROPFIND request failed on '/svn/rep/trunk'
svn: PROPFIND of '/svn/rep/trunk': Could not read status line: Secure connection truncated
(https://server)
and in the log
[Sun Aug 17 17:19:06 2003] [notice] Apache/2.0.47 (Debian GNU/Linux) mod_ssl/2.0.47 OpenSSL/0.9.7b
DAV/2 PHP/4.3.3-dev SVN/0.26.0 configured -- resuming normal operations
[Sun Aug 17 17:19:12 2003] [notice] child pid 31704 exit signal Trace/BPT trap (5)
[Sun Aug 17 17:19:12 2003] [notice] child pid 31703 exit signal Trace/BPT trap (5)
--- Andreas J Koenig <andreas.koenig@anima.de> wrote:
> >>>>> On Fri, 15 Aug 2003 13:24:09 -0700 (PDT), solo turn <soloturn99@yahoo.com> said:
>
> > we used apache-mpm worker
>
> Just an idea. Did you try apache2-mpm-prefork? At some point in time I
> switched from apache2-mpm-perchild to prefork because perchild stopped
> working (debian bug 202557). It's maybe worth a try.
>
> --
> andreas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Aug 17 18:08:16 2003