Hi Everyone, We seem to be getting a crash when loading a lot of records in a short interval into CouchDB. The crash details are available at: https://gist.github.com/rajasaur/c0140776d5d8d78d0200
This has only happened under load when we are migrating a lot of mysql records into CouchDB. In the process of moving them to CouchDB, I use an adhoc query to get the results (for each record) and use the output of the query to do some calculation, which goes into the CouchDB document. I looked at some of the similar failures in the groups and it seems to be mostly related to the number of processes open, which I have not changed at all (defaulting to 256k) 1> erlang:system_info(process_limit). 262144 Im thinking of trying the following to minimize the load from a code perspective: a) Make it a named view rather than adhoc view that could then be called instead of creating an adhoc view, once for every record. b) Increasing the number of processes. Are there any other pointers that I should try? Any help would be greatly appreciated. Thanks Raja -- Raja rajasaur at gmail.com
