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

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

            [BSERV-6868] Default executor.max.threads may be too small for larger instances

            Conny Postma made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 122839 ]
            Owen made changes -
            Workflow Original: Stash Workflow - Restricted [ 1447512 ] New: JAC Bug Workflow v3 [ 3136259 ]
            Owen made changes -
            Workflow Original: Stash Workflow [ 784193 ] New: Stash Workflow - Restricted [ 1447512 ]
            Jeff Thomas made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 122839 ] New: This issue links to "Page (Atlassian Documentation)" [ 122839 ]
            Jeff Thomas made changes -
            Remote Link New: This issue links to "Page (Atlassian Documentation)" [ 122839 ]
            Jeff Thomas made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 115893 ] New: This issue links to "Page (Atlassian Documentation)" [ 115893 ]
            Jeff Thomas made changes -
            Remote Link New: This issue links to "Page (Atlassian Documentation)" [ 115893 ]
            Jeff Thomas made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 115525 ] New: This issue links to "Page (Atlassian Documentation)" [ 115525 ]
            Jeff Thomas made changes -
            Remote Link New: This issue links to "Page (Atlassian Documentation)" [ 115525 ]
            ThiagoBomfim (Inactive) made changes -
            Link New: This issue causes STASH-7616 [ STASH-7616 ]

              cszmajda Cristan Szmajda (Inactive)
              cszmajda Cristan Szmajda (Inactive)
              Affected customers:
              0 This affects my team
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: