Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 288F710DDB for ; Wed, 19 Mar 2014 11:55:49 +0000 (UTC) Received: (qmail 76332 invoked by uid 500); 19 Mar 2014 11:55:46 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 75953 invoked by uid 500); 19 Mar 2014 11:55:45 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 75942 invoked by uid 99); 19 Mar 2014 11:55:43 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Mar 2014 11:55:43 +0000 Date: Wed, 19 Mar 2014 11:55:43 +0000 (UTC) From: "Robert Newson (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (COUCHDB-1592) Free space check for automatic compaction doesn't follow symlinks MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-1592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13940418#comment-13940418 ] Robert Newson commented on COUCHDB-1592: ---------------------------------------- welp, read_file_info returns 'regular' for symlinks on OS X and Linux, so I guess this is a bust. vagrant@debian-6:~$ file bar bar: symbolic link to `foo' vagrant@debian-6:~$ erl Erlang R14A (erts-5.8) [source] [64-bit] [rq:1] [async-threads:0] [kernel-poll:false] Eshell V5.8 (abort with ^G) 1> file:read_file_info("bar"). {ok,{file_info,0,regular,read_write, {{2014,3,19},{11,53,29}}, {{2014,3,19},{11,53,29}}, {{2014,3,19},{11,53,29}}, 33188,1,65024,0,1417237,900,900}} > Free space check for automatic compaction doesn't follow symlinks > ----------------------------------------------------------------- > > Key: COUCHDB-1592 > URL: https://issues.apache.org/jira/browse/COUCHDB-1592 > Project: CouchDB > Issue Type: Bug > Components: Database Core > Affects Versions: 1.2 > Reporter: Nils Breunese > > We've got a problem with automatic compaction not running due to low diskspace according to CouchDB. According to our system administrators there is more than enough space (more than twice the currently used space), but the data directory is a symlink to the real data storage. It seems CouchDB is checking the diskspace on the filesystem on which the symlink resides instead of the diskspace on the linked filesystem. -- This message was sent by Atlassian JIRA (v6.2#6252)