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

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

    XMLWordPrintable

    Details

      Description

      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]
      	...
              ...
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: