So, we recently had a client who was complaining of high CPU load on JIRA. Indeed, thread dumps are picturing the Tomcat threads hooked on CPU doing network I/O:
Took some while, but then I realized that the Tomcat connector is a bit too 'default' for the real world. The http connector on Tomcat uses the default bufferSize, which is 2k (actually depends on the underlying OS, but anyway, it is ridiculously low).
I just increased the buffer size from default to 32k and poof ! the CPU load vanished like in some biblical healing stories - I repeat myself here, I said it with some other occasion, but I like how it sounds
Now, in this particular case, I suspect the virtualization; I did however some tests on non-virtualized envs and find out that the perf is improved. Now, I don't pretend that 32k is a magical value, but shouldn't JIRA come with some nice default for the bufferSize ?
I would love to hear some opinions on this.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot