Skip site navigation (1)Skip section navigation (2)
Date:      13 May 1998 21:46:30 -0000
From:      "Brian Feldman" <brianfeldman@hotmail.com>
To:        freebsd-current@FreeBSD.ORG
Subject:   Re: swaping of large process
Message-ID:  <19980513214630.9275.qmail@m2.findmail.com>
In-Reply-To: <19980513144505.19762.qmail@cpu2508.adsl.bellglobal.com>

next in thread | previous in thread | raw e-mail | index | archive | help
All right, I think I can handle this question, but I'll assume some givens. This, if I'm interpreting it correctly, is not a FreeBSD problem. I am guessing that you are trying to use ld to construct a large file as a non-root user. As a non-root user, by default there are limits imposed in /etc/login.conf (man 5 login.conf) such as file size, CPU limit, memory limit, et cetera. Go root if you need more RAM -OR- learn how to use login.conf, make yourself a new class with less limits (edit xuser is my suggestion) and vipw to add yourself to that class (man 5 passwd, too). If that or su'ing root and trying it does not fix it, let me know.

Brian Feldman
FreeBSD feldman.dyn.ml.org 3.0-CURRENT FreeBSD 3.0-CURRENT #0: Tue May 5 18:06:23 EDT 1998     green@feldman.dyn.ml.org:/usr/src/sys/compile/FELDMAN  i386
 5:47PM  up 7 days, 18:04, 2 users, load averages: 0.24, 0.36, 0.32



> --==_Exmh_-1112120560P
> Content-Type: text/plain; charset=us-ascii
> 
> 
> Hi,
> 
> I'm running 3.0-980426-SNAP with 32M of RAM and a 128M swap partition.
> I've found that when a single process exhausts the available physical
> memory the swap is not being used, resulting in an out of memory error
> with almost half the swap space free. 
> 
> The specific circumstance is gcc compiling kfmgui.cpp since the process
> then needs about 30M if not more of memory.
> 
> Did something get broken in the latest snap release?
> 
>   Steve
> 
> 
> 
> 
> 
> --==_Exmh_-1112120560P
> Content-Type: application/pgp-signature
> 
> -----BEGIN PGP MESSAGE-----
> Version: 2.6.3ia
> 
> iQEVAwUBNVmx7wNowu66bCy5AQFVvgf+IdB+40IbulEPWaneqeKXBTfdKsmsgg8t
> IBMWCHDhZts7obzZcby11QEC8sCiraIb7SGCBnYu/BZ7VgID0W19y1sAiyn3x2I/
> UntqCTTlR7Ix7SgbkhoRe+KX1ISqUUQcykXqVUYZgejgfxKlKIcRQuAviOLiTtnh
> OsRO5BX3nTW+Txj8BZUuT1jSsdCg/XO/7twGOJPUaZiZVg6w9rV+6JmR3kmGJeqi
> 63P8Z+bwBKSq43NUDdn5nPqz3+vQ5Tg5/PICua6VII7/BzinEk/IgFgRESb1KVnf
> fPXs2HQATNnELbq+d04cnFZFgqnIjmzSuTFIozP/Yu5uapbI1Uc9mg==
> =qvY6
> -----END PGP MESSAGE-----
> 
> --==_Exmh_-1112120560P--
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
> 
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980513214630.9275.qmail>