rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] debugging weird memory error


From: Andrew Ferguson
Subject: Re: [rdiff-backup-users] debugging weird memory error
Date: Thu, 26 Oct 2006 10:14:38 -0400
User-agent: Thunderbird 1.5.0.7 (Macintosh/20060909)

Rolf Braun wrote:
> Exception '' raised of class 'exceptions.MemoryError':
>   File "/usr/local/lib/python2.3/site-packages/rdiff_backup/robust.py",
> line 32, in check_common_error
>     try: return function(*args)
>   File "/usr/local/lib/python2.3/site-packages/rdiff_backup/rpath.py",
> line 878, in listdir
>     return self.conn.os.listdir(self.path)

Try running rdiff-backup with "-v 5". That will give you a list of
files/directories that are being processed. The last few lines should
give you a clue as to what is going on (ie, where on the filesystem it
is failing).

If we can believe the above exception backtrace, it claims that it is
failing on the Python call "os.listdir()". This call returns a list of
all the files in the given directory. If you have a directory with some
staggeringly large number of files, it's certainly conceivable that it
could cause an out of memory error.

I know Mac OS X Tiger Mail now uses individual files for each message
... temp directories are another place to look.

Cheers,
Andrew

-- 
Andrew Ferguson - address@hidden





reply via email to

[Prev in Thread] Current Thread [Next in Thread]