You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/11/02 00:51:56 UTC

[GitHub] jliu1970 opened a new issue #1707: java.net.SocketTimeoutException: Read timed out

jliu1970 opened a new issue #1707: java.net.SocketTimeoutException: Read timed out
URL: https://github.com/apache/couchdb/issues/1707
 
 
   <!--- Provide a general summary of the issue in the Title above -->
   When querying a view using db.queryview api, intermittently, the api returns SocketTimeoutException: Read timed out
   ## Expected Behavior
   <!--- If you're describing a bug, tell us what should happen -->
   <!--- If you're suggesting a change/improvement, tell us how it should work -->
   In a 6 cpu/2G RAM server with ~90K documents (individual document size is small, <1k bytes),  when a view is queried, 
   the view result shall return
   ## Current Behavior
   <!--- If describing a bug, tell us what happens instead of the expected behavior -->
   <!--- If suggesting a change/improvement, explain the difference from current behavior -->
   Intermittently, the api returned SocketTimeoutException: Read timed out.
   When looked at couchdb log, we noticed a couple of logs around that time frame:
   
   1. Update index started (in some cases, for a ~90K document database, the index took more than 30 seconds)
   2. Compaction started (in some cases, compaction seems to start frequently)
   
   ## Possible Solution
   <!--- Not obligatory, but suggest a fix/reason for the bug, -->
   <!--- or ideas how to implement the addition or change -->
   
   ## Steps to Reproduce (for bugs)
   <!--- Provide a link to a live example, or an unambiguous set of steps to -->
   <!--- reproduce this bug. Include code to reproduce, if relevant -->
   1.
   2.
   3.
   4.
   
   ## Context
   <!--- How has this issue affected you? What are you trying to accomplish? -->
   <!--- Providing context helps us come up with a solution that is most useful in the real world -->
   
   ## Your Environment
   <!--- Include as many relevant details about the environment you experienced the bug in -->
   * Version used: 
   * Browser Name and version:
   * Operating System and version (desktop or mobile): coreOS
   * Link to your project:
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services