I launched an IP-KVM java applet and here what I see:
$ sudo ipcs -m -p | awk '{print $3}' | sort | uniq -c | sort -n 1 1408 1 1526 1 cpid 1 Memory 2 3 1778 3 1898 3 3856 780 4339 $ ps www 4339 PID TTY STAT TIME COMMAND 4339 tty2 Sl+ 1:17 /etc/java-config-2/current-icedtea-web-vm/bin/java -Xbootclasspath/a:/usr/share/icedtea-web/netx.jar:/usr/share/icedtea-web/plugin.jar:no -classpath /opt/icedtea-bin-7.2.6.1/jre/lib/rt.jar sun.applet.PluginMain /run/user/1000/icedteaplugin-puleglot-1pHWZM/4332-icedteanp-plugin-to-appletviewer /run/user/1000/icedteaplugin-puleglot-1pHWZM/4332-icedteanp-appletviewer-to-plugin /run/user/1000/icedteaplugin-puleglot-1pHWZM/4332-icedteanp-plugin-debug-to-appletviewer
The number of shared memory segments used by this java process constantly grows:
$ sudo ipcs -m -p | awk '{print $3}' | sort | uniq -c | grep 4339 839 4339 ... $ sudo ipcs -m -p | awk '{print $3}' | sort | uniq -c | grep 4339 865 4339
The default limit for a number of shared memory segments:
$ sudo sysctl kernel.shmmni kernel.shmmni = 4096
I launched an IP-KVM java applet and here what I see:
$ sudo ipcs -m -p | awk '{print $3}' | sort | uniq -c | sort -n config- 2/current- icedtea- web-vm/ bin/java -Xbootclasspath /a:/usr/ share/icedtea- web/netx. jar:/usr/ share/icedtea- web/plugin. jar:no -classpath /opt/icedtea- bin-7.2. 6.1/jre/ lib/rt. jar sun.applet. PluginMain /run/user/ 1000/icedteaplu gin-puleglot- 1pHWZM/ 4332-icedteanp- plugin- to-appletviewer /run/user/ 1000/icedteaplu gin-puleglot- 1pHWZM/ 4332-icedteanp- appletviewer- to-plugin /run/user/ 1000/icedteaplu gin-puleglot- 1pHWZM/ 4332-icedteanp- plugin- debug-to- appletviewer
1 1408
1 1526
1 cpid
1 Memory
2
3 1778
3 1898
3 3856
780 4339
$ ps www 4339
PID TTY STAT TIME COMMAND
4339 tty2 Sl+ 1:17 /etc/java-
The number of shared memory segments used by this java process constantly grows:
$ sudo ipcs -m -p | awk '{print $3}' | sort | uniq -c | grep 4339
839 4339
...
$ sudo ipcs -m -p | awk '{print $3}' | sort | uniq -c | grep 4339
865 4339
The default limit for a number of shared memory segments:
$ sudo sysctl kernel.shmmni
kernel.shmmni = 4096