The following script (if ~ is in NFS) will demonstrate the problem. The
two pactl processes both try to acquire the lock on the file
simultaneously, and whichever one loses will take thirty seconds before
it wins, because of the needless contention (and the unfortunate facts
of how lockd in NFS works).
!/bin/bash
NUM_PROCS=2
procs=()
for i in $(seq 1 $NUM_PROCS); do
pactl list > /dev/null &
procs[$i]=$!
done
for i in $(seq 1 $NUM_PROCS); do
wait ${procs[$i]}
done
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/817269
Title:
Pulseaudio lock of pulsecookie file is pessimal on NFS
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/817269/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs