VMware {code} Community
vmnewbie123
Contributor
Contributor

Problem with Java threads on Linux VM

I am running a multithreaded Java Propreitary application on VMWare with 2 processors. My application is getting errored out randomly , which i debugged is because it tries to execute a program snippet before its prerequisite program snippet completes its job.

I do not get any of these errors when I run the Virtual machine with one processor.

I have stumbled upon a discussion in this community

http://communities.vmware.com/message/399924;jsessionid=6AA155B8D74D1F62BE0F1F48A73B095E

In post 3 , it is mentioned that "Try setting memory shares to 'High'. *There appears to be some

sensitivity in the Linux kernel to expecting more rapid memory timing

than some of the latency that creeps into the virtualization*. Setting

the shares to 'high' alleviates this somewhat.

There is an open SR on this and I do believe it is a high priority for

VMware to work out with the Linux Kernel folks. I do believe it needs

to be resolved at the kernel level, though."

could this be the cause of my problem ?

Is there a resolution/ workaround for this problem?

Any pointers/ tips would be highly appreciated.

Thanks in advance.

0 Kudos
0 Replies