how to limit the thread number?

Edward Hervey bilboed at bilboed.com
Fri Jul 25 08:08:26 PDT 2014


On Fri, 2014-07-25 at 16:59 +0800, Wang Zhenzhong wrote:
>  
> thank you very much
> I know what's your mean.
>  
> let's calc it:
> the centos of our server will be limited about 300 thread (optimized
> by ulimited and etc)

  Let's stop right there. That's ... stupid.

  on a standard fedora machine the limit is:
  cat /proc/sys/kernel/threads-max
  30522

  You are *THREE* orders of magnitude smaller.

  Change that limit please. a limit of 300 threads for a modern machine
is just stupid (unless maybe if you're running this on a i286, but then
you have other issues).

    Edward


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140725/e3e05a3f/attachment.sig>


More information about the gstreamer-devel mailing list