Closed Bug 1434548 Opened 6 years ago Closed 6 years ago

Slow due to access to nonexistent `cert9.db-wal` and `cert9.db-journal`

Categories

(Core :: Security: PSM, defect)

58 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1478148

People

(Reporter: pmenzel+bugzilla.mozilla.org, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0
Build ID: 20180131102552

Steps to reproduce:

Update from 57.0.4 to 58.0.1 [1] and start it.

[1] https://download-installer.cdn.mozilla.net/pub/firefox/releases/58.0.1/linux-x86_64/en-US/firefox-58.0.1.tar.bz2


Actual results:

It’s taking over five seconds before loading a site, the URL completion in the location bar also hangs for some seconds.

```
$ strace -tt -e file ./firefox https://www.molgen.mpg.de
[…]
10:52:04.710616 openat(AT_FDCWD, "/home/joey/.mozilla/firefox/6jla79yp.default-1493042115663/key4.db", O_RDWR|O_CREAT|O_CLOEXEC, 0644) = 59
10:52:04.711733 stat("/home/joey/.mozilla/firefox/6jla79yp.default-1493042115663/key4.db", {st_mode=S_IFREG|0600, st_size=294912, ...}) = 0
10:52:04.713642 stat("/home/joey/.mozilla/firefox/6jla79yp.default-1493042115663/key4.db-journal", 0x7ffd2ffc5ec0) = -1 ENOENT (No such file or directory)
10:52:04.714362 stat("/home/joey/.mozilla/firefox/6jla79yp.default-1493042115663/key4.db-wal", 0x7ffd2ffc5ec0) = -1 ENOENT (No such file or directory)
[…]
10:52:10.674926 stat("/home/joey/.mozilla/firefox/6jla79yp.default-1493042115663/cert9.db-wal", 0x7ffd2ffc6320) = -1 ENOENT (No such file or directory)
10:52:10.676997 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 60
10:52:10.677114 openat(AT_FDCWD, "/usr/lib/libXss.so.1", O_RDONLY|O_CLOEXEC) = 60
[…]
```

So that six seconds spent there. Please tell me if you need other debug information.


Expected results:

No hangs, as fast as with Firefox 57.
Component: Untriaged → Security: PSM
Product: Firefox → Core
See Also: → 1432484
Is your home directory on an NFS mount, or is it local? sounds a bit like bug 1432484
(In reply to Daniel Veditz [:dveditz] from comment #1)
> Is your home directory on an NFS mount, or is it local? sounds a bit like
> bug 1432484

Yes, the home directories in the institute are on an NFS mounts.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
It is not really a duplicate of bug #144943, because I have this problem also if the profile is on a local EXT4 filesystem.
(In reply to Bjoern Voigt from comment #5)
> It is not really a duplicate of bug #144943, because I have this problem
> also if the profile is on a local EXT4 filesystem.

Sorry, I meant bug #1444943.
You need to log in before you can comment on or make changes to this bug.