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

Re: [a-devel] AGNULA/DeMuDi 1.1.1 and 2.6.x kernel



Paul Brossier <piem-lists@altern.org> writes:

> $ jackd -V
> jackd version 0.98.1
> default tmp directory: /dev/shm
> 
> $ uname -a
> Linux bastille 2.6.6piem #1 Thu May 20 16:22:48 BST 2004 i686 GNU/Linux
> 
> still after our user a leaves jackd, the content of /dev/shm is:
> 
> $ ls -l /dev/shm/
> prw-r--r-- 1 usera usera 0 Jun 26 18:03 jack-ack-fifo-2035-0
> prw-r--r-- 1 usera usera 0 Jun 26 18:03 jack-ack-fifo-2035-1
> srwxr-xr-x 1 usera usera 0 Jun 26 18:03 jack_0
> srwxr-xr-x 1 usera usera 0 Jun 26 18:03 jack_ack_0

This shows that the session state is not getting cleaned up.  Either
jackd crashed or it was killed with a signal 9 (probably).  Running
jackd once more as usera and killing it normally should clean up these
segments.

The question is why that didn't happen in the first place.  To answer
that, we need information about why and how jackd crashed originally.

> when user b then logins and runs the server, the content of /dev/shm is:
> 
> $ ls -l /dev/shm/
> prw-r--r-- 1 usera usera 0 Jun 26 18:03 jack-ack-fifo-2035-0
> prw-r--r-- 1 usera usera 0 Jun 26 18:03 jack-ack-fifo-2035-1
> prw-r--r-- 1 userb userb 0 Jun 26 18:04 jack-ack-fifo-2066-0
> prw-r--r-- 1 userb userb 0 Jun 26 18:04 jack-ack-fifo-2066-1
> srwxr-xr-x 1 usera usera 0 Jun 26 18:03 jack_0
> srwxr-xr-x 1 userb userb 0 Jun 26 18:04 jack_1
> srwxr-xr-x 1 usera usera 0 Jun 26 18:03 jack_ack_0
> srwxr-xr-x 1 userb userb 0 Jun 26 18:04 jack_ack_1

At this point things are FUBAR.  JACK cannot support multiple
simultaneous users.

-- 
  joq



Reply to: