Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 41600 invoked from network); 4 Mar 2011 10:13:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Mar 2011 10:13:02 -0000 Received: (qmail 71604 invoked by uid 500); 4 Mar 2011 10:13:01 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 71517 invoked by uid 500); 4 Mar 2011 10:13:01 -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 71504 invoked by uid 99); 4 Mar 2011 10:13:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Mar 2011 10:13:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Mar 2011 10:12:58 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5E84E4FCA4 for ; Fri, 4 Mar 2011 10:12:37 +0000 (UTC) Date: Fri, 4 Mar 2011 10:12:37 +0000 (UTC) From: "Dave Cottlehuber (JIRA)" To: dev@couchdb.apache.org Message-ID: <1987882920.13421.1299233557384.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <22425821.296481290638053487.JavaMail.jira@thor> Subject: [jira] Updated: (COUCHDB-963) Erlang processes crash when running the delayed_commits test on Windows Server 2008 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] 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: 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, 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: http://www.atlassian.com/software/jira