Most of the time I can not exit from RM I need to kill it.

Hi

I am running Ubuntu Linux 8.10
     Linux charles-laptop 2.6.28-12-server #43-Ubuntu SMP Fri May 1 20:28:32 UTC 2009 i686

I am on build rubymine952

  502  ./rubymine.sh   # I start up RM
                # I do a file / exit then RM asks if I am sure and I click yes. 
               # Some times it exits cleanly.
               # Most of the time I am left with a couple of greyed out window frames which hang on forever.
               ....

               # So I used the 'Force Quite Button' on the Ubuntu menu bar
               # When this doesn't work I shut off the computer or do the following
  503  jobs          
  504  fg
  505  kill %1
  506  jobs
  507  kill $1
  508  kill %1
  509  jobs
  510  kill %1
  511  ps alxww|grep rubymine
  512  kill 28489
  513  ps alxww
  514  jobs
  515  ps alxww|grep rubymine
  516  ps alxww|grep java
  517  kill 18089
  518  ps alxww|grep java
  519  kill -9 18089
  520  ps alxww|grep java
  521  kill -9 22287
  522  ps alxww|grep java
  523  kill -9 23576
  524  ps alxww|grep java
  525  jobs






Here are the details.   I don't think you need them, but just in case I am including them.



progex@charles-laptop:~/Desktop/rubymine952/bin$ ./rubymine.sh
/usr/share/themes/Shiki-Brave/gtk-2.0/gtkrc:289: Murrine configuration option "highlight_ratio" will be deprecated in future releases. Please use "highlight_shade" instead.
/usr/share/themes/Shiki-Brave/gtk-2.0/gtkrc:381: Murrine configuration option "highlight_ratio" will be deprecated in future releases. Please use "highlight_shade" instead.




  C-c C-c  C-c C-c  C-c C-c  C-c C-c  <menu-bar> <signals> <stop>
[1]+  Stopped                 ./rubymine.sh
progex@charles-laptop:~/Desktop/rubymine952/bin$ jobs
[1]+  Stopped                 ./rubymine.sh
progex@charles-laptop:~/Desktop/rubymine952/bin$ fg
./rubymine.sh
  C-c C-c
  <menu-bar> <signals> <stop>
[1]+  Stopped                 ./rubymine.sh
progex@charles-laptop:~/Desktop/rubymine952/bin$ kill %1

[1]+  Stopped                 ./rubymine.sh
progex@charles-laptop:~/Desktop/rubymine952/bin$ jobs
[1]+  Running                 ./rubymine.sh &
progex@charles-laptop:~/Desktop/rubymine952/bin$ jobs
[1]+  Running                 ./rubymine.sh &
progex@charles-laptop:~/Desktop/rubymine952/bin$ kill $1
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
progex@charles-laptop:~/Desktop/rubymine952/bin$ kill %1
progex@charles-laptop:~/Desktop/rubymine952/bin$ jobs
[1]+  Running                 ./rubymine.sh &
progex@charles-laptop:~/Desktop/rubymine952/bin$ kill %1
progex@charles-laptop:~/Desktop/rubymine952/bin$ ps alxww|grep rubymine
0  1000 28489 23539  20   0   3336   804 pipe_w S+   pts/3      0:00 grep rubymine
progex@charles-laptop:~/Desktop/rubymine952/bin$ kill 28489
bash: kill: (28489) - No such process
progex@charles-laptop:~/Desktop/rubymine952/bin$ ps alxww
F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
4     0     1     0  20   0   3084   544 select Ss   ?          0:01 /sbin/init
5     0     2     0  15  -5      0     0 kthrea S<   ?          0:00 [kthreadd]
1     0     3     2 -100  -      0     0 migrat S<   ?          0:00 [migration/0]
1     0     4     2  15  -5      0     0 ksofti S<   ?          0:07 [ksoftirqd/0]
5     0     5     2 -100  -      0     0 watchd S<   ?          0:00 [watchdog/0]
1     0     9     2  15  -5      0     0 worker S<   ?          0:00 [events/0]
1     0    11     2  15  -5      0     0 worker S<   ?          0:00 [khelper]
1     0    12     2 -100  -      0     0 worker S<   ?          0:00 [kstop/0]
1     0    14     2  15  -5      0     0 worker S<   ?          0:00 [kintegrityd/0]
1     0    16     2  15  -5      0     0 worker S<   ?          0:00 [kblockd/0]
1     0    18     2  15  -5      0     0 worker S<   ?          0:00 [kacpid]
1     0    19     2  15  -5      0     0 worker S<   ?          0:00 [kacpi_notify]
1     0    20     2  15  -5      0     0 worker S<   ?          0:00 [cqueue]
1     0    21     2  15  -5      0     0 worker S<   ?          0:00 [ata/0]
1     0    23     2  15  -5      0     0 worker S<   ?          0:00 [ata_aux]
1     0    24     2  15  -5      0     0 worker S<   ?          0:00 [ksuspend_usbd]
1     0    25     2  15  -5      0     0 hub_th S<   ?          0:00 [khubd]
1     0    26     2  15  -5      0     0 serio_ S<   ?          0:00 [kseriod]
1     0    27     2  15  -5      0     0 worker S<   ?          0:00 [kmmcd]
1     0    28     2  15  -5      0     0 worker S<   ?          0:00 [btaddconn]
1     0    29     2  15  -5      0     0 worker S<   ?          0:00 [btdelconn]
1     0    32     2  15  -5      0     0 kswapd S<   ?          0:06 [kswapd0]
1     0    33     2  15  -5      0     0 worker S<   ?          0:00 [aio/0]
1     0    35     2  15  -5      0     0 ecrypt S<   ?          0:00 [ecryptfs-kthrea]
1     0    38     2  15  -5      0     0 worker S<   ?          0:00 [pciehpd]
1     0    39     2  15  -5      0     0 scsi_e S<   ?          0:00 [scsi_eh_0]
1     0    40     2  15  -5      0     0 scsi_e S<   ?          0:04 [scsi_eh_1]
1     0    41     2  15  -5      0     0 scsi_e S<   ?          0:00 [scsi_eh_2]
1     0    42     2  15  -5      0     0 scsi_e S<   ?          0:00 [scsi_eh_3]
1     0    43     2  15  -5      0     0 scsi_e S<   ?          0:00 [scsi_eh_4]
1     0    44     2  15  -5      0     0 scsi_e S<   ?          0:00 [scsi_eh_5]
1     0    45     2  15  -5      0     0 worker S<   ?          0:00 [kstriped]
1     0    46     2  15  -5      0     0 worker S<   ?          0:00 [kmpathd/0]
1     0    48     2  15  -5      0     0 worker S<   ?          0:00 [kmpath_handlerd]
1     0    49     2  15  -5      0     0 worker S<   ?          0:00 [ksnapd]
1     0    50     2  15  -5      0     0 -      R<   ?          0:00 [kondemand/0]
5     0    52     2  10 -10      0     0 rfcomm S<   ?          0:00 [krfcommd]
1     0   228     2  15  -5      0     0 scsi_e S<   ?          0:00 [scsi_eh_6]
1     0   231     2  15  -5      0     0 usb_st S<   ?          0:00 [usb-storage]
1     0   780     2  15  -5      0     0 kjourn S<   ?          0:03 [kjournald]
5     0   894     1  16  -4   2356   372 poll   S<s  ?          0:00 /sbin/udevd --daemon
1     0  1570     2  15  -5      0     0 worker S<   ?          0:00 [kpsmoused]
1     0  1649     2  15  -5      0     0 worker S<   ?          0:07 [ath5k_pci]
0     0  2272     1  20   0   1808   440 n_tty_ Ss+  tty4       0:00 /sbin/getty 38400 tty4
0     0  2273     1  20   0   1808   440 n_tty_ Ss+  tty5       0:00 /sbin/getty 38400 tty5
0     0  2279     1  20   0   1808   440 n_tty_ Ss+  tty2       0:00 /sbin/getty 38400 tty2
0     0  2280     1  20   0   1808   436 n_tty_ Ss+  tty3       0:00 /sbin/getty 38400 tty3
0     0  2281     1  20   0   1808   440 n_tty_ Ss+  tty6       0:00 /sbin/getty 38400 tty6
1     0  2347     1  20   0   2336  1180 poll   Ss   ?          0:00 /usr/sbin/acpid -c /etc/acpi/events -s /var/run/acpid.socket
5   101  2393     1  20   0   2040   620 select Ss   ?          0:00 /sbin/syslogd -u syslog
4     0  2414     1  20   0   1968   436 syslog S    ?          0:00 /bin/dd bs 1 if /proc/kmsg of /var/run/klogd/kmsg
1   102  2416     1  20   0   3728   488 pipe_w Ss   ?          0:00 /sbin/klogd -P /var/run/klogd/kmsg
5   108  2437     1  20   0   3168  1268 poll   Ss   ?          1:27 /bin/dbus-daemon --system
0     0  2492     1  20   0   1872   412 wait   S    ?          0:00 /bin/sh /usr/bin/mysqld_safe
4   112  2534  2492  20   0 128388  6468 select Sl   ?          0:12 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
0     0  2536  2492  20   0   1792   488 pipe_w S    ?          0:00 logger -p daemon.err -t mysqld_safe -i -t mysqld
5     0  2667     1  20   0   2140   440 poll   Ss   ?          0:00 /usr/bin/vmnet-bridge -s 6 -d /var/run/vmnet-bridge-0.pid -n 0
1     0  3208     1  20   0   2652   168 select Ss   ?          0:00 /usr/bin/vmnet-dhcpd -s 6 -cf /etc/vmware/vmnet1/dhcpd/dhcpd.conf -lf /etc/vmware/vmnet1/dhcpd/dhcpd.leases -pf /var/run/vmnet-dhcpd-vmnet1.pid vmnet1
1     0  3214     1  20   0   2116   192 pause  Ss   ?          0:00 /usr/bin/vmnet-netifup -s 6 -d /var/run/vmnet-netifup-vmnet1.pid /dev/vmnet1 vmnet1
1     0  3218     1  20   0   2652   168 select Ss   ?          0:00 /usr/bin/vmnet-dhcpd -s 6 -cf /etc/vmware/vmnet8/dhcpd/dhcpd.conf -lf /etc/vmware/vmnet8/dhcpd/dhcpd.leases -pf /var/run/vmnet-dhcpd-vmnet8.pid vmnet8
5     0  3220     1  20   0   2600   460 poll   Ss   ?          0:00 /usr/bin/vmnet-natd -s 6 -d /var/run/vmnet-natd-8.pid -m /var/run/vmnet-natd-8.mac -c /etc/vmware/vmnet8/nat/nat.conf
1     0  3226     1  20   0   2116   192 pause  Ss   ?          0:00 /usr/bin/vmnet-netifup -s 6 -d /var/run/vmnet-netifup-vmnet8.pid /dev/vmnet8 vmnet8
5     0  3278     1  20   0   2000   480 select Ss   ?          0:00 /usr/sbin/inetd
5     0  3376     1  20   0  20240  4188 poll   S    ?          2:25 python /usr/share/wicd/wicd-daemon.py
1     0  3396     1  20   0  10620   672 select Ss   ?          0:00 /usr/sbin/winbindd
1     0  3417  3396  20   0  10620   572 select S    ?          0:00 /usr/sbin/winbindd
5   111  3418     1  20   0   6688  2496 poll   Ss   ?          0:06 /usr/sbin/hald
5     0  3421     1  20   0  17508  2396 poll   Ssl  ?          0:00 /usr/sbin/console-kit-daemon
0     0  3484  3418  20   0   3328  1044 poll   S    ?          0:00 hald-runner
0     0  3515  3484  20   0   5176  1100 poll   S    ?          0:03 hald-addon-input: Listening on /dev/input/event7 /dev/input/event2 /dev/input/event0 /dev/input/event6 /dev/input/event1 /dev/input/event4
0     0  3538  3484  20   0   5172   980 poll   S    ?          0:00 /usr/lib/hal/hald-addon-generic-backlight
4     0  3558  3484  20   0   5180  1056 poll   S    ?          0:01 hald-addon-storage: polling /dev/sdb (every 2 sec)
0     0  3561  3484  20   0   5180  1060 poll   S    ?          0:03 hald-addon-storage: polling /dev/sr0 (every 2 sec)
0     0  3564  3484  20   0   5188   940 poll   S    ?          0:00 /usr/lib/hal/hald-addon-cpufreq
4   111  3565  3484  20   0   5032   996 unix_s S    ?          0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
5     0  3583     1  20   0   3556   988 poll   Ss   ?          0:00 /usr/sbin/bluetoothd
1     0  3619     1  20   0  15028   860 poll   Ss   ?          0:00 /usr/sbin/gdm
5     0  3633  3619  20   0  16196  1816 select S    ?          0:00 /usr/sbin/gdm
5   110  3641     1  20   0   3076  1320 poll   Ss   ?          0:00 avahi-daemon: running [charles-laptop.local]
1   110  3642  3641  20   0   2944   256 unix_s Ss   ?          0:00 avahi-daemon: chroot helper
4     0  3644  3633  20   0 407768 252840 -     Rs+  tty7     114:26 /usr/X11R6/bin/X -br -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7
5     0  3668     1  20   0   6232  2060 ep_pol Ss   ?          0:00 /usr/sbin/cupsd
1     0  3698     1  20   0   4324   832 poll   Ss   ?          0:00 /usr/bin/system-tools-backends
1     1  3773     1  20   0   2096   328 hrtime Ss   ?          0:00 /usr/sbin/atd
1     0  3801     1  20   0   3480   740 hrtime Ss   ?          0:00 /usr/sbin/cron
1     0  3841     1  20   0  13476   576 select Ss   ?          0:01 /usr/sbin/apache2 -k start
5    33  3843  3841  20   0  13380   376 skb_re S    ?          0:00 /usr/sbin/apache2 -k start
5    33  3847  3841  20   0 234828   828 pipe_w Sl   ?          0:00 /usr/sbin/apache2 -k start
5    33  3850  3841  20   0 234828   832 pipe_w Sl   ?          0:00 /usr/sbin/apache2 -k start
0     0  3993     1  20   0   1808   440 n_tty_ Ss+  tty1       0:00 /sbin/getty 38400 tty1
0     0  4031     1  20   0  10960  3016 poll   S    ?          0:46 python /usr/share/wicd/monitor.py
1  1000  4082     1  20   0  25804  3000 poll   S    ?          0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
4  1000  4095  3633  20   0  27852  5444 poll   Ssl  ?          0:00 x-session-manager
1  1000  4150  4095  20   0   4784   300 select Ss   ?          0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session /usr/bin/seahorse-agent --execute x-session-manager
1  1000  4153     1  20   0   3144   484 select S    ?          0:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/seahorse-agent --execute x-session-manager
1  1000  4154     1  20   0   3200  1244 poll   Ss   ?          0:03 //bin/dbus-daemon --fork --print-pid 6 --print-address 9 --session
1  1000  4162  4095  20   0  20496  4868 poll   Ss   ?          0:00 /usr/bin/seahorse-agent --execute x-session-manager
0  1000  4165     1  20   0   7684  3728 poll   S    ?          0:05 /usr/lib/libgconf2-4/gconfd-2
0  1000  4176     1  20   0  15100  3988 poll   S    ?          1:02 /usr/lib/at-spi/at-spi-registryd
1  1000  4177     1  20   0  31548  6384 poll   Ssl  ?          0:11 /usr/lib/gnome-settings-daemon/gnome-settings-daemon
0  1000  4179     1  20   0  41748  2496 poll   Ssl  ?          0:00 /usr/lib/bonobo-activation/bonobo-activation-server --ac-activate --ior-output-fd=12
0  1000  4182     1  20   0   6012  1896 poll   S    ?          0:00 /usr/lib/gvfs/gvfsd
1  1000  4191     1  20   0  29584  1628 futex_ Ssl  ?          0:00 /usr/lib/gvfs//gvfs-fuse-daemon /home/progex/.gvfs
0  1000  4200  4095  20   0   1872   412 wait   S    ?          0:00 /bin/sh /usr/bin/compiz
0  1000  4255  4200  20   0  30380  9256 select S    ?          3:42 /usr/bin/compiz.real --ignore-desktop-hints --replace --indirect-rendering --sm-client-id 10ad313db6ab4508bf124420395210265700000040950036 core ccp
0  1000  4256  4095  20   0 106536 21740 poll   Sl   ?          1:19 gnome-panel
0  1000  4260  4255  20   0   1872   384 wait   Ss   ?          0:00 /bin/sh -c gtk-window-decorator --replace
0  1000  4261  4260  20   0  23352 10212 poll   S    ?          0:17 gtk-window-decorator --replace
0  1000  4262  4095  20   0 129904 18392 poll   S    ?          0:17 nautilus
0  1000  4268  4095  20   0  18368  5540 poll   S    ?          0:00 bluetooth-applet
0  1000  4269  4095  20   0  33660 11648 poll   S    ?          0:30 python /usr/share/wicd/wicd-client.py
0  1000  4275  4095  20   0  29620  6816 poll   S    ?          0:00 python /usr/share/system-config-printer/applet.py
0  1000  4277  4095  20   0  85096 18224 poll   S    ?          0:15 python -u /usr/share/screenlets/ClearWeather/ClearWeatherScreenlet.py
0  1000  4280  4095  20   0  35616  7748 poll   S    ?          0:00 python /usr/share/screenlets-manager/screenlets-daemon.py
0  1000  4286  4095  20   0  47100  8164 poll   S    ?          0:01 update-notifier --startup-delay=60
1  1000  4292     1  20   0  92672 16296 poll   Ssl  ?          0:05 gnome-power-manager
1  1000  4297     1  20   0  94644  3720 poll   Ssl  ?          0:20 /usr/bin/pulseaudio --start --log-target=syslog
0  1000  4299  4297  20   0   7844  1596 poll   S    ?          0:00 /usr/lib/pulseaudio/pulse/gconf-helper
0  1000  4304     1  20   0 100696 21624 poll   Sl   ?          1:01 python /usr/lib/timer-applet/timer-applet --oaf-activate-iid=OAFIID:TimerApplet_Factory --oaf-ior-fd=20
0  1000  4306     1  20   0  74468  9620 poll   Sl   ?          0:01 /usr/lib/gnome-applets/mixer_applet2 --oaf-activate-iid=OAFIID:GNOME_MixerApplet_Factory --oaf-ior-fd=23
0  1000  4308     1  20   0   5940  2132 poll   S    ?          0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.7 /org/gtk/gvfs/exec_spaw/0
0  1000  4313     1  20   0  42356  6988 poll   S    ?          0:00 /usr/lib/indicator-applet/indicator-applet --oaf-activate-iid=OAFIID:GNOME_IndicatorApplet_Factory --oaf-ior-fd=24
0  1000  4394     1  20   0   8004  2400 poll   S    ?          0:00 /usr/lib/gvfs/gvfs-hal-volume-monitor
0  1000  4396     1  20   0   8188  1780 poll   S    ?          0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
0  1000  4403     1  20   0   5616  1536 poll   S    ?          0:00 /usr/lib/gvfs/gvfsd-burn --spawner :1.7 /org/gtk/gvfs/exec_spaw/1
1  1000  4435     1  20   0  19020  5988 poll   Ss   ?          1:08 gnome-screensaver
0  1000  4501     1  20   0  52744 11240 poll   S    ?          0:01 /usr/bin/python /usr/bin/fusion-icon --no-start
0  1000  5648     1  20   0   1872   396 wait   S    ?          0:00 /bin/sh /usr/bin/gnome-do
0  1000  5654  5648  20   0  89012 22236 poll   Sl   ?          0:36 /usr/bin/cli /usr/lib/gnome-do/Do.exe
0  1000 12512     1  20   0 540464 295480 poll  Sl   ?         77:40 /usr/lib/firefox-3.0.10/firefox
1     0 12811     2  20   0      0     0 pdflus S    ?          0:00 [pdflush]
1     0 12865     2  20   0      0     0 pdflus S    ?          0:05 [pdflush]
0  1000 16856     1  20   0  41844 14048 poll   S    ?          0:12 /usr/lib/notify-osd/notify-osd
0  1000 18089     1  20   0 964708 378044 futex_ Sl  ?          8:19 /usr/lib/jvm/java-6-sun/bin/java -Xms32m -Xmx512m -XX:MaxPermSize=150m -ea -Xbootclasspath/a:../lib/boot.jar -Didea.platform.prefix=Ruby -Didea.plugins.compatible.build=9900 -Didea.no.jre.check=true com.intellij.idea.Main
0  1000 22287     1  20   0 986796 524404 futex_ Sl  ?         44:03 /usr/lib/jvm/java-6-sun/bin/java -Xms32m -Xmx512m -XX:MaxPermSize=150m -ea -Xbootclasspath/a:../lib/boot.jar -Didea.platform.prefix=Ruby -Didea.plugins.compatible.build=9900 -Didea.no.jre.check=true com.intellij.idea.Main
1     0 22403     2 -100  -      0     0 migrat S<   ?          0:00 [migration/1]
1     0 22404     2  15  -5      0     0 ksofti S<   ?          0:01 [ksoftirqd/1]
5     0 22405     2 -100  -      0     0 watchd S<   ?          0:00 [watchdog/1]
1     0 22406     2  15  -5      0     0 worker S<   ?          0:00 [kondemand/1]
1     0 22407     2  15  -5      0     0 worker S<   ?          0:00 [kmpathd/1]
1     0 22408     2  15  -5      0     0 worker S<   ?          0:00 [aio/1]
1     0 22409     2  15  -5      0     0 worker S<   ?          0:00 [ata/1]
1     0 22410     2  15  -5      0     0 worker S<   ?          0:00 [kblockd/1]
1     0 22411     2  15  -5      0     0 worker S<   ?          0:00 [kintegrityd/1]
1     0 22412     2 -100  -      0     0 worker S<   ?          0:00 [kstop/1]
1     0 22413     2  15  -5      0     0 worker S<   ?          0:00 [events/1]
1     0 22955     1  20   0   2276   508 select Ss   ?          0:00 /sbin/dhclient wlan0
0  1000 23343     1  20   0  38828 24960 -      R    ?          0:08 emacs-snapshot
0  1000 23358 23343  20   0   6700  3804 n_tty_ Ss+  pts/0      0:00 /bin/bash --noediting -i
0  1000 23364 23343  20   0   6700  3812 n_tty_ Ss+  pts/1      0:00 /bin/bash --noediting -i
0  1000 23370 23343  20   0   6700  3808 n_tty_ Ss+  pts/2      0:00 /bin/bash --noediting -i
0  1000 23539 23343  20   0   6700  3840 wait   Ss   pts/3      0:00 /bin/bash --noediting -i
0  1000 23576 23539  20   0 943720 394708 futex_ Sl  pts/3      5:57 /usr/lib/jvm/java-6-sun/bin/java -Xms32m -Xmx512m -XX:MaxPermSize=150m -ea -Xbootclasspath/a:../lib/boot.jar -Didea.platform.prefix=Ruby -Didea.plugins.compatible.build=9900 -Didea.no.jre.check=true com.intellij.idea.Main
0  1000 24154     1  20   0   1872   552 wait   S    ?          0:00 /bin/sh /usr/bin/thunderbird
0  1000 24166 24154  20   0   1872   552 wait   S    ?          0:00 /bin/sh /usr/lib/thunderbird/run-mozilla.sh /usr/lib/thunderbird/thunderbird-bin
0  1000 24170 24166  20   0 201316 87732 poll   Sl   ?          0:56 /usr/lib/thunderbird/thunderbird-bin
0  1000 25217     1  20   0   1872   512 wait   S    ?          0:00 /bin/sh /usr/bin/miro
0  1000 25218 25217  20   0 444988 164096 poll  Sl   ?          1:40 /usr/bin/python /usr/bin/miro.real
0  1000 25261 25218  20   0  79388 13512 futex_ Sl   ?          0:01 /usr/bin/python /var/lib/python-support/python2.6/miro/dl_daemon/Democracy_Downloader.py
0  1000 27853     1  20   0  46140  7548 poll   Sl   ?          0:00 /usr/lib/evolution/evolution-data-server-2.26 --oaf-activate-iid=OAFIID:GNOME_Evolution_DataServer_CalFactory:1.2 --oaf-ior-fd=21
0  1000 28508 23539  20   0   2540   836 -      R+   pts/3      0:00 ps alxww
progex@charles-laptop:~/Desktop/rubymine952/bin$ jobs
[1]+  Running                 ./rubymine.sh &
progex@charles-laptop:~/Desktop/rubymine952/bin$ ps alxww|grep rubymine
0  1000 28544 23539  20   0   3336   804 pipe_w S+   pts/3      0:00 grep rubymine
progex@charles-laptop:~/Desktop/rubymine952/bin$ ps alxww|grep java
0  1000 18089     1  20   0 964708 378044 futex_ Sl  ?          8:19 /usr/lib/jvm/java-6-sun/bin/java -Xms32m -Xmx512m -XX:MaxPermSize=150m -ea -Xbootclasspath/a:../lib/boot.jar -Didea.platform.prefix=Ruby -Didea.plugins.compatible.build=9900 -Didea.no.jre.check=true com.intellij.idea.Main
0  1000 22287     1  20   0 986796 524404 futex_ Sl  ?         44:03 /usr/lib/jvm/java-6-sun/bin/java -Xms32m -Xmx512m -XX:MaxPermSize=150m -ea -Xbootclasspath/a:../lib/boot.jar -Didea.platform.prefix=Ruby -Didea.plugins.compatible.build=9900 -Didea.no.jre.check=true com.intellij.idea.Main
0  1000 23576 23539  20   0 943720 394708 futex_ Sl  pts/3      5:57 /usr/lib/jvm/java-6-sun/bin/java -Xms32m -Xmx512m -XX:MaxPermSize=150m -ea -Xbootclasspath/a:../lib/boot.jar -Didea.platform.prefix=Ruby -Didea.plugins.compatible.build=9900 -Didea.no.jre.check=true com.intellij.idea.Main
0  1000 28549 23539  20   0   3340   812 pipe_w S+   pts/3      0:00 grep java
progex@charles-laptop:~/Desktop/rubymine952/bin$ kill 18089
progex@charles-laptop:~/Desktop/rubymine952/bin$ ps alxww|grep java
0  1000 18089     1  20   0 964708 378044 futex_ Sl  ?          8:19 /usr/lib/jvm/java-6-sun/bin/java -Xms32m -Xmx512m -XX:MaxPermSize=150m -ea -Xbootclasspath/a:../lib/boot.jar -Didea.platform.prefix=Ruby -Didea.plugins.compatible.build=9900 -Didea.no.jre.check=true com.intellij.idea.Main
0  1000 22287     1  20   0 986796 524404 futex_ Sl  ?         44:03 /usr/lib/jvm/java-6-sun/bin/java -Xms32m -Xmx512m -XX:MaxPermSize=150m -ea -Xbootclasspath/a:../lib/boot.jar -Didea.platform.prefix=Ruby -Didea.plugins.compatible.build=9900 -Didea.no.jre.check=true com.intellij.idea.Main
0  1000 23576 23539  20   0 943720 394708 futex_ Sl  pts/3      5:57 /usr/lib/jvm/java-6-sun/bin/java -Xms32m -Xmx512m -XX:MaxPermSize=150m -ea -Xbootclasspath/a:../lib/boot.jar -Didea.platform.prefix=Ruby -Didea.plugins.compatible.build=9900 -Didea.no.jre.check=true com.intellij.idea.Main
0  1000 28569 23539  20   0   3340   812 pipe_w S+   pts/3      0:00 grep java
progex@charles-laptop:~/Desktop/rubymine952/bin$ kill -9 18089
progex@charles-laptop:~/Desktop/rubymine952/bin$ ps alxww|grep java
0  1000 22287     1  20   0 986796 524404 futex_ Sl  ?         44:03 /usr/lib/jvm/java-6-sun/bin/java -Xms32m -Xmx512m -XX:MaxPermSize=150m -ea -Xbootclasspath/a:../lib/boot.jar -Didea.platform.prefix=Ruby -Didea.plugins.compatible.build=9900 -Didea.no.jre.check=true com.intellij.idea.Main
0  1000 23576 23539  20   0 943720 394708 futex_ Sl  pts/3      5:57 /usr/lib/jvm/java-6-sun/bin/java -Xms32m -Xmx512m -XX:MaxPermSize=150m -ea -Xbootclasspath/a:../lib/boot.jar -Didea.platform.prefix=Ruby -Didea.plugins.compatible.build=9900 -Didea.no.jre.check=true com.intellij.idea.Main
0  1000 28591 23539  20   0   3340   812 pipe_w S+   pts/3      0:00 grep java
progex@charles-laptop:~/Desktop/rubymine952/bin$ kill -9 22287
progex@charles-laptop:~/Desktop/rubymine952/bin$ ps alxww|grep java
0  1000 23576 23539  20   0 943720 394708 futex_ Sl  pts/3      5:57 /usr/lib/jvm/java-6-sun/bin/java -Xms32m -Xmx512m -XX:MaxPermSize=150m -ea -Xbootclasspath/a:../lib/boot.jar -Didea.platform.prefix=Ruby -Didea.plugins.compatible.build=9900 -Didea.no.jre.check=true com.intellij.idea.Main
0  1000 28608 23539  20   0   3340   812 pipe_w S+   pts/3      0:00 grep java
progex@charles-laptop:~/Desktop/rubymine952/bin$ kill -9 23576
progex@charles-laptop:~/Desktop/rubymine952/bin$ ps alxww|grep java
0  1000 28619 23539  20   0   3336   804 pipe_w S+   pts/3      0:00 grep java
[1]+  Killed                  ./rubymine.sh
progex@charles-laptop:~/Desktop/rubymine952/bin$ jobs
progex@charles-laptop:~/Desktop/rubymine952/bin$

3 comments
Comment actions Permalink

Hello Charles,

               # Most of the time I am left with a couple of greyed out window frames which hang on forever.

If RubyMine hangs please take a thread dump. For this invoke command 'jstack <RubyMine's pid>' and show us it's output.
Also please attach idea.log as described in http://www.jetbrains.net/devnet/docs/DOC-1153

0
Comment actions Permalink

Hello Charles,

Please ensure you use latest Sun Java SDK (6 update 13), Java has known perfomance issues with Ubuntu if version is less than 6 update 12.
Could you please also attach treaddumps? This can be useful to detect possible deadlocks.

Regards,
Oleg

0
Comment actions Permalink

You have a lot of these processes:

0  1000 18089     1  20   0 964708 378044 futex_ Sl  ?          8:19  /usr/lib/jvm/java-6-sun/bin/java -Xms32m -Xmx512m -XX:MaxPermSize=150m  -ea -Xbootclasspath/a:../lib/boot.jar -Didea.platform.prefix=Ruby  -Didea.plugins.compatible.build=9900 -Didea.no.jre.check=true  com.intellij.idea.Main
0  1000 22287     1  20   0 986796 524404  futex_ Sl  ?         44:03 /usr/lib/jvm/java-6-sun/bin/java -Xms32m  -Xmx512m -XX:MaxPermSize=150m -ea -Xbootclasspath/a:../lib/boot.jar  -Didea.platform.prefix=Ruby -Didea.plugins.compatible.build=9900  -Didea.no.jre.check=true com.intellij.idea.Main

I have only one.

You might just 'kill -TERM <those idea processes>' until they all go away.

Then when you restart Rubymine, check how many of these <idea> processes you have.

0

Please sign in to leave a comment.