Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!psuvax1!news From: flee@cs.psu.edu (Felix Lee) Newsgroups: comp.lang.perl Subject: Re: Large, sparse dbm databases Message-ID: Date: 7 Feb 91 23:58:29 GMT References: <1991Feb7.044015.10585@ux1.cso.uiuc.edu> Sender: news@cs.psu.edu (Usenet) Organization: Penn State Computer Science Lines: 14 Nntp-Posting-Host: dictionopolis.cs.psu.edu > dbm store returned -1, errno 28, key "class^\InfrastructureManager^\method" > at db.pl line 42, <> line 810. >I get errno 28 to be No space left on device. This shouldn't have been You're running into ndbm limitations. Ndbm returns ENOSPC when your key+data exceeds PBLKSIZ bytes (in ). This may be mentioned in the "BUGS" section of your ndbm(3) man page. (The SunOS man page claims 4096 bytes, but says 1024.) Ndbm also runs into problems when all the data that hashes to the same 32-bit integer overflows a PBLKSIZ block, but I don't think it returns ENOSPC in this case. -- Felix Lee flee@cs.psu.edu