Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-6868

Default executor.max.threads may be too small for larger instances

XMLWordPrintable

      The default value of executor.max.threads is 100 which is fine for average sized instances, but probably too small for very large instances. This limit is often the first one to be hit on instances with very high (especially SSH clone) hosting workload. The value should be increased, preferably scaling with instance size.

      The logs below most likely tie back to this issue:

      atlassian-stash.log
      2015-07-12 01:03:10,900 ERROR [threadpool:thread-12]  c.a.s.i.c.StateTransferringExecutor Error while processing asynchronous task
      java.lang.IllegalStateException: Interrupted while waiting for delegate SCM request
      	at com.atlassian.stash.scm.cache.ssh.UploadPackProxy.startDelegateRequest(UploadPackProxy.java:365) ~[na:na]
      	at com.atlassian.stash.scm.cache.ssh.UploadPackProxy.streamRefs(UploadPackProxy.java:230) ~[na:na]
      	at com.atlassian.stash.scm.cache.ssh.CachingSshUploadPackRequest$RefsContentProvider$1.perform(CachingSshUploadPackRequest.java:423) ~[na:na]
      	...
              ...
      

              cszmajda Cristan Szmajda (Inactive)
              cszmajda Cristan Szmajda (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: