title: Connection pool timeout in cloudant ( via ektorp)
body: <p>I am using cloudant and ektorp for DB operations in my java application. When I try to do a load test for 100 users (concurrent hits), it throws </p>
  
  <pre><code>Caused by: org.ektorp.DbAccessException: org.apache.http.conn.ConnectionPoolTimeoutException: Timeout waiting for connection
          at org.ektorp.util.Exceptions.propagate(Exceptions.java:19)
          at org.ektorp.http.StdHttpClient.executeRequest(StdHttpClient.java:146)
  </code></pre>
  
  <p>Following is my couchdb.properties file</p>
  
  <pre><code>url=https://myaccount.cloudant.com:443
  host=https://myaccount.cloudant.com
  port=443
  username=myusername
  password=mypassword
  relaxedSSLSettings=true
  enableSSL=true
  maxConnections=100
  connectionTimeout=3000
  socketTimeout=30000
  autoUpdateViewOnChange=true
  cleanupIdleConnections=true
  </code></pre>
  
  <p>I am using the following code for creating connector</p>
  
  <pre><code>CouchDbConnector dbConnector = couchdbInstance.createConnector(
                      xxxx,true);
  dbConnector.queryView(query,test.class);
  </code></pre>
  
  <p>Please help me understand why I get connection timeout and what param i might need to change inorder to fix this</p>