[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

svn checkin hangs when out of disk space

From: Karl Chen <quarl_at_cs.berkeley.edu>
Date: 2005-02-24 09:19:02 CET

I tried to commit, not realizing I was out of disk space on the
partition containing the working copy. Subversion hangs, using
100% CPU.

I couldn't understand what was going on until I attached strace
and found it was in an infinite loop trying to write to fd 4
(which I think is ".svn/tmp/tempfile.tmp"):

write(4, "\205`y\37\207z\346/\354\332c\30y\0\214\16\325r\265\264"..., 4096) = -1 ENOSPC (No space left on device)
write(4, "\205`y\37\207z\346/\354\332c\30y\0\214\16\325r\265\264"..., 4096) = -1 ENOSPC (No space left on device)
write(4, "\205`y\37\207z\346/\354\332c\30y\0\214\16\325r\265\264"..., 4096) = -1 ENOSPC (No space left on device)
... ad infinitum

I think svn might be missing some error checking on file I/O.

-- 
Karl 2005-02-24 00:12
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Feb 24 09:20:31 2005

This is an archived mail posted to the Subversion Dev mailing list.