tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Ann Cantelow <cantelow () athena ! csdco ! com>
To: tru64-unix-managers
Subject: SUMMARY: fsck allocation error
Date: Sat, 04 Mar 2000 22:32:07 +0000	[thread overview]
Message-ID: <96079341819327.tru64-unix-managers.marc@archive.invalid> (raw)


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 <shancock@zk3.dec.com>
-----------------------------------------------
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.
-------------------------------------------------

                 reply	other threads:[~2000-03-04 22:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox