On Wednesday 07 June 2006 07:10, Ph. Marek wrote:
> This is a running svnserve, connected via ssh+svn://, doing a status of a
> directory tree with about 200 000 entries (directories + files).
>
> During the processing it busy-waits for new data; I can see that via
> strace. It does many, many poll()s one after the other - every few
> microseconds, until there is data to process (or maybe until the network
> socket has been emptied - is that important to find out where it loops?).
>
> So maybe a caller should be modified to sleep a small bit?
I now wanted to send a strace of that, and found some other strangeness:
The client side (doing a commit) hangs with
write(4, "change-file-prop ( 4:c470 9:svn:" ..., 4096 <unfinished ...>
while the other side (svnserve, called by ssh) does
08:58:12.865719 select(0, NULL, NULL, NULL, {0, 10000}) = 0 (Timeout)
08:58:12.878338 select(0, NULL, NULL, NULL, {0, 10000}) = 0 (Timeout)
08:58:12.888718 select(0, NULL, NULL, NULL, {0, 10000}) = 0 (Timeout)
08:58:12.898829 select(0, NULL, NULL, NULL, {0, 10000}) = 0 (Timeout)
08:58:12.908707 select(0, NULL, NULL, NULL, {0, 10000}) = 0 (Timeout)
08:58:12.921092 select(0, NULL, NULL, NULL, {0, 10000}) = 0 (Timeout)
08:58:12.930662 select(0, NULL, NULL, NULL, {0, 10000}) = 0 (Timeout)
08:58:12.940865 select(0, NULL, NULL, NULL, {0, 10000}) = 0 (Timeout)
08:58:12.950751 select(0, NULL, NULL, NULL, {0, 10000}) = 0 (Timeout)
08:58:12.960672 select(0, NULL, NULL, NULL, {0, 10000}) = 0 (Timeout)
and so on, and so on ...
Any help?
Thank you!
Regards,
Phil
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 19 09:01:31 2006