couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Cottlehuber (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-963) Erlang processes crash when running the delayed_commits test on Windows Server 2008
Date Tue, 08 Feb 2011 09:30:57 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12991852#comment-12991852
] 

Dave Cottlehuber commented on COUCHDB-963:
------------------------------------------

Last note for the night - there *is* a difference between the service & the .bat file.
batch uses werl.exe & service uses erlsrv.exe & erl.exe. There's 2 commits that might
help resolve this:

Jan's parameters in couchdb.bat are not (yet) included in the service config:
https://github.com/apache/couchdb/commit/bbd0703f769bac618c0dec22ebf2d14b0a5df5b8
needs to be included into https://github.com/apache/couchdb/blob/trunk/etc/windows/couchdb.iss.tpl#L77

Damien's older "use werl.exe not erl.exe":
https://github.com/apache/couchdb/blob/trunk/bin/couchdb.bat.tpl.in#L23

Some things to try;
- running init:restart() from the erl or werl console directly 
-changing the service parameters to match Jan's commit
- use psexec -s .... (from sysinternals.com) to launch an interactive prompt under system
acct, and try couchdb.bat from there?
using the config from the service instead of the batch file - does it fail under normal user
acct as well?

Cheers
Dave

> Erlang processes crash when running the delayed_commits test on Windows Server 2008
> -----------------------------------------------------------------------------------
>
>                 Key: COUCHDB-963
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-963
>             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, 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: http://www.atlassian.com/software/jira

        

Mime
View raw message