[PlanetCCRMA] PlanetCCRMA and RAID: which way to go?

Fernando Lopez-Lezcano nando@ccrma.Stanford.EDU
Mon Jun 27 12:59:00 2005


On Mon, 2005-06-27 at 12:17, Henk Jansen wrote:
> > > ... indicating that (apparently) the JACK server is stil not running.
> > > Trying to restart the jack server gives me:
> > > 
> > > [jans2@jaki jans2]$ /usr/bin/jackd -R -d alsa  -r48000 -p512 -n3
> > > jackd 0.99.36
> > > Copyright 2001-2003 Paul Davis and others.
> > > jackd comes with ABSOLUTELY NO WARRANTY
> > > This is free software, and you are welcome to redistribute it
> > > under certain conditions; see the file COPYING for details
> > > 
> > > JACK compiled with System V SHM support.
> > > too many servers already active
> > > [jans2@jaki jans2]$
> > > 
> > > Yet:
> > > 
> > > [jans2@jaki jans2]$ ps aux | grep jack
> > > jans2     8573  0.0  0.0  3720  652 pts/5    S+   20:54   0:00 grep jack
> > > [jans2@jaki jans2]$
> > > 
> > > ...no jackd to be found --- confusing, isn't it?
> > 
> > Yep. 
> > Maybe a previous jack was killed in a way in which it could not do any
> > cleanup and left stuff in the temporary directory used to store pipes
> > and all that. 
> > 
> > In fc3 that should be /var/lib/jack/tmp/ (should be mounted in tmpfs),
> > make sure that directory is empty and that there are no instances of
> > jack running. 
> 
> [root@jaki jans2]# rm -Rf /var/lib/jack/tmp/*
> [root@jaki jans2]# ls /var/lib/jack/tmp/
> [root@jaki jans2]# find /var/ | grep jack
> /var/cache/apt/archives/jackmix_0.0.3-1.rhfc3.ccrma_i386.rpm
> /var/cache/apt/archives/libjackasyn-devel_0.11-1.rhfc3.ccrma_i386.rpm
> /var/cache/apt/archives/jackeq_0.4.0-1.rhfc3.ccrma_i386.rpm
> /var/cache/apt/archives/libjackasyn_0.11-1.rhfc3.ccrma_i386.rpm
> /var/cache/apt/archives/jack-rack_1.4.3-3.rhfc3.ccrma_i386.rpm
> /var/cache/apt/archives/qjackctl_0.2.15-2.rhfc3.ccrma_i386.rpm
> /var/cache/apt/archives/xmms-jack_0.13-2.rhfc3.ccrma_i386.rpm
> /var/lib/jack
> /var/lib/jack/tmp
> [root@jaki jans2]# exit
> [jans2@jaki jans2]$ /usr/bin/jackd -R -d alsa  -r48000 -p512 -n3
> jackd 0.99.36
> Copyright 2001-2003 Paul Davis and others.
> jackd comes with ABSOLUTELY NO WARRANTY
> This is free software, and you are welcome to redistribute it
> under certain conditions; see the file COPYING for details
> 
> JACK compiled with System V SHM support.
> too many servers already active
> [jans2@jaki jans2]$
> 
> ...not making much progress, are we? (I much appreciate your help; no
> misunderstanding about that!)

Yes, I don't know what else may be there that fools jack into thinking
that another process is running. The only thing left that occurs to me
is the shared memory segments used by jack. They could have been left
allocated. There are commands to list and delete shared memory segments
but I don't remember them and a quick search did not turn them up, maybe
somebody else on the list has a better memory...

Obviously a reboot would also cure that :-)
-- Fernando