Hi, Without complete stacktrace it's hard to say, but badmatch/function_clause commonly is about unhandled case in code. According your CouchDB version the very first advice is to upgrade it up to the latest stable release since alot of things had been fixed since 1.2.1 day. Security ones are too. -- ,,,^..^,,,
On Tue, Dec 23, 2014 at 6:37 AM, Cory Zue <[email protected]> wrote: > Hi all, > > We recently had an accident and lost our database and had to restore from a > daily backup. Since restoring, couchdb has seemed to work ok for the most > part, but has been giving strange, hard-to-reproduce errors that seem > somewhat random. I've pasted a few examples below. > > We have reason to believe that there may be other issues - possibly > hardware related - on the machine (a postgres instance running on the same > box is also giving some problems). However, I'm wondering if there is > anything that can be easily guessed about what's going on from the category > of couch errors we're seeing. Here are some sample errors: > > > [Tue, 23 Dec 2014 01:04:39 GMT] [error] [<0.29607.3>] function_clause error > in HTTP request > [Tue, 23 Dec 2014 01:04:39 GMT] [error] [<0.29567.3>] Uncaught server > error: function_clause > [Mon, 22 Dec 2014 22:06:21 GMT] [error] [<0.17340.3>] > {error_report,<0.30.0>, > > {<0.17340.3>,crash_report, > > > [[{initial_call,{couch_file,init,['Argument__1']}}, > > > {pid,<0.17340.3>}, > > > {registered_name,[]}, > {error_info, > {exit, > {{badmatch, > {ok, > > <<102,101,49,45,52,48,99,57,45,57,57,97,51,45, > > (followed by a huge string of numbers and what looks like a stack trace). > > [Tue, 23 Dec 2014 02:06:45 GMT] [error] [<0.143.0>] Compaction daemon - an > error ocurred while compacting the view group `viewname` from database > `dbname`: {{badmatch, > > {ok, > > <<98,105, > (another huge string of numbers and stack trace) > > We're running couchdb 1.2.1 in case that helps. > > any thoughts? > > thanks, > Cory
