Hi All,

I encountered some issues caused by having too many threads for a user on
linux CentOS. Investigating this deeper, it turned out that the JVM spawn
over 31 threads per process for GC. Having about 18 Samza processes running
on the machine we soon got near to the 1000 threads limit per user.
I was thinking of running the Samza JVM with SerialGC instead of parallel
GC to avoid having so many threads in the environment. In addition,
theoretically this seems to be better fitted for situations where we prefer
throughput over latency in a single-core environments (this is roughly what
we Samza tasks is assigned with).

Before doing so, I would really appreciate you insights - did anyone
encountered this issue before? Does changing the GC to be serial is a good
solution?

Thanks,
Dotan

Reply via email to