Re: mlock(2) results in Resource temporarily unavailable on FreeBSD/amd64 9.0-STABLE

2012-02-16 Thread Trond Endrestøl
On Thu, 16 Feb 2012 09:47+0100, Trond Endrestøl wrote: > I have a system running FreeBSD/amd64 9.0-STABLE as of > Tue Jan 10 16:22:34 CET 2012. > > Every attempt by the root user to use the mlock(2) system call results > in Resource temporarily unavailable (EAGAIN, 35). > > I'm using bash and

mlock(2) results in Resource temporarily unavailable on FreeBSD/amd64 9.0-STABLE

2012-02-16 Thread Trond Endrestøl
I have a system running FreeBSD/amd64 9.0-STABLE as of Tue Jan 10 16:22:34 CET 2012. Every attempt by the root user to use the mlock(2) system call results in Resource temporarily unavailable (EAGAIN, 35). I'm using bash and ulimit -l says there's no restriction on the amount of locked memory: