One more thing - tellico does not call the FileHandler::FileRef::~FileRef() destructor, which means that several versions of the file are kept open - and which makes the situation worse, as unix dont free the space till there are open file descriptors. The below excerpt from lsof show several version of the tellico file. You can see two truncated files during this session with the sizes 9453568 and 4919296.
So when these files are closed btw (when is the FileRef destructor called)? Only at tellico exit? Or eventually at the next save of the file, where tellico reopens the file, and updates the FileRef object?
tellico 13054 sbodo 11r REG 252,4 21680635 33563475 /home/sbodo/Desktop/
ekonyveim.tc (deleted)
tellico 13054 sbodo 13u REG 252,4 21688347 33563477 /home/sbodo/Desktop/
ekonyveim.tc~ (deleted)
tellico 13054 sbodo 14u REG 252,4 21680635 33554591 /home/sbodo/Desktop/
ekonyveim.tc~ (deleted)
tellico 13054 sbodo 15u unix 0xffff880041bd1e00 0t0 97086 /tmp/ksocket-sbodoBgwM2L/tellicoF13054.slave-socket
tellico 13054 sbodo 18u REG 252,4 9453568 33632748 /home/sbodo/Desktop/
ekonyveim.tc~ (deleted)
tellico 13054 sbodo 19u unix 0xffff880041bd2100 0t0 97099 /tmp/ksocket-sbodoBgwM2L/tellicoy13054.slave-socket
tellico 13054 sbodo 20u REG 252,4 4919296 33632749 /home/sbodo/Desktop/
ekonyveim.tc~
On Sun, Jun 21, 2009 at 6:20 PM, Sandor Bodo-Merle
<sbodomerle@...> wrote:
http://lwn.net/Articles/322823/
And for the moment ill try to make sure there is enough free space on XFS ....
On Sun, Jun 21, 2009 at 6:01 PM, Sandor Bodo-Merle
<sbodomerle@...> wrote:
I was able to reproduce the situation again. But i have a feeling that this is related to the XFS filesystem i use.
Tellico can be triggered to write a truncated zip file on save, without any warning,when there is low disk space and there is at least a concurrent write happening (a download for example ....)
Sanyi
_______________________________________________
tellico-users mailing list
tellico-users@...
http://forge.novell.com/mailman/listinfo/tellico-users