Find the answer to your Linux question:
Results 1 to 2 of 2
Some times I forget to exit nano when editing/viewing a file as root via SU in Konsole and just close the window. This works ok if not root but if ...
  1. #1
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105

    Slow graphics problem and fix

    Some times I forget to exit nano when editing/viewing a file as root via SU in Konsole and just close the window. This works ok if not root but if root the CPU usage goes to 100% This generaly is not noticable except for the 3D vidio which slows to a crawl. Looking at the processes in KDE System Guard I can see that nano is still running and taking up much CPU.

    This may happen for other process started as SU in Konsole and simply left orphined.

    The main symptom on my machine is that the 3D screen saver slows and stuters. Also glxgears will return low frame rates.

    Solution when running as root under su always shut down any editor or whatever that you are running before closing the konsole window.

    Fix if it happens determine what is eating CPU cycles via SYSTEM->MONITOR->KSYSGUARD
    click on Process Table
    determine what is reporting abnormally high usages

    open a Konsole window
    su to root
    run
    ps -A | grep nameofprocfromKSYSGUARD
    in my case was Nano so I typed
    ps -A | grep nano

    this will return 1 or more PIDs (number)

    run
    KILL PID

    Back to normal


  2. #2
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    BTW I forgot to say this is on Suse 10.1 64 also noramlly running KDE

Posting Permissions

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