You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "eric casteleijn (JIRA)" <ji...@apache.org> on 2010/02/09 19:31:28 UTC

[jira] Created: (COUCHDB-647) Zero size DB files are created, which make CouchDB crash.

Zero size DB files are created, which make CouchDB crash.
---------------------------------------------------------

                 Key: COUCHDB-647
                 URL: https://issues.apache.org/jira/browse/COUCHDB-647
             Project: CouchDB
          Issue Type: Bug
    Affects Versions: 0.9.1, 0.10
         Environment: Ubuntu Hardy
            Reporter: eric casteleijn
            Priority: Critical


Our production server crashed with the following fragment in the error log http://friendpaste.com/3VfsxGrH2XxvkqE3XQA4oy

It appears that this is due to a corrupted or zero size database file.

Chris Anderson suggested the attached patch to improve the logging in this case.

doppler came up with a script that reproduces the crash:

 touch /Applications/CouchDBX-0.10.1-R13B03-Leopard.app/Contents/Resources/couchdbx-core/couchdb/var/lib/couchdb/test.couch
 while true ; do curl -X GET http://localhost:5984/test ; done

NOTE: On the server that crashed we do not manipulate database files in any other way than calling the REST interface, so it is still a mystery how zero sized dbs get created. I will investigate by digging through the logs.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (COUCHDB-647) Zero size DB files are created, which make CouchDB crash.

Posted by "eric casteleijn (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

eric casteleijn updated COUCHDB-647:
------------------------------------

    Attachment: couch_file_logging.patch

Written by Chris Anderson, so he should be the one to grant license.

> Zero size DB files are created, which make CouchDB crash.
> ---------------------------------------------------------
>
>                 Key: COUCHDB-647
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-647
>             Project: CouchDB
>          Issue Type: Bug
>    Affects Versions: 0.9.1, 0.10
>         Environment: Ubuntu Hardy
>            Reporter: eric casteleijn
>            Priority: Critical
>         Attachments: couch_file_logging.patch
>
>
> Our production server crashed with the following fragment in the error log http://friendpaste.com/3VfsxGrH2XxvkqE3XQA4oy
> It appears that this is due to a corrupted or zero size database file.
> Chris Anderson suggested the attached patch to improve the logging in this case.
> doppler came up with a script that reproduces the crash:
>  touch /Applications/CouchDBX-0.10.1-R13B03-Leopard.app/Contents/Resources/couchdbx-core/couchdb/var/lib/couchdb/test.couch
>  while true ; do curl -X GET http://localhost:5984/test ; done
> NOTE: On the server that crashed we do not manipulate database files in any other way than calling the REST interface, so it is still a mystery how zero sized dbs get created. I will investigate by digging through the logs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (COUCHDB-647) Zero size DB files are created, which make CouchDB crash.

Posted by "Chris Anderson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Anderson closed COUCHDB-647.
----------------------------------

    Resolution: Fixed

this was fixed in r959791 thanks!

> Zero size DB files are created, which make CouchDB crash.
> ---------------------------------------------------------
>
>                 Key: COUCHDB-647
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-647
>             Project: CouchDB
>          Issue Type: Bug
>    Affects Versions: 0.9.1, 0.10
>         Environment: Ubuntu Hardy
>            Reporter: eric casteleijn
>            Priority: Critical
>         Attachments: couch_file_logging.patch
>
>
> Our production server crashed with the following fragment in the error log http://friendpaste.com/3VfsxGrH2XxvkqE3XQA4oy
> It appears that this is due to a corrupted or zero size database file.
> Chris Anderson suggested the attached patch to improve the logging in this case.
> doppler came up with a script that reproduces the crash:
>  touch /Applications/CouchDBX-0.10.1-R13B03-Leopard.app/Contents/Resources/couchdbx-core/couchdb/var/lib/couchdb/test.couch
>  while true ; do curl -X GET http://localhost:5984/test ; done
> NOTE: On the server that crashed we do not manipulate database files in any other way than calling the REST interface, so it is still a mystery how zero sized dbs get created. I will investigate by digging through the logs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.