On 11/11/20 8:05 PM, Dimitry Andric wrote:

Firefox uses sqlite databases to store cookies, history and other items.
You should never store these on NFS.

Really?
It has worked properly for years; it's only been broken for some months.
Besides history works perfectly.
Wouldn't any corruption produce some sort of log somewhere?

The SQLite FAQ say:

SQLite depends on the underlying filesystem to do locking as the documentation says it will. But some filesystems contain bugs in their locking logic such that the locks do not always behave as advertised. This is especially true of network filesystems and NFS in particular. If SQLite is used on a filesystem where the locking primitives contain bugs, and if two or more threads or processes try to access the same database at the same time, then database corruption might result.

AFAIK NFS has locking (especially NFSv4 does not require separate sideband services).
So we are talking about bugs.
Is it a bug in FreeBSD's NFSv4?
In SQLite port?
In FireFox? In FireFox port?

Just so I know where to look further.



Ergo, put your profile folder on a local filesystem.

I might not have one in some cases...

 bye & Thanks
        av.
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to