VPS != your laptop. C++ stuff is not the thing, because you're trying
to launch an external process out of JVM, as I can see from your
traceback. To me it smells to me like VPS configuration suffers with
incorrect swap configuration.

Check your overcommit_memory flag in the kernel. It happens as if
overcommit_memory is turned off, then Java is gonna locks its VM
memory into non-swap area. So when system is trying to spawn a process
(chmod in your case) that is not really belongs to VM, process is
gonna get launched more in swap, which in your case might be very
small one.

HTH.

P.S. Or go my way ant get an OpenSolaris instead. :-)


I have no swap on laptop at all. And overcommit_memory is "0" on laptop.

Reply via email to