Re: Set limit on number of threads
thanks threadDump was very helpfull, it seems they are all needed :) On Mon, Aug 12, 2013 at 9:14 AM, Daniel Beck wrote: > Check out http://yourjenkins/threadDump -- the threads mostly have nice > names that explain what they're for. > > Maybe you have some success changing --handlerCountStartup if you're using > winstone (http://winstone.sourceforge.net/#commandLine) to reduce the > number of initial request handlers. > > On 12.08.2013, at 08:04, Justinas Urbanavicius > wrote: > > > Hi, > > > > I was wondering, if there is a way to limit the number of threads that > jenkins uses, at start-up i see that there are ~28 threads running > jenkins.war, and they use a lot of memory. > > Don't know why there should be a need for that much threads > > > > Platform Linux debian x64 > > Java version "1.6.0_27" > > OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1~deb7u1) > > OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) > > Jenkins v1.526 > > > > any help or info would be appreciated > > > > -- > > You received this message because you are subscribed to the Google > Groups "Jenkins Users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to jenkinsci-users+unsubscr...@googlegroups.com. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Jenkins Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jenkinsci-users/rlIEAZkBvP4/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > jenkinsci-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Justinas -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Set limit on number of threads
Hello, Under linux, each thread is not individually using the full amount of memory that shows up in ps or top. There are a significant number of shared memory pages involved, so the total memory usage isn't simply sum( RSS_thread1, RSS_thread2 ... RSS_threadN ) HTH Andrew On Mon, Aug 12, 2013 at 1:04 AM, Justinas Urbanavicius wrote: > Hi, > > I was wondering, if there is a way to limit the number of threads that > jenkins uses, at start-up i see that there are ~28 threads running > jenkins.war, and they use a lot of memory. > Don't know why there should be a need for that much threads > > Platform Linux debian x64 > Java version "1.6.0_27" > OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1~deb7u1) > OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) > Jenkins v1.526 > > any help or info would be appreciated > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > -- -- Andrew Melo -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Set limit on number of threads
Check out http://yourjenkins/threadDump -- the threads mostly have nice names that explain what they're for. Maybe you have some success changing --handlerCountStartup if you're using winstone (http://winstone.sourceforge.net/#commandLine) to reduce the number of initial request handlers. On 12.08.2013, at 08:04, Justinas Urbanavicius wrote: > Hi, > > I was wondering, if there is a way to limit the number of threads that > jenkins uses, at start-up i see that there are ~28 threads running > jenkins.war, and they use a lot of memory. > Don't know why there should be a need for that much threads > > Platform Linux debian x64 > Java version "1.6.0_27" > OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1~deb7u1) > OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) > Jenkins v1.526 > > any help or info would be appreciated > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Set limit on number of threads
Hi, I was wondering, if there is a way to limit the number of threads that jenkins uses, at start-up i see that there are ~28 threads running jenkins.war, and they use a lot of memory. Don't know why there should be a need for that much threads *Platform *Linux debian x64 *Java *version "1.6.0_27" OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1~deb7u1) OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) *Jenkins *v1.526 any help or info would be appreciated -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. <>