incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Cottlehuber (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1357) Authentication failure after updating password in user document
Date Wed, 07 Dec 2011 13:30:39 GMT

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

Dave Cottlehuber commented on COUCHDB-1357:
-------------------------------------------

@pete the following might help. There are notes on raising # of FDs on both linux and windows
in this thread http://erlang.org/pipermail/erlang-questions/2011-October/thread.html#61859

Try updating this in couchdb.bat assuming you're not running as a service:
echo CouchDB %version% - prepare to relax...
%ERL% -sasl errlog_type error -s couch +A 4 +W w -env ERL_MAX_PORTS 100000 +P 1000000

If you're running as a service then you'll need to use erlsrv.exe http://wiki.apache.org/couchdb/Quirks_on_Windows
and http://www.erlang.org/doc/man/erlsrv.html instead.

There is also a short test file in http://erlang.org/pipermail/erlang-questions/2011-October/061895.html
to help confirm your changes were successful.

I'm not by my windows box to confirm; I'll check back later.

                
> Authentication failure after updating password in user document
> ---------------------------------------------------------------
>
>                 Key: COUCHDB-1357
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1357
>             Project: CouchDB
>          Issue Type: Bug
>    Affects Versions: 1.1.1
>            Reporter: Filipe Manana
>         Attachments: 0001-Let-the-credentials-cache-daemon-crash-if-_users-db-.patch
>
>
> From the report at the users mailing list:
> http://s.apache.org/9OG
> Seems like after updating the password in a user doc, the user is not able to login with
the new password unless Couch is restarted. Sounds like a caching issue.
> The only case of getting the cache consistent with the _users database content is if
the _users database processes crash and after the crash user documents are updated. The cache
daemon is ignoring the database crash.
> The following patch updates the daemon to monitor the _users database and crash (letting
the supervisor restart it) if the database process crashes.
> Etap test included.
> This might be related to COUCHDB-1212.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message