Jeffrey J. Kosowsky wrote:
> In the past, people have mentioned that sometimes BackupPC_trashClean
> seems to get hung and hog almost 100% of CPU.
>
> This is quite insidious since what apparently happens is that when
> trashClean has trouble removing a file(s), it just continues to loop
> through trying.
Filesystem problem?
> However, no error message is posted to the log or the web
> interface. In my case, it seems that this had been going on for days
> without any warning.
Can you use "strace -p" to see the system call that is happening?
> Also, Craig mentioned in the past that this could be due to permission
> error and suggested running "sudo -u backuppc rm -rv trash/*" to
> check. Well in my case, the 'rm' succeeded suggesting that the problem
> may lie elsewhere.
>
> But again, I think there are two issues that need to be fixed:
> 1. trash_Clean should not be allowed to go into a tight endless loop
> (I think Craig had mentioned inserting a wait in the loop but not sure
> if it ever was done)
> 2. Also, errors in trash removal should be logged and added to the
> regular email error messages that are sent out.
If backuppc owns the directory, an unlink "can't" fail.
--
Les Mikesell
lesmikesell AT gmail DOT com
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|