[Expired for deja-dup (Ubuntu) because there has been no activity for 60
days.]
** Changed in: deja-dup (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to deja-dup in Ubuntu.
https://bugs.launchpad.net/bugs/1090725
Title:
slow scanning because too many times opens /etc/groups and /etc/passwd
Status in “deja-dup” package in Ubuntu:
Expired
Bug description:
Scaning for which files need to backup is a little bit slow.
May this is because 'deja-dup' too many times read /etc/groups (which remains
unchanged all time programm works).
Steps to reproduce:
1. Run
$ deja-dup --backup
'Back Up' window is appears
2. Wait for 'Scanning...' stage (when in log appears lot of 'Scanning:
....' lines.
3. Get PID of '/usr/bin/python /usr/bin/duplicity' process and run
strace -p <PID>
Actual result:
A lot of sequences like this:
<pre>
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 18
_llseek(18, 0, [0], SEEK_CUR) = 0
fstat64(18, {st_mode=S_IFREG|0644, st_size=1983, ...}) = 0
mmap2(NULL, 1983, PROT_READ, MAP_SHARED, 18, 0) = 0xb772f000
_llseek(18, 1983, [1983], SEEK_SET) = 0
munmap(0xb772f000, 1983) = 0
close(18) = 0
open("/etc/group", O_RDONLY|O_CLOEXEC) = 18
_llseek(18, 0, [0], SEEK_CUR) = 0
fstat64(18, {st_mode=S_IFREG|0644, st_size=1019, ...}) = 0
mmap2(NULL, 1019, PROT_READ, MAP_SHARED, 18, 0) = 0xb772f000
_llseek(18, 1019, [1019], SEEK_SET) = 0
munmap(0xb772f000, 1019) = 0
close(18)
</pre>
alex@hp-635:~$ grep 'open' duplicity_strace.log | wc -l
2101
alex@hp-635:~$ grep 'open' duplicity_strace.log | grep -v '/etc/' | wc -l
49
Expected result:
Do not read /etc/passwd and /etc/groups again and again- it doesn't
changes in time when programm works.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: deja-dup 22.0-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-35.55-generic 3.2.34
Uname: Linux 3.2.0-35-generic i686
NonfreeKernelModules: fglrx
ApportVersion: 2.0.1-0ubuntu17
Architecture: i386
Date: Sat Dec 15 21:02:58 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386
(20120423)
MarkForUpload: True
SourcePackage: deja-dup
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/deja-dup/+bug/1090725/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp