Re: growisofs 6.1 fails to allocate shared memory beyond 16m
Andy Polyakov <appro@fy.chalmers.se> wrote:
> > >SV> I'm running Linux 2.615 on a Slamd64 distro.
> > >SV> I've successfully compiled dvd+rw-tools 6.1.
> > >SV> If I launch growisofs as normal user no problem to allocate whatever
> > >SV> size of the fifo buffer.
> > >SV> :-( unable to anonymously mmap 33554432: Resource temporarily
> > >SV> unavailable
> >
> >> Are you absolutely certain you are usig 6.1? I reported this error for 6.0
> > and
> >> do not see it any more in 6.1.
> >
> > Yes, surely I'm running 6.1 version.
>
> Note that growisofs attempts to increase the locked limit upon start-up
> and it even reserves for extra 4MB for code, data and stacks. Is it
> possible that extra 4MB is not sufficient for your system? Try to
> experiment with different values for ulimit -l/limit memorylocked, most
> notably `expr \( 32 + N \) \* 1024` with N > 4. A.
I was trying similar rules a while ago.... this does not work as you don't know
e.g. the size of libc.
Jörg
--
EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
js@cs.tu-berlin.de (uni)
schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
Reply to: