This forum has been archived. All content is frozen. Please use KDE Discuss instead.
The Discussions and Opinions forum is a place for open discussion regarding everything related to KDE, within the boundaries of KDE Code of Conduct. If you have a question or need a solution for a KDE problem, please post in the apppropriate forum instead.

Leftover KDE processes?

Tags: None
(comma "," separated)
User avatar
Moult
Global Moderator
Posts
663
Karma
2
OS

Leftover KDE processes?

Sun Sep 26, 2010 4:17 am
I've noticed that even after closing KDE and the X server several KDE processes are still shown in htop, notably virtuoso-t, nepomukserver, knotify and various kdeinit4 kio_somethings. I'm no developer, but shouldn't all of these processes been closed properly?

Something smells fishy.


Moult, proud to be a member of KDE forums since 2008-Oct.
thinkMoult - source for tech, art, and animation: hilarity and interest ensured!
WIPUP.org - a unique system to share, critique and track your works-in-progress projects.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Leftover KDE processes?

Sun Sep 26, 2010 8:48 pm
Usually they are supposed to exit. This likely means that something blocked them from exiting on logout. Are any nepomukserver or nepomukservicestub processes running?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Moult
Global Moderator
Posts
663
Karma
2
OS

Re: Leftover KDE processes?

Mon Sep 27, 2010 3:51 am
Yes there are. KDE never seems to exit cleanly anyways. (I don't use KDM, so I only have the "logout" option in KDE to quit X)


Moult, proud to be a member of KDE forums since 2008-Oct.
thinkMoult - source for tech, art, and animation: hilarity and interest ensured!
WIPUP.org - a unique system to share, critique and track your works-in-progress projects.
User avatar
BSmith1012
Registered Member
Posts
119
Karma
0
OS

Re: Leftover KDE processes?

Mon Sep 27, 2010 7:15 am
Ive always set it to "Start with an empty session" in the configuration so that rogue processes arent kept after reboot
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Leftover KDE processes?

Mon Sep 27, 2010 9:20 am
Moult wrote:Yes there are. KDE never seems to exit cleanly anyways. (I don't use KDM, so I only have the "logout" option in KDE to quit X)


why? what do you use xdm?


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
Moult
Global Moderator
Posts
663
Karma
2
OS

Re: Leftover KDE processes?

Mon Sep 27, 2010 9:23 am
Supreme, I don't think that's the cause. This is cleaning processes when _closing_ KDE, not opening it.

google01103, I don't use xdm, kdm, or any login screen. I start whatever DE/WM I feel like using with `startx`. If KDM doesn't exist, KDE no longer provides options to reboot, shutdown or hibernate in the KickOff menu. The only way to exit KDE is to Log out.


Moult, proud to be a member of KDE forums since 2008-Oct.
thinkMoult - source for tech, art, and animation: hilarity and interest ensured!
WIPUP.org - a unique system to share, critique and track your works-in-progress projects.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Leftover KDE processes?

Mon Sep 27, 2010 10:07 pm
Which version of KDE is being used? If KDE logs out really quickly ( like it does here ) some processes will quit about 30 seconds to a minute after it finishes logging out,


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Moult
Global Moderator
Posts
663
Karma
2
OS

Re: Leftover KDE processes?

Tue Sep 28, 2010 3:39 am
I am using 4.5.1. No, KDE does not quit really quickly. It takes a sensible amount of time to quit. Waiting doesn't have any effect, the processes remain there.


Moult, proud to be a member of KDE forums since 2008-Oct.
thinkMoult - source for tech, art, and animation: hilarity and interest ensured!
WIPUP.org - a unique system to share, critique and track your works-in-progress projects.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Leftover KDE processes?

Tue Sep 28, 2010 8:20 pm
Can you post the full list of processes that hang around please?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Moult
Global Moderator
Posts
663
Karma
2
OS

Re: Leftover KDE processes?

Fri Oct 22, 2010 8:23 am
OK it happened again, here's the list:
/usr/bin/knotify4
/usr/bin/virtuoso-t +foreground +configfile /tmp/virtuoso_something.ini + wait
kdeinit4: kio_http_cache_cleaner [kdeinit]
/usr/bin/nepomukserver


Moult, proud to be a member of KDE forums since 2008-Oct.
thinkMoult - source for tech, art, and animation: hilarity and interest ensured!
WIPUP.org - a unique system to share, critique and track your works-in-progress projects.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Leftover KDE processes?

Fri Oct 22, 2010 10:04 pm
Is there anything in ~/.xsession-errors that might hint at why they are still running? This shouldn't be possible as KNotify4 at least needs an X server, and NepomukServer and KNotify4 need D-Bus, which isn't running.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Moult
Global Moderator
Posts
663
Karma
2
OS

Re: Leftover KDE processes?

Sun Nov 07, 2010 5:20 pm
Sorry for the late reply, I have been using ratpoison lately instead of KDE (not because I don't like KDE, of course!) and I only recently managed to get it to happen again. I don't know much on how to interpret the xsession errors, so perhaps you can fare better:

Code: Select all
kglobalaccel(6392) KGlobalAccelImpl::x11Event: Got XKeyPress event
kglobalaccel(6392) GlobalShortcutsRegistry::keyPressed: "Alt+F4" = "Window Close"
dolphin(11751)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
dolphin(11751)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
dolphin(11751)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
dolphin(11751)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kwin(6389) KWin::Workspace::updateClientArea: screens:  1 desktops:  4
kwin(6389) KWin::Workspace::updateClientArea: Done.
dolphin(11751)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
Object::disconnect: Unexpected null parameter
dolphin(11751)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
dolphin(11751)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
[/usr/bin/nepomukservicestub] virtual void Soprano::Server::ServerConnection::run() thread done.
void Soprano::Server::ServerCore::serverConnectionFinished()
virtual Soprano::Server::ServerConnection::~ServerConnection() Removing connection
void Soprano::Server::ServerCore::serverConnectionFinished() Connection removed. Current count: 7
kDebugStream called after destruction (from void KDirWatchPrivate::removeEntry(KDirWatch*, KDirWatchPrivate::Entry*, KDirWatchPrivate::Entry*) file /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/kio/kio/kdirwatch.cpp line 950)
Cancelled INotify (fd 10, 1) for "/home/dion/.local/share//user-places.xbel"
kglobalaccel(6392) KGlobalAccelImpl::x11Event: Got XKeyPress event
kglobalaccel(6392) GlobalShortcutsRegistry::keyPressed: "Alt+F4" = "Window Close"
kwin(6389) KWin::Client::readUserTimeMapTimestamp: User timestamp, initial: 2318951
kwin(6389) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 2318951
kwin(6389) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 62954574 ;WMCLASS: "firefox" : "dialog" ;Caption: "" ' : 2318951
kwin(6389) KWin::Workspace::allowClientActivation: Activation: Belongs to active application
kwin(6389) KWin::Workspace::updateClientArea: screens:  1 desktops:  4
kwin(6389) KWin::Workspace::updateClientArea: Done.
kwin(6389) KWin::Workspace::updateClientArea: screens:  1 desktops:  4
kwin(6389) KWin::Workspace::updateClientArea: Done.
kwin(6389) KWin::Workspace::updateClientArea: screens:  1 desktops:  4
kwin(6389) KWin::Workspace::updateClientArea: Done.
kwin(6389) KWin::Client::readUserTimeMapTimestamp: User timestamp, initial: 2320738
kwin(6389) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 2320738
kwin(6389) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 31457398 ;WMCLASS: "plasma-desktop" : "plasma-desktop" ;Caption: "plasma-desktop" ' : 2320738
kwin(6389) KWin::Workspace::allowClientActivation: Activation: No client active, allowing
kwin(6389) KWin::Workspace::updateClientArea: screens:  1 desktops:  4
kwin(6389) KWin::Workspace::updateClientArea: Done.
kwin(6389) KWin::Workspace::allowClientActivation: Activation: Belongs to active application
kwin(6389) KWin::Workspace::updateClientArea: screens:  1 desktops:  4
kwin(6389) KWin::Workspace::updateClientArea: Done.
klipper(6448)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setCompositionMode: Painter not active
QPainter::end: Painter not active, aborted
kglobalaccel(6392) GlobalShortcutsRegistry::unregisterKey: Unregistering key "Volume Up" for "kmix" : "increase_volume"
[...snip - a bunch of unregistering keys stuff...]
krunner(6416)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
yakuake(6428) Konsole::SessionManager::~SessionManager: Konsole SessionManager destroyed with sessions still alive
Undecodable sequence: \001b(hex)[?1034h
Undecodable sequence: \001b(hex)[?1034h
kwin(6389) KWin::Workspace::updateClientArea: screens:  1 desktops:  4
kwin(6389) KWin::Workspace::updateClientArea: Done.
kwin(6389) KWin::Workspace::updateClientArea: screens:  1 desktops:  4
kwin(6389) KWin::Workspace::updateClientArea: Done.
krunner(6416)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know "/home/dion/Notes/pim"
Application '/usr/bin/nepomukservicestub' exited normally...
Application '/usr/bin/nepomukservicestub' exited normally...
Application '/usr/bin/nepomukservicestub' exited normally...
Application '/usr/bin/nepomukservicestub' exited normally...
X Error: BadWindow (invalid Window parameter) 3
  Extension:    139 (Uknown extension)
  Minor opcode: 6 (Unknown request)
  Resource id:  0x1400323
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1400323
Application::crashHandler() called with signal 11; recent crashes: 1
QCoreApplication::applicationFilePath: Please instantiate the QApplication object first
Application '/usr/bin/nepomukservicestub' exited normally...
Application '/usr/bin/nepomukservicestub' exited normally...
[/usr/bin/nepomukservicestub] virtual Soprano::ODBC::Connection::~Connection() QThread(0x166aa80)
virtual Soprano::ODBC::Connection::~Connection() QThread(0x166aa80)
virtual Soprano::ODBC::Connection::~Connection() QThread(0x166aa80)
virtual Soprano::ODBC::Connection::~Connection() QThread(0x166aa80)
virtual Soprano::ODBC::Connection::~Connection() QThread(0x166aa80)
virtual Soprano::ODBC::Connection::~Connection() QThread(0x166aa80)
Shutting down virtuoso instance 6423
Virtuoso server stopped: 0
virtual Soprano::Server::ServerConnection::~ServerConnection() Removing connection
virtual void Soprano::Server::ServerConnection::run() thread done.
virtual Soprano::Server::ServerConnection::~ServerConnection() Removing connection
virtual void Soprano::Server::ServerConnection::run() thread done.
virtual Soprano::Server::ServerConnection::~ServerConnection() Removing connection
virtual void Soprano::Server::ServerConnection::run() thread done.
virtual Soprano::Server::ServerConnection::~ServerConnection() Removing connection
virtual void Soprano::Server::ServerConnection::run() thread done.
virtual Soprano::Server::ServerConnection::~ServerConnection() Removing connection
virtual void Soprano::Server::ServerConnection::run() thread done.
virtual Soprano::Server::ServerConnection::~ServerConnection() Removing connection
virtual void Soprano::Server::ServerConnection::run() thread done.
virtual Soprano::Server::ServerConnection::~ServerConnection() Removing connection
virtual void Soprano::Server::ServerConnection::run() thread done.
Application '/usr/bin/nepomukservicestub' exited normally...
NepomukServer(6411)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
KCrash: Application 'kwin' crashing...
Fatal Error: Accessed global static 'KGlobalPrivate *globalData()' after destruction. Defined at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/kdecore/kernel/kglobal.cpp:116
Unable to start Dr. Konqi
sh: --crashes: command not found
kio_file(11765) kdemain: Done
kio_file(11769) kdemain: Done
WARNING: deleting stale lockfile /var/tmp/kdecache-dion/plasma-svgelements-air-netbook.lock
startkde: Shutting down...
klauncher: Exiting on signal 15
klauncher: Exiting on signal 1
startkde: Running shutdown scripts...
startkde: Done.


Moult, proud to be a member of KDE forums since 2008-Oct.
thinkMoult - source for tech, art, and animation: hilarity and interest ensured!
WIPUP.org - a unique system to share, critique and track your works-in-progress projects.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Leftover KDE processes?

Mon Nov 08, 2010 4:46 am
Not sure why those processes are hanging around unfortunately. virtuoso-t is likely causing nepomukserver to remain running ( or the other way around, either way both are hung ). No idea about knotify4 or kio_http_cache_cleaner though.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]