You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Stephane GINER (JIRA)" <ji...@apache.org> on 2011/04/05 11:58:05 UTC

[jira] [Created] (COUCHDB-1119) CouchDB crash when compacting database

CouchDB crash when compacting database
--------------------------------------

                 Key: COUCHDB-1119
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1119
             Project: CouchDB
          Issue Type: Bug
          Components: Database Core
    Affects Versions: 1.0.1
         Environment: centos 5.5, 64 bits, 4Go on vmware ESX
            Reporter: Stephane GINER


when I compact a 9Go database from futon or from URL (with CURL) I got an erlang crash dump

=erl_crash_dump:0.1
Tue Apr  5 11:01:18 2011
Slogan: eheap_alloc: Cannot allocate 2280657000 bytes of memory (of type "heap").
System version: Erlang (BEAM) emulator version 5.6.5 [source] [64-bit] [smp:2] [async-threads:4] [hipe] [kernel-poll:true]
Compiled: Mon Jun  7 08:44:21 2010
Atoms: 7996
=memory
total: 3388003600
processes: 2578386000
processes_used: 2578378592
system: 809617600
atom: 538601
atom_used: 535868
binary: 801637808
code: 5274359
ets: 705288

each documents stored in database are less than 600ko.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (COUCHDB-1119) CouchDB crash when compacting database

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

Stephane GINER updated COUCHDB-1119:
------------------------------------

    Description: 
when I compact a 9Go database from futon or from URL (with CURL) I've got an erlang crash dump

=erl_crash_dump:0.1
Tue Apr  5 11:01:18 2011
Slogan: eheap_alloc: Cannot allocate 2280657000 bytes of memory (of type "heap").
System version: Erlang (BEAM) emulator version 5.6.5 [source] [64-bit] [smp:2] [async-threads:4] [hipe] [kernel-poll:true]
Compiled: Mon Jun  7 08:44:21 2010
Atoms: 7996
=memory
total: 3388003600
processes: 2578386000
processes_used: 2578378592
system: 809617600
atom: 538601
atom_used: 535868
binary: 801637808
code: 5274359
ets: 705288

each documents stored in database are 2,3 Mo and have more than 100 revisions.


  was:
when I compact a 9Go database from futon or from URL (with CURL) I've got an erlang crash dump

=erl_crash_dump:0.1
Tue Apr  5 11:01:18 2011
Slogan: eheap_alloc: Cannot allocate 2280657000 bytes of memory (of type "heap").
System version: Erlang (BEAM) emulator version 5.6.5 [source] [64-bit] [smp:2] [async-threads:4] [hipe] [kernel-poll:true]
Compiled: Mon Jun  7 08:44:21 2010
Atoms: 7996
=memory
total: 3388003600
processes: 2578386000
processes_used: 2578378592
system: 809617600
atom: 538601
atom_used: 535868
binary: 801637808
code: 5274359
ets: 705288

each documents stored in database are less than 600ko.



> CouchDB crash when compacting database
> --------------------------------------
>
>                 Key: COUCHDB-1119
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1119
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 1.0.1
>         Environment: centos 5.5, 64 bits, 4Go on vmware ESX
>            Reporter: Stephane GINER
>
> when I compact a 9Go database from futon or from URL (with CURL) I've got an erlang crash dump
> =erl_crash_dump:0.1
> Tue Apr  5 11:01:18 2011
> Slogan: eheap_alloc: Cannot allocate 2280657000 bytes of memory (of type "heap").
> System version: Erlang (BEAM) emulator version 5.6.5 [source] [64-bit] [smp:2] [async-threads:4] [hipe] [kernel-poll:true]
> Compiled: Mon Jun  7 08:44:21 2010
> Atoms: 7996
> =memory
> total: 3388003600
> processes: 2578386000
> processes_used: 2578378592
> system: 809617600
> atom: 538601
> atom_used: 535868
> binary: 801637808
> code: 5274359
> ets: 705288
> each documents stored in database are 2,3 Mo and have more than 100 revisions.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (COUCHDB-1119) CouchDB crash when compacting database

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

Stephane GINER updated COUCHDB-1119:
------------------------------------

    Description: 
when I compact a 9Go database from futon or from URL (with CURL) I've got an erlang crash dump

=erl_crash_dump:0.1
Tue Apr  5 11:01:18 2011
Slogan: eheap_alloc: Cannot allocate 2280657000 bytes of memory (of type "heap").
System version: Erlang (BEAM) emulator version 5.6.5 [source] [64-bit] [smp:2] [async-threads:4] [hipe] [kernel-poll:true]
Compiled: Mon Jun  7 08:44:21 2010
Atoms: 7996
=memory
total: 3388003600
processes: 2578386000
processes_used: 2578378592
system: 809617600
atom: 538601
atom_used: 535868
binary: 801637808
code: 5274359
ets: 705288

each documents stored in database are less than 600ko.


  was:
when I compact a 9Go database from futon or from URL (with CURL) I got an erlang crash dump

=erl_crash_dump:0.1
Tue Apr  5 11:01:18 2011
Slogan: eheap_alloc: Cannot allocate 2280657000 bytes of memory (of type "heap").
System version: Erlang (BEAM) emulator version 5.6.5 [source] [64-bit] [smp:2] [async-threads:4] [hipe] [kernel-poll:true]
Compiled: Mon Jun  7 08:44:21 2010
Atoms: 7996
=memory
total: 3388003600
processes: 2578386000
processes_used: 2578378592
system: 809617600
atom: 538601
atom_used: 535868
binary: 801637808
code: 5274359
ets: 705288

each documents stored in database are less than 600ko.



> CouchDB crash when compacting database
> --------------------------------------
>
>                 Key: COUCHDB-1119
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1119
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 1.0.1
>         Environment: centos 5.5, 64 bits, 4Go on vmware ESX
>            Reporter: Stephane GINER
>
> when I compact a 9Go database from futon or from URL (with CURL) I've got an erlang crash dump
> =erl_crash_dump:0.1
> Tue Apr  5 11:01:18 2011
> Slogan: eheap_alloc: Cannot allocate 2280657000 bytes of memory (of type "heap").
> System version: Erlang (BEAM) emulator version 5.6.5 [source] [64-bit] [smp:2] [async-threads:4] [hipe] [kernel-poll:true]
> Compiled: Mon Jun  7 08:44:21 2010
> Atoms: 7996
> =memory
> total: 3388003600
> processes: 2578386000
> processes_used: 2578378592
> system: 809617600
> atom: 538601
> atom_used: 535868
> binary: 801637808
> code: 5274359
> ets: 705288
> each documents stored in database are less than 600ko.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (COUCHDB-1119) CouchDB crash when compacting database

Posted by "Filipe Manana (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-1119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13016793#comment-13016793 ] 

Filipe Manana commented on COUCHDB-1119:
----------------------------------------

That was likely fixed by https://issues.apache.org/jira/browse/COUCHDB-888, which is included in 1.0.2.
Can you test 1.0.2?

> CouchDB crash when compacting database
> --------------------------------------
>
>                 Key: COUCHDB-1119
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1119
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 1.0.1
>         Environment: centos 5.5, 64 bits, 4Go on vmware ESX
>            Reporter: Stephane GINER
>
> when I compact a 9Go database from futon or from URL (with CURL) I've got an erlang crash dump
> =erl_crash_dump:0.1
> Tue Apr  5 11:01:18 2011
> Slogan: eheap_alloc: Cannot allocate 2280657000 bytes of memory (of type "heap").
> System version: Erlang (BEAM) emulator version 5.6.5 [source] [64-bit] [smp:2] [async-threads:4] [hipe] [kernel-poll:true]
> Compiled: Mon Jun  7 08:44:21 2010
> Atoms: 7996
> =memory
> total: 3388003600
> processes: 2578386000
> processes_used: 2578378592
> system: 809617600
> atom: 538601
> atom_used: 535868
> binary: 801637808
> code: 5274359
> ets: 705288
> each documents stored in database are 2,3 Mo and have more than 100 revisions.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (COUCHDB-1119) CouchDB crash when compacting database

