couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Danny Thuering (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-2267) Views suddenly stopped working with os_process_error
Date Mon, 14 Jul 2014 20:32:05 GMT

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

Danny Thuering commented on COUCHDB-2267:
-----------------------------------------

We don't run auto updates. So that should not be an issue.
{code}
ldd /usr/local/bin/couchjs
/usr/local/bin/couchjs:
	libcurl.so.7 => /usr/local/lib/libcurl.so.7 (0x800820000)
	libidn.so.17 => /usr/local/lib/libidn.so.17 (0x800a80000)
	libintl.so.9 => /usr/local/lib/libintl.so.9 (0x800cb2000)
	libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x800ebc000)
	libssl.so.8 => /usr/local/lib/libssl.so.8 (0x8011b8000)
	libgssapi.so.10 => /usr/lib/libgssapi.so.10 (0x80141e000)
	libheimntlm.so.10 => /usr/lib/libheimntlm.so.10 (0x801628000)
	libkrb5.so.10 => /usr/lib/libkrb5.so.10 (0x80182d000)
	libhx509.so.10 => /usr/lib/libhx509.so.10 (0x801a9e000)
	libcom_err.so.5 => /usr/lib/libcom_err.so.5 (0x801cdf000)
	libcrypto.so.8 => /usr/local/lib/libcrypto.so.8 (0x801ee1000)
	libasn1.so.10 => /usr/lib/libasn1.so.10 (0x8022b4000)
	libroken.so.10 => /usr/lib/libroken.so.10 (0x802538000)
	libz.so.6 => /lib/libz.so.6 (0x80274a000)
	libmozjs185.so.1.0 => /usr/local/lib/libmozjs185.so.1.0 (0x80295e000)
	libm.so.5 => /lib/libm.so.5 (0x802ebd000)
	libcrypt.so.5 => /lib/libcrypt.so.5 (0x8030de000)
	libc.so.7 => /lib/libc.so.7 (0x8032fd000)
	libthr.so.3 => /lib/libthr.so.3 (0x803658000)
	libcrypto.so.6 => /lib/libcrypto.so.6 (0x80387b000)
	libplds4.so.1 => /usr/local/lib/libplds4.so.1 (0x803c23000)
	libplc4.so.1 => /usr/local/lib/libplc4.so.1 (0x803e57000)
	libnspr4.so.1 => /usr/local/lib/libnspr4.so.1 (0x80408c000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x8042c6000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x8045dc000)
{code}

We store arbitrary data scraped from the web. Adding some docs with an attachment per second.
So perhaps it is an issue with an big document/attachment as Sebastian mentioned. 
Is there a way to query document sizes? Can try to create a new view.


> 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)

Mime
View raw message