You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "nickva (via GitHub)" <gi...@apache.org> on 2023/05/22 14:32:19 UTC

[GitHub] [couchdb] nickva commented on issue #4611: Verification of View Creation Fails

nickva commented on issue #4611:
URL: https://github.com/apache/couchdb/issues/4611#issuecomment-1557329524

   The error indicates the JS engine request is timing out after 5 seconds during document updates. Your database probably has some design documents with [VDUs](https://docs.couchdb.org/en/stable/ddocs/ddocs.html#validate-document-update-functions). 
   
   If you have large documents you could try increasing that timeout:
    ```
   [couchdb] os_process_timeout = 5000
   ```
   Make it 15000 (15 sec), for instance.
   
   If you're doing a lot of  concurrent updates, you may want to increase your JS engine limit to something higher than the default 100:
   ```
   [query_server_config]
   os_process_limit = 100
   ```
   
   Make it 250 and see if it help. 
   
   There is also a good chance that your VDU JS code is crashing or has a loop that's running too long or something like that. Look in the log to see if you notice any stack traces or exceptions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org