Date: Thu, 21 May 1998 17:06:47 -0500 (EST) From: "Gregory D. Moncreaff" <moncrg@am026091.res.ray.com> To: hackers@FreeBSD.ORG Subject: limits && /etc/login.conf Message-ID: <199805212206.RAA29017@am026091.res.ray.com>
next in thread | raw e-mail | index | archive | help
I'm trying to write a program that deals with a couple of thousand descriptors and I'm confused about how limits is reporting what should be derived from login.conf. Trying a both a "default" and "root" class user, I've set openfiles-cur/max to 1024 but when I type `limit` or `limits` it reports 360 as the openfiles limits. When I grep for `openfiles` in /etc/login.conf I find no occurences of 360. Where did it come from? How/should get/setrlimit work? when I call getrlimit it reports a max of 360 and cur of 0? thanx, -g To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805212206.RAA29017>