From owner-freebsd-questions@FreeBSD.ORG Tue Feb 5 01:27:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C88B716A419 for ; Tue, 5 Feb 2008 01:27:52 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 4427613C469 for ; Tue, 5 Feb 2008 01:27:52 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.12.11) with ESMTP id m151RoCK015644 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 5 Feb 2008 08:27:50 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.13.6/8.12.11) id m151Ro3r087662; Tue, 5 Feb 2008 08:27:50 +0700 (ICT) Date: Tue, 5 Feb 2008 08:27:50 +0700 (ICT) Message-Id: <200802050127.m151Ro3r087662@banyan.cs.ait.ac.th> From: Olivier Nicole To: freebsd-questions@freebsd.org X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Subject: Problem with makemap and hash tables X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Feb 2008 01:27:52 -0000 Hi, I am having problem with /usr/sbin/makemap hash on huge databases under FreeBSD 5.5 and 6.3 while it is working on 4.11. By huge I mean around 380,000 lines in the /etc/mail/access file. After approximately 375,000 lines added into access.db I get: makemap: access.db: line 375135: key abcd.efgh: put error: Operation not permitted and no more line will add. I know that having 380,000 REJECT rules in access.db may not be the best choice, but it is easy and it was working si far (still works under 4.11). Did anything changed in makemap since 4.11? Any limit in the size of the DB? It seems that my message yesterday was zapped by SpamAssassin (because I included names of infamous spamers as part of my examplke), so I rewrote it. Thanks in advance, Olivier