Re: [CinCVS] Launch error

2007-04-03 Thread Christian Thaeter
Franz wrote:
> Recently installed Cinelerra on Ubuntu edgy launches OK, but always
> displays this notice first:
> echo "0x7fff" > /proc/sys/kernel/shmmax
> 
> I don't know what it means, but can I avoid having to do this everytime
> I launch cinerella ?+
> 
> Franz
> 

When you have the procfs tools installed then you can add it to
/etc/sysctl.conf:

$ tail -1 /etc/sysctl.conf
kernel.shmmax=0x7fff



___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCVS] Launch error

2007-04-02 Thread Franz

Hi Hannu and barko

Thanks ! all works now OK.

Franz

barko wrote:

Hi all!

Put it in this script before exit 0: /etc/rc.local

like this:

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

echo "0x7fff" > /proc/sys/kernel/shmmax
exit 0

Hannu Vuolasaho pravi:
  

I'm also curious. Where should I put it in initscript if I always want
to use 0x7fff as shmmax?






___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

  


___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCVS] Launch error

2007-04-02 Thread barko
Hi all!

Put it in this script before exit 0: /etc/rc.local

like this:

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

echo "0x7fff" > /proc/sys/kernel/shmmax
exit 0

Hannu Vuolasaho pravi:
> I'm also curious. Where should I put it in initscript if I always want
> to use 0x7fff as shmmax?




___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


RE: [CinCVS] Launch error

2007-04-02 Thread Hannu Vuolasaho



Recently installed Cinelerra on Ubuntu edgy launches OK, but always
displays this notice first:



You can do it as it says. Before launching Cinelerra become root and tell 
kernel to increase shmmax.


[EMAIL PROTECTED]:~$ sudo su
[EMAIL PROTECTED]:/home/vuolasah# echo "0x7fff" > /proc/sys/kernel/shmmax

Original sudo echo didn't work for me. I' mostly running edgy too. For 
Cinerella I use Dynebolic CD which has no distractions like Ubuntu has.


I'm also curious. Where should I put it in initscript if I always want to 
use 0x7fff as shmmax?



I don't know what it means, but can I avoid having to do this everytime
I launch cinerella ?+


And the meaning of the error is that cinelerra will unable to allocate large 
portion of shared memory Obviously that is set by default to 2GB so that 
nothing shouldn't get wild and allocate more than it is capable of handling. 
It's the border of 32bit integer.


Also increasing the shmmax you decrease maximum number of different 
applications if they all allocate a lot of memory.


Hannu Vuolasaho

_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/



___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra