From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Peter Sherwood Newsgroups: gmane.os.tru64.managers Subject: fsck allocation error: for lncntp Date: Tue, 01 Oct 2002 17:19:09 -0400 Organization: Microway Inc. Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <3D9A114D.2030204@microway.com> Reply-To: petersherwood@microway.com NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1033509888 19716 127.0.0.1 (1 Oct 2002 22:04:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 1 Oct 2002 22:04:48 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 17wV8I-00057s-00 for ; Wed, 02 Oct 2002 00:04:46 +0200 Original-Received: (qmail 13247 invoked by uid 5); 1 Oct 2002 22:04:49 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 13238 invoked by uid 49493); 1 Oct 2002 22:04:49 -0000 Original-Received: from petersherwood@microway.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.24. spamassassin: 2.50-cvs. Clear:SA:0(-3.0/5.0):. Processed in 0.42989 secs); 01 Oct 2002 22:04:49 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 1 Oct 2002 22:04:49 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H3B00EUPPC0MJ@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT Tru64-Unix-Managers@ornl.gov) ; Tue, 01 Oct 2002 18:04:48 -0400 (EDT) Original-Received: from microway.com (microway.com [64.80.227.9]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H3B00L33PBQJK@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT Tru64-Unix-Managers@ornl.gov) ; Tue, 01 Oct 2002 18:04:40 -0400 (EDT) Original-Received: from microway.com (neutrino.microway.com [64.80.227.44]) by microway.com (8.11.6/8.11.6) with ESMTP id g91LAd818967 for ; Tue, 01 Oct 2002 17:10:39 -0400 Original-To: "tru64-unix-managers@ornl.gov" X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020311 Xref: main.gmane.org gmane.os.tru64.managers:1917 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1917 Long ago (actually, on: Sat, 4 Mar 2000), this dialogue occurred in the mailing list: SUMMARY: fsck allocation error Ann Cantelow -- Sat, 4 Mar 2000 23:33:26 +0100 (MET) Hi. My problem was this error, when trying to fsck a file system after a power failure: /sbin/ufs_fsck /dev/rrz0c ** /dev/rrz0c cannot alloc 200256002 bytes for lncntp Many thanks to Steve Hancock, who sent the below solution, saying that there is likely a shortage of per-process memory for fsck to work with. I increased that to some 350 Mbytes and rebooted, but still got the same error. The disk set just had a few days of news binaries on it, so I ran newfs on it, to avoid interrupting other processes going on on the machine with further reboots. There were no problems to fsck the disk set after that, so we're ok for now. Best, Ann Cantelow From: Steve Hancock ----------------------------------------------- The lncntp is a structure used by fsck to internally perform some bookkeeping while it is doing its job. It looks like it could not allocate enough memory for it to begin the fsck process. I can think of two reasons why this could happen: 1) You have eager mode swapping enabled and you don't have enough virtual memory (physical memory+swap) to allocate it. 2) Your process limit is too small. The default process data size limit is 128MB, so I would say this is your problem. You can work around this by upping this limit in your shell, or in sysconfitab. The latter would require a reboot. For example: # sysconfig -q proc per_proc_data_size proc: per_proc_data_size = 134217728 So, edit sysconfitab to alter it and reboot. ------------------------------------------------- What I am hoping is that someone who isn't as rusty on UNIX as I, can reveal how one might: "... work around this by upping this limit in your shell, ..." as I would rather not change "the per_proc_data_size = 134217728" since 1) I am working remotely 2) would prefer to not have to change kernel settings 3) have the customer have to catch potential kernel or boot errors 4) get them all accurately back to me (if they exist). those who have gone through this once, will identify fully ;-) Many thanks in advance -- Peter Sherwood Technical Support Direct: 508-732-5542 Main: 508-746-7341 Fax: 508-746-4678 Microway, Inc. - "Technology You Can Count On" http://www.microway.com/