I believe the problem is the java code is not reclaiming threads, I am monitoring it with jconsole and the threads just keep getting created with no reclamation.
thoughts ?
Thanks
Rob
thoughts ?
Thanks
Rob
48 Remoting
2 RMI TCP Accept-0
...
Ok, I could solve the problem. The cpu load is caused by the vm itself. After further profiling I found out that epollwait caused the high cpu load due to a "bad" to garbage collection setting for the vm. -XX:CMSInitiatingOccupancyFraction was set to 50 which lead to many gc calls which in fact caused a high cpu load on epoolwait. (Why this happens I don't know - this could have many causes). Setting the value to 80 made the high cpu load disappear. I was mislead due to the fact that when I disabled memcacheclient cpu load dropped too.
Comment