From owner-freebsd-questions Mon Nov 26 6:50:36 2001 Delivered-To: freebsd-questions@freebsd.org Received: from trinity.magpage.com (trinity.magpage.com [216.155.0.8]) by hub.freebsd.org (Postfix) with ESMTP id C982937B41A for ; Mon, 26 Nov 2001 06:50:29 -0800 (PST) Received: from magpage.com (poomba.magpage.com [216.155.24.136]) by trinity.magpage.com (8.11.6/8.11.3) with ESMTP id fAQEoTG65084 for ; Mon, 26 Nov 2001 09:50:29 -0500 (EST) Message-ID: <3C0256B4.5020506@magpage.com> Date: Mon, 26 Nov 2001 09:50:28 -0500 From: Daniel Frazier User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.5) Gecko/20011112 X-Accept-Language: en-us MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: out of memory error... Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-RRT-Status: UNKNOWN Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hello all, The standard class for users on our shell server is defined like this in /etc/login.conf... standard:\ :copyright=/etc/COPYRIGHT:\ :welcome=/etc/motd:\ :setenv=MAIL=/var/mail/$,BLOCKSIZE=K:\ :path=~/bin /bin /usr/bin /usr/local/bin:\ :manpath=/usr/share/man /usr/local/man:\ :cputime=1h30m:\ :datasize=24M:\ :stacksize=2M:\ :memorylocked=4M:\ :memoryuse=10M:\ :filesize=16M:\ :coredumpsize=8M:\ :openfiles=24:\ :maxproc=32:\ :priority=0:\ :requirehome:\ :umask=022:\ :ignoretime@:\ :tc=default: One of the users on this box has recently been complaining about recieving an error when trying to use cpan. This is what he provided us to show the error... alaska:/home1/users/sgodin> perl -MCPAN -e 'shell' cpan shell -- CPAN exploration and modules installation (v1.59) ReadLine support available (try 'install Bundle::CPAN') cpan> m CPAN CPAN: Storable loaded ok Going to read /home1/users/sgodin/.cpan/Metadata Going to read /home1/users/sgodin/.cpan/sources/authors/01mailrc.txt.gz Going to read /home1/users/sgodin/.cpan/sources/modules/02packages.details.txt.gz Going to read /home1/users/sgodin/.cpan/sources/modules/03modlist.data.gz Out of memory! Lockfile removed. Callback called exit. alaska:/home1/users/sgodin> This is definately caused when trying to read that last gzip's archive into memory, but I can't tell which limit specifically was being reached. Can anyone tell which limit it was, or suggest a way to determine this? The only way I've thought of so far would be to raise one limit at a time and see if that affects the situation, but is there a better way? IMHO, it seems there should be... -- ---------------------------------------------------------------------- Daniel Frazier Tel: 302-239-5900 Ext. 231 Systems Administrator Fax: 302-239-3909 MAGPAGE, We Power the Internet WWW: http://www.magpage.com/ "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin, Historical Review of Pennsylvania, 1759. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message