Tuesday, October 04, 2011

SAPlugin for JVisualVM on Ubuntu 10.10+

The Serviceability Plugin for JVisualVM would not work on Ubuntu 10.10 and up. I found the following work around wants to blog about for a reference:

Run the following for making a temporary change:

$ echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope 


Run the following for making a temporary change:

$ sudo vi /etc/sysctl.d/10-ptrace.conf

kernel.yama.ptrace_scope = 1

kernel.yama.ptrace_scope = 0

and reboot your system.

No comments: