couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Cottlehuber (JIRA)" <>
Subject [jira] Updated: (COUCHDB-963) Erlang processes crash when running the delayed_commits test on Windows Server 2008
Date Fri, 04 Mar 2011 10:12:37 GMT


Dave Cottlehuber updated COUCHDB-963:

    Attachment: COUCHDB-963_workaround_and_improved_uninstall.patch

workaround for COUCHDB-963 as permanent fix is needed from upstream.

patch contains 4 tweaks:
- add "-onfail restart_always" to service parameters to increase reliability
- bring service Erlang VM parameters in line with those in couchdb.bat
- improved uninstall by killing epmd first; this allows all binaries to be removed cleanly
- improved install in service mode by hiding popup erlsrv.exe consoles
- use full commandline options for erlsrv to make installer more readable

> Erlang processes crash when running the delayed_commits test on Windows Server 2008
> -----------------------------------------------------------------------------------
>                 Key: COUCHDB-963
>                 URL:
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Infrastructure
>    Affects Versions: 1.0.1
>         Environment: This Windows box is a virtual machine
> Windows Server 2008 Standard without Hyper-V Service Pack 2 64-bit
> 2 GB RAM
> 2 Core Intel Xeon CPU @ 2.53GHz each
>            Reporter: Terry Smith
>         Attachments: Apache CouchDB.debug.2, COUCHDB-963_workaround_and_improved_uninstall.patch,
couch.log, dch_couch.log
> The debugging I've done points to this being an erlsrv.exe bug. Here my steps to recreate.
> Install 1.0.1 CouchDB as a service using the Windows Binary Installer. I did not select
to "Start service after installation".
> Edit the local.ini to set the logging level to "debug".
> Go to the service control panel and start the Apache CouchDB service.
> Go to Test Suite in Futon and run the "delayed_commits" test.
> After about 15 - 20 seconds go to the service control panel and refresh to see that the
service is no longer running. ProcessExplorer verifies the erlsrv.exe and erl.exe processes
are not running. The last message in the log is a _restart command that returns 200. 
> When I run CouchDB using CouchDB.bat. The test completes without crashing.
> When I set the DebugType in the registry HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Ericsson\Erlang\ErlSrv\1.1\Apache
CouchDB to 1 (DEBUG_TYPE_NEW) to get a erlsrv.exe log, the test completes without crashing.
> I will attach the log files from CouchDB and erlsrv.exe.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message