Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 50105 invoked from network); 25 Sep 2010 10:22:51 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Sep 2010 10:22:51 -0000 Received: (qmail 95520 invoked by uid 500); 25 Sep 2010 10:22:50 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 95284 invoked by uid 500); 25 Sep 2010 10:22:47 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 95276 invoked by uid 99); 25 Sep 2010 10:22:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Sep 2010 10:22:46 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [145.58.30.185] (HELO out1b.mail.omroep.nl) (145.58.30.185) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Sep 2010 10:22:37 +0000 Received: from localhost (ou1bclean [10.10.30.159]) by out1b.mail.omroep.nl (Postfix MTA - NPO ICT) with ESMTP id B8796300018B for ; Sat, 25 Sep 2010 12:22:17 +0200 (CEST) X-Virus-Scanned: NPO ICT Received: from tweehoog.vpro.nl (tweehoog.vpro.nl [145.58.169.4]) by out1b.mail.omroep.nl (Postfix MTA - NPO ICT) with ESMTP id 9D328300008E for ; Sat, 25 Sep 2010 12:22:17 +0200 (CEST) Received: from exmail.vpro.nl ([145.58.171.81] helo=VS-EX-01.intra.vpro.nl) by tweehoog.vpro.nl with esmtp (Exim 3.36 #1) id 1OzRtZ-0007Vz-00 for user@couchdb.apache.org; Sat, 25 Sep 2010 12:22:17 +0200 Received: from VS-EX-01.intra.vpro.nl ([145.58.171.81]) by VS-EX-01.intra.vpro.nl ([145.58.171.81]) with mapi; Sat, 25 Sep 2010 12:22:17 +0200 From: Nils Breunese To: "user@couchdb.apache.org" Date: Sat, 25 Sep 2010 12:19:20 +0200 Subject: RE: Couchdb crashes on Windows Thread-Topic: Couchdb crashes on Windows Thread-Index: ActcmYR6aNccd1gwSaWYdUf5+KBJNwAAZmQF Message-ID: References: , In-Reply-To: Accept-Language: nl-NL Content-Language: nl-NL X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: nl-NL Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org I only use Mac OS X and Linux myself, and haven't encountered this 4 GB fil= e size limitation. I guess this is either a problem with your build or some= thing Windows specific, I don't know. Maybe other Windows users can report whether they can successfully grow the= ir databases larger than 4 GB? Nils. ________________________________________ Van: Peter Somers [petsomers@gmail.com] Verzonden: zaterdag 25 september 2010 12:07 Aan: user@couchdb.apache.org Onderwerp: Re: Couchdb crashes on Windows Hi Nils, It is NTFS. Thanks, Peter . 2010/9/25 Nils Breunese > On what filesystem are the .couch files stored? FAT32 has a 4 GB (-1 byte= ) > file limit: > > "You cannot create a file larger than (2^32)-1 bytes (this is one byte le= ss > than 4 GB) on a FAT32 partition." > http://support.microsoft.com/kb/314463/EN-US/ > > Nils. > ________________________________________ > Van: Peter Somers [petsomers@gmail.com] > Verzonden: zaterdag 25 september 2010 11:30 > Aan: user@couchdb.apache.org > Onderwerp: Couchdb crashes on Windows > > Hi all, > > We have been using couchdb on Windows without any problems for a while no= w > in dev an test phases. > Couchdb version 1.0.1, Windows 7 64bit. > Database files where always around 2 GB. > Our project enters productions phase, so I tried to load actual productio= n > data in. > Couchdb always crashes when the database file is exactly 4GB (around > 250,000 > different documents)! > > > This is is couchdb's response after 4 GB of data: > > Status code:500 > > {"error":"{{badmatch,{error,enomem}}, > > [{couch_file,read_raw_iolist_int,3}, > > {couch_file,handle_call,3}, > > {gen_server,handle_msg,5}, > > > > {proc_lib,init_p_do_apply,3}]}","reason":"{gen_server,call,[<0.19884.5>,{= pread_iolist,4294426050},infinity]}"} > > > After restart, couchdb keeps crashing as long as the 4 GB db file is ther= e. > > Coucdb logfile: > [Fri, 24 Sep 2010 13:11:43 GMT] [error] [<0.139.0>] ** Generic server > <0.139.0> terminating > ** Last message in was {pread_iolist,4294422001} > ** When Server state =3D=3D > {file,{file_descriptor,prim_file,{#Port<0.3710>,692}}, > 0,4294968642} > ** Reason for termination =3D=3D > ** {{badmatch,{ok,<<247,255,106,106,104,2,98,0,8,56,168,104,3,109,0,0,0,3= 3, > 91,34,70,111,114,119,97,114,100,101,114,34,44,34,56,56= , > ... > ... > > > I noticed the 4 GB limit per document in the config file, but this is per > document, not for the entire DB? > Increasing this doesn't help at all. > > Deleting the file and trying to load other data in it had exactly the sam= e > result after 4GB of data. > If I compact the database during the load process, more data can go in, b= ut > 4GB still is the maximum .couch file size. > > Any ideas? > > Regards, > Peter > ------------------------------------------------------------------------ > VPRO > phone: +31(0)356712911 > e-mail: info@vpro.nl > web: www.vpro.nl > ------------------------------------------------------------------------ >