List Info

Thread: mlockall() failes on amd64




mlockall() failes on amd64
user name
2006-09-16 16:17:11
> On Sep 16,  2:55pm, dannycs.huji.ac.il (Danny
Braniss) wrote:
> -- Subject: mlockall() failes on amd64
> 
> | with am-utils  6.1.5, on a amd64 6.1-STABLE kernel i
see:
> | 	Couldn't lock process pages in memory using
mlockall()
> | while it's ok on a i386:
> | 	Locked process pages in memory
> | 
> 
> We should really fix amd to print the errno string when
system calls
> fail; now we can only scratch our heads.
> 
> christos
sorry, here is the full message:
Couldn't lock process pages in memory using mlockall():
Resource temporarily 
unavailable

or error = EAGAIN (ED 

	danny


_______________________________________________
freebsd-amd64freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to
"freebsd-amd64-unsubscribefreebsd.org"
mlockall() failes on amd64
user name
2006-09-16 16:28:30
On Sep 16,  7:17pm, dannycs.huji.ac.il (Danny
Braniss) wrote:
-- Subject: Re: mlockall() failes on amd64

| > On Sep 16,  2:55pm, dannycs.huji.ac.il (Danny
Braniss) wrote:
| > -- Subject: mlockall() failes on amd64
| > 
| > | with am-utils  6.1.5, on a amd64 6.1-STABLE kernel
i see:
| > | 	Couldn't lock process pages in memory using
mlockall()
| > | while it's ok on a i386:
| > | 	Locked process pages in memory
| > | 
| > 
| > We should really fix amd to print the errno string
when system calls
| > fail; now we can only scratch our heads.
| > 
| > christos
| sorry, here is the full message:
| Couldn't lock process pages in memory using mlockall():
Resource temporarily 
| unavailable
| 
| or error = EAGAIN (ED 

heh!

FreeBSD's vm system is very different from NetBSD's, and I
am not familiar
with it. The first and easiest thing to do is to check if
the resource limit
for locked memory is set too low. Then hunt in the kernel
sources for mlockall
and print the arguments it passes to the vm system. Anyway,
the error is not
fatal, and amd should keep working after that.

christos
_______________________________________________
freebsd-amd64freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to
"freebsd-amd64-unsubscribefreebsd.org"
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )