In our project, I create lots of java threads to do some continuous work.
In most time these threads are sleeping so total cpu cost is low.
with 1168
threads , system overload
should low than 0.20
But then I noticed that if I create more than 1000 thread with jvm, then I will get
fork: retry: Resource temporarily unavailable
when i wanna connect vm
(I mean VM , not jvm
) by ssh
, this seem's a serious problem about system resource ..
And I'm very worried about what would happen then in my program..