Posted by "Stephane GINER (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-1119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13016814#comment-13016814 ] 

Stephane GINER commented on COUCHDB-1119:
-----------------------------------------

Thanks,

I'll deploy the 1.0.2 for test.



> CouchDB crash when compacting database
> --------------------------------------
>
>                 Key: COUCHDB-1119
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1119
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 1.0.1
>         Environment: centos 5.5, 64 bits, 4Go on vmware ESX
>            Reporter: Stephane GINER
>
> when I compact a 9Go database from futon or from URL (with CURL) I've got an erlang crash dump
> =erl_crash_dump:0.1
> Tue Apr  5 11:01:18 2011
> Slogan: eheap_alloc: Cannot allocate 2280657000 bytes of memory (of type "heap").
> System version: Erlang (BEAM) emulator version 5.6.5 [source] [64-bit] [smp:2] [async-threads:4] [hipe] [kernel-poll:true]
> Compiled: Mon Jun  7 08:44:21 2010
> Atoms: 7996
> =memory
> total: 3388003600
> processes: 2578386000
> processes_used: 2578378592
> system: 809617600
> atom: 538601
> atom_used: 535868
> binary: 801637808
> code: 5274359
> ets: 705288
> each documents stored in database are 2,3 Mo and have more than 100 revisions.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (COUCHDB-1119) CouchDB crash when compacting database

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

Filipe Manana resolved COUCHDB-1119.
------------------------------------

    Resolution: Duplicate

Closing the ticket as this issue was fixed for 1.0.2 by Adam in another ticket.

> CouchDB crash when compacting database
> --------------------------------------
>
>                 Key: COUCHDB-1119
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1119
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 1.0.1
>         Environment: centos 5.5, 64 bits, 4Go on vmware ESX
>            Reporter: Stephane GINER
>
> when I compact a 9Go database from futon or from URL (with CURL) I've got an erlang crash dump
> =erl_crash_dump:0.1
> Tue Apr  5 11:01:18 2011
> Slogan: eheap_alloc: Cannot allocate 2280657000 bytes of memory (of type "heap").
> System version: Erlang (BEAM) emulator version 5.6.5 [source] [64-bit] [smp:2] [async-threads:4] [hipe] [kernel-poll:true]
> Compiled: Mon Jun  7 08:44:21 2010
> Atoms: 7996
> =memory
> total: 3388003600
> processes: 2578386000
> processes_used: 2578378592
> system: 809617600
> atom: 538601
> atom_used: 535868
> binary: 801637808
> code: 5274359
> ets: 705288
> each documents stored in database are 2,3 Mo and have more than 100 revisions.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (COUCHDB-1119) CouchDB crash when compacting database

Posted by "Frederic Laurent (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-1119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030792#comment-13030792 ] 

Frederic Laurent commented on COUCHDB-1119:
-------------------------------------------

Thanks for the fix.
Deploy in integration and production. Success.
The largest database downsizes from 17gb to 1.7gb.
well done :)

> CouchDB crash when compacting database
> --------------------------------------
>
>                 Key: COUCHDB-1119
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1119
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 1.0.1
>         Environment: centos 5.5, 64 bits, 4Go on vmware ESX
>            Reporter: Stephane GINER
>
> when I compact a 9Go database from futon or from URL (with CURL) I've got an erlang crash dump
> =erl_crash_dump:0.1
> Tue Apr  5 11:01:18 2011
> Slogan: eheap_alloc: Cannot allocate 2280657000 bytes of memory (of type "heap").
> System version: Erlang (BEAM) emulator version 5.6.5 [source] [64-bit] [smp:2] [async-threads:4] [hipe] [kernel-poll:true]
> Compiled: Mon Jun  7 08:44:21 2010
> Atoms: 7996
> =memory
> total: 3388003600
> processes: 2578386000
> processes_used: 2578378592
> system: 809617600
> atom: 538601
> atom_used: 535868
> binary: 801637808
> code: 5274359
> ets: 705288
> each documents stored in database are 2,3 Mo and have more than 100 revisions.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira