davideuler / gitblit

Automatically exported from code.google.com/p/gitblit
Apache License 2.0
0 stars 0 forks source link

Spawning more threads than threadpoolsize should allow #440

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Here's what I'm doing:

1. set server.threadPoolSize to a low number (15) and start the service
2. wait a day (unsure of how long it takes to build up)
3. run `ps -L -o pid= -p <the pid> | wc -l` 

I'd expect the output of ps to be less than or equal to 15, but I'm seeing 
numbers above 150. Unsure if this is a documentation problem, or an actual bug.

We're running 1.5.0 (Go). Didn't see anything in the 1.5.1 changelog that 
seemed to speak to this issue, but we'll be upgrading soon regardless.

Original issue reported on code.google.com by onelson@gmail.com on 28 May 2014 at 4:41

GoogleCodeExporter commented 9 years ago
That setting only affects the embedded Jetty container.  This may be another 
report of issue-438.

Original comment by James.Mo...@gmail.com on 28 May 2014 at 4:50

GoogleCodeExporter commented 9 years ago
Ahh. Well, that makes sense. I'd recommend a tiny edit to the comment in the 
default properties file to indicate this :) That's going to help us 
non-jvm-savvy folks out!

I guess I'll watch the space over at 438. Thanks!

Original comment by onelson@gmail.com on 28 May 2014 at 4:55

GoogleCodeExporter commented 9 years ago
Adjustment merged [1] to develop.

[1]: https://dev.gitblit.com/tickets/gitblit.git/93

Original comment by James.Mo...@gmail.com on 29 May 2014 at 9:20

GoogleCodeExporter commented 9 years ago
1.6.0 released.

Original comment by James.Mo...@gmail.com on 17 Jun 2014 at 12:24