Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Many processes continue after closing Applications

  1. #1

    Default Many processes continue after closing Applications

    OpenSuse 13.1 x86_64 with updates

    Hi all, have you come across this on OpenSuse 13.1? Take a look at Applications > System > System Monitor, then look at the process table.

    This system shows

    10 Gwenview Processes
    2 Gimp 2.8
    4 Okulars
    1 Showfoto
    1 krita
    1 sharpen
    1 unsharp-mask
    1 deinterlace

    All of these Applications have been closed and have no windows open. The Gimp processes along with sharpen, unsharp-mask and deinterlace probably come from my attempts to edit a photograph. Should they still be running?
    Krita and Showfoto were used for a short time and then closed. Gwenview and okular are used frequently to look at image files. Naturally these processes all use memory and will continue to do so until they are killed off.

    An thoughts on this?

    Many other processes in the Process Table look normal, as far as I can tell.

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,901
    Blog Entries
    3

    Default Re: Many processes continue after closing Applications

    Quote Originally Posted by cabernet View Post
    Hi all, have you come across this on OpenSuse 13.1?
    No, I haven't come across this.

    As a test, I started dolphin. Then I opened several image files (uses "gwenview"). Then I closed the images and dolphin.

    Then I looked with system monitor (ksysguard) and with "ps". I did not find any "gwenview" processes running.

    I'm merely providing a data point here for comparison. I do not know what is going wrong on your system.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  3. #3

    Default Re: Many processes continue after closing Applications

    In Konsole I get the below. It seems to indicate one Okular and one Gwenview process.


    linux-rz2v:/home/brm # ps aux | grep okular
    root 9771 0.0 0.0 10520 928 pts/0 S+ 11:49 0:00 grep --color=auto okular
    linux-rz2v:/home/brm # ps aux | grep gwenview
    root 9829 0.0 0.0 10520 928 pts/0 S+ 11:50 0:00 grep --color=auto gwenview
    linux-rz2v:/home/brm #

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,254
    Blog Entries
    15

    Default Re: Many processes continue after closing Applications

    Hi
    No, those are just the grep commands. Maybe you have some zombie processes which can check with the ps -ef command (pstree is another command to show what's running).
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5

    Default Re: Many processes continue after closing Applications

    Quote Originally Posted by cabernet View Post
    OpenSuse 13.1 x86_64 with updates

    Hi all, have you come across this on OpenSuse 13.1? Take a look at Applications > System > System Monitor, then look at the process table.
    To make your life a bit easier.
    Code:
    <Ctrl> + <ESC>

    You are just seeing grep process and not the process name after grep, it is shown in ps because okular and gwenview is the argument to the grep command and since grep is also a process from ps's point of view :-)

    Code:
    linux-rz2v:/home/brm # ps aux | grep okular
    root      9771  0.0  0.0  10520   928 pts/0    S+   11:49   0:00 grep --color=auto okular
    linux-rz2v:/home/brm # ps aux | grep gwenview
    root      9829  0.0  0.0  10520   928 pts/0    S+   11:50   0:00 grep --color=auto gwenview
    linux-rz2v:/home/brm #
    The --color=auto which you see in that output is the option to grep.

    To see some options you can use to GNU grep.
    Code:
    grep --help
    Why the default option? openSUSE has an alias, a custom grep command that came with the distro which has colored output on. If you run.

    Code:
    # type grep
    grep is aliased to `grep --color=auto'
    or

    Code:
    # command -v grep
    alias grep='grep --color=auto'
    You will see why it has the --color=auto

    Now if you want to avoid the grep command being seen by ps then you can do something like this.

    Code:
    ps aux | grep -v grep | grep okular
    ps aux | grep -v grep | grep gwenview
    or

    Code:
    ps aux | grep '[o]'kular
    ps aux | grep '[g]'wenview
    Also you might want to think about the zombie process that malcom mention

  6. #6
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,403

    Default Re: Many processes continue after closing Applications

    Quote Originally Posted by cabernet View Post
    In Konsole I get the below. It seems to indicate one Okular and one Gwenview process.


    linux-rz2v:/home/brm # ps aux | grep okular
    root 9771 0.0 0.0 10520 928 pts/0 S+ 11:49 0:00 grep --color=auto okular
    linux-rz2v:/home/brm # ps aux | grep gwenview
    root 9829 0.0 0.0 10520 928 pts/0 S+ 11:50 0:00 grep --color=auto gwenview
    linux-rz2v:/home/brm #
    Please copy/paste computer output between COIDE tags to make it readable for us. You get the CODE tags by clicking on the # button in the task bar of the post editor.
    Last edited by hcvv; 09-Apr-2014 at 08:52.
    Henk van Velden

  7. #7

    Default Re: Many processes continue after closing Applications

    Quote Originally Posted by malcolmlewis View Post
    Hi
    No, those are just the grep commands. Maybe you have some zombie processes which can check with the ps -ef command (pstree is another command to show what's running).
    Thanks for these suggestions - I must keep this in mind for future use. I could not find and sign of the gwenview and okular processes showing in the System Monitor Process table ...... hmmm.

  8. #8

    Default Re: Many processes continue after closing Applications

    Depends what you mean by 'closing'. I've come across several arguments
    elsewhere where people think that clicking on the 'x' button closes the
    application when all it does is close the window, leaving the
    application running. I assume that you followed the correct procedure
    and used 'file ==> quit' or some such?


    --
    Graham P Davis, Bracknell, Berks.
    openSUSE 13.2-m0 (64-bit); KDE 4.12.97; AMD Phenom II X2 550 Processor;
    Kernel: 3.14.0-rc7; Video: nVidia GeForce 210 (using nouveau driver);
    Sound: ATI SBx00 Azalia (Intel HDA)

  9. #9
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,769

    Default Re: Many processes continue after closing Applications

    Really depends on the app and if it is in the system tray. Most apps quit but apps like skype or amorok do not quit but go to running in the back ground in the system tray.

    And in any case there should not be multiple instances if running from the tray.

    I have seen zombies but that normally means that there is some problem with the app or perhaps the destop.

    Check to be sure your apps only come from normal repos. never factory. Mixing in factory can cause many problem.

  10. #10

    Default Re: Many processes continue after closing Applications

    Quote Originally Posted by gogalthorp View Post
    Really depends on the app and if it is in the system tray. Most apps quit but apps like skype or amorok do not quit but go to running in the back ground in the system tray.

    And in any case there should not be multiple instances if running from the tray.

    I have seen zombies but that normally means that there is some problem with the app or perhaps the destop.

    Check to be sure your apps only come from normal repos. never factory. Mixing in factory can cause many problem.

    Thanks for the feedback.

    With digikam (for example) I find normal processes show when the app is started. Here I use konsole.

    brm@linux-rz2v:~> ps aux | grep digikam
    brm 29649 7.6 1.5 3449336 192508 ? Sl 06:42 0:04 /usr/bin/digikam -caption digiKam --icon digikam
    brm 29718 0.1 0.2 584060 26856 ? Sl 06:42 0:00 kdeinit4: kio_digikamdates [kdeinit] digikamdates local:/tmp/k
    brm 29722 0.1 0.2 583892 26744 ? Sl 06:42 0:00 kdeinit4: kio_digikamalbums [kdeinit] digikamalbums local:/tmp
    brm 29889 0.0 0.0 10524 924 pts/1 S+ 06:43 0:00 grep --color=auto digikam

    When digikam is closed these processes close.

    brm@linux-rz2v:~> ps aux | grep digikam
    brm 30640 0.0 0.0 10520 924 pts/1 S+ 06:47 0:00 grep --color=auto digikam

    I get similar results with gwenview. I am not sure what System Monitor is doing, but I will watch and observe for the time being.

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •