OS Process Timed out CouchDB error and fix
July 22, 2009 1 Comment
If you come across an OS Process Timed out using a view in CouchDB, you can adjust the os_process_timeout setting in the couchdb futon utility.

[Tue, 21 Jul 2009 23:57:45 GMT] [error] [<0.2804.0>] Uncaught error in HTTP request: {exit,
{{bad_return_value,
{os_process_error,"OS process timed out."}},
{gen_server,call,
[<0.2808.0>,
{prompt,
[<<"reduce">>,
[<<"function(keys, values, rereduce) {\n return sum(values);\n }">>],
[[[[<<"0832603">>,<<"and">>],
<<"0832603">>],
1],
[[[<<"0832603">>,<<"and">>],
<<"0832603">>],
1],
[[[<<"0832603">>,<<"and">>],
<<"0832603">>],
1],
[[[<<"0832603">>,<<"and">>],
<<"0832603">>],
1],
[[[<<"0832603">>,<<"and">>],
<<"0832603">>],
1],
[[[<<"0832603">>,<<"and">>],
<<"0832603">>],
1],
[[[<<"0832603">>,<<"and">>],
<<"0832603">>],
1]]]},
infinity]}}}
Thanks to Dustin on the couchdb user mailing list for pointing this out.
*** SERVICE NAME:() 2007-08-24 15:41:06.744
*** SESSION ID:(661.1) 2007-08-24 15:41:06.744
WARNING:Oracle process running out of OS kernel I/O resources
*** 2007-08-24 15:41:23.468
error 27061 detected in background process
ORA-27061: waiting for async I/Os failed
IBM AIX RISC System/6000 Error: 22: Invalid argument