[
https://issues.apache.org/jira/browse/COUCHDB-2267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14061113#comment-14061113
]
Danny Thuering commented on COUCHDB-2267:
-----------------------------------------
Could not find anything in logs. There should be plenty of RAM left:
{code}
last pid: 90669; load averages: 1.96, 1.59, 1.99
up
92+19:40:07 19:41:31
103 processes: 1 running, 102 sleeping
CPU: 1.9% user, 0.0% nice, 0.8% system, 0.5% interrupt, 96.8% idle
Mem: 16G Active, 39G Inact, 3919M Wired, 1945M Cache, 1698M Buf, 1238M Free
Swap: 64G Total, 188M Used, 64G Free
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
96664 couchdb 21 20 0 269M 81872K uwait 1 17:31 3.27% beam.smp
96668 couchdb 1 20 0 3816K 1332K select 0 0:00 0.00% heart
96669 couchdb 1 20 0 14536K 1876K piperd 0 0:00 0.00% sh
96645 couchdb 1 52 0 14536K 1976K wait 0 0:00 0.00% sh
{code}
Installed through freebsd ports system. Should be 64bit but I have to check.
Will also try to monitor the processes.
> Views suddenly stopped working with os_process_error
> -----------------------------------------------------
>
> Key: COUCHDB-2267
> URL: https://issues.apache.org/jira/browse/COUCHDB-2267
> Project: CouchDB
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Database Core
> Reporter: Danny Thuering
>
> Hi,
> we use CouchDb for one of our projects and it worked very well till today.
> Logfile shows:
> {code}
> [Mon, 14 Jul 2014 19:21:32 GMT] [info] [<0.19826.0>] 62.203.116.116 - - GET
> /_config/native_query_servers/ 200
> [error] [<0.19843.0>] OS Process Error <0.19845.0> :: {os_process_error,
> {exit_status,1}}
> [Mon, 14 Jul 2014 19:21:32 GMT] [error] [<0.19843.0>] OS Process Error
> <0.19845.0> :: {os_process_error,
> {exit_status,1}}
> [error] [emulator] Error in process <0.19843.0> with exit value:
> {{nocatch,{os_process_error,{exit_status,1}}},[{couch_os_process,prompt,2,[{file,"couch_os_process.erl"},{line,57}]},{couch_query_servers,map_doc_raw,2,[{file,"couch_query_servers.erl"},{line,88}]},{couch_mrview_updater,'-map_docs/2-fun-0-'...
> [Mon, 14 Jul 2014 19:21:32 GMT] [error] [emulator] Error in process
> <0.19843.0> with exit value:
> {{nocatch,{os_process_error,{exit_status,1}}},[{couch_os_process,prompt,2,[{file,"couch_os_process.erl"},{line,57}]},{couch_query_servers,map_doc_raw,2,[{file,"couch_query_servers.erl"},{line,88}]},{couch_mrview_updater,'-map_docs/2-fun-0-'...
> =ERROR REPORT==== 14-Jul-2014::19:21:32 ===
> Error in process <0.19843.0> with exit value:
> {{nocatch,{os_process_error,{exit_status,1}}},[{couch_os_process,prompt,2,[{file,"couch_os_process.erl"},{line,57}]},{couch_query_servers,map_doc_raw,2,[{file,"couch_query_servers.erl"},{line,88}]},{couch_mrview_updater,'-map_docs/2-fun-0-'...
> [info] [<0.19822.0>] 62.203.116.116 - - GET
> /adsnooper/_design/unify/_view/empties?limit=11&reduce=false 500
> [Mon, 14 Jul 2014 19:21:32 GMT] [info] [<0.19822.0>] 62.203.116.116 - - GET
> /adsnooper/_design/unify/_view/empties?limit=11&reduce=false 500
> [error] [<0.19822.0>] httpd 500 error response:
> {"error":"os_process_error","reason":"{exit_status,1}"}
> [Mon, 14 Jul 2014 19:21:32 GMT] [error] [<0.19822.0>] httpd 500 error
> response:
> {"error":"os_process_error","reason":"{exit_status,1}"}
> {code}
> Tried to increase the stack memory to 1GB but this did not help.
> We are running 1.5.0 on FreeBSD 9.2. Database is 210GB with 3.5M documents.
--
This message was sent by Atlassian JIRA
(v6.2#6252)