From owner-freebsd-bugs Tue Apr 22 16:00:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA13695 for bugs-outgoing; Tue, 22 Apr 1997 16:00:07 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA13667; Tue, 22 Apr 1997 16:00:03 -0700 (PDT) Date: Tue, 22 Apr 1997 16:00:03 -0700 (PDT) Message-Id: <199704222300.QAA13667@hub.freebsd.org> To: freebsd-bugs Cc: From: David Nugent Subject: RE: kern/3373: db bug? Reply-To: David Nugent Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR kern/3373; it has been noted by GNATS. From: David Nugent To: mykes@sportsextra.com Cc: FreeBSD-gnats-submit@FreeBSD.ORG, Mike Schwartz Subject: RE: kern/3373: db bug? Date: Wed, 23 Apr 1997 08:53:20 +1000 (EST) On 22-Apr-97 Mike Schwartz wrote: >Release: FreeBSD 2.1-STABLE i386 ~ When trying to add a new record, using perl dbm functions, perl dies > with an error message "Can't write to db reason errno=27." errno 27 is "file too large". You're running into a process resource limit. See setrlimit(2) and getrlimit(2), and specifically RLIMIT_FSIZE. If your process is running as root, you can raise the hard limit beyond the size to which the file will grow (or infinity). If not, then you'll have to find the appropriate fix in the kernel to set the default filesize limit to your requirements. (With -current, you can set this up on a per login-class basis with /etc/login.conf). Regards, David Nugent - Unique Computing Pty Ltd - Melbourne, Australia Voice +61-3-9791-9547 Data/BBS +61-3-9792-3507 3:632/348@fidonet davidn@freebsd.org davidn@blaze.net.au http://www.blaze.net.au/~davidn/