From owner-freebsd-hackers Sun Jan 18 16:58:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA03598 for hackers-outgoing; Sun, 18 Jan 1998 16:58:33 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from opus.cts.cwu.edu (skynyrd@opus.cts.cwu.edu [198.104.92.71]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA03453 for ; Sun, 18 Jan 1998 16:57:43 -0800 (PST) (envelope-from skynyrd@opus.cts.cwu.edu) Received: from localhost (skynyrd@localhost) by opus.cts.cwu.edu (8.8.8/8.8.7) with SMTP id QAA20662; Sun, 18 Jan 1998 16:56:34 -0800 (PST) (envelope-from skynyrd@opus.cts.cwu.edu) Date: Sun, 18 Jan 1998 16:56:34 -0800 (PST) From: Chris Timmons To: William Lloyd cc: Jan Koum , freebsd-hackers@FreeBSD.ORG Subject: Re: user limits, login.conf, etc. In-Reply-To: <34C29027.D1D42DB3@mpd.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk If you are tracking -stable on a machine first installed as 2.2(.*), you might want to see that you have the latest /etc/login.conf copied from /usr/src/etc/login.conf by hand, and then do a 'cap_mkdb login.conf'. If that doesn't solve your problems, are you starting xdm from rc.local? You could put 'ulimit -a' just ahead of the call to xdm to see what limits are in effect as inherited from the daemon login class from login.conf. If the whole business of login.conf disgusts you, the limits for root are pretty permissive; rather than tweaking the daemon class you could just start xdm with root's resource limits: /usr/bin/limits -C root /usr/X11R6/bin/xdm (an example which was pointed out to me by someone on this list when I was having the same trouble.) "Painnnnnn" - Spock during mindmeld with Horta who is thrashing with login.conf problems. -Chris On Sun, 18 Jan 1998, William Lloyd wrote: > Jan Koum wrote: > > > > I have similar problem with xdm. When I run netscape on Xwindows > > running from xdm I get "netscape out of memory" error after some time of > > use. Any idea on how can I fix xdm to allow more resources for users? > > Thanks, > > > > -- yan > > I get that also on 2.2-STABLE. Doesn't seem to matter if I have xdm > running or not for me. One of my FreeBSD boxes is headless, and I have > the display on my sun, I still get exactly the same problem. > > I though for a while it was because I was only running 32MB, but it > still happens now that I have 64MB. > > -bill > > -- > William Lloyd (wlloyd@mpd.ca) >