LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-29-2003, 06:37 AM   #1
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Rep: Reputation: 30
knotify - what is it, and why is it getting up my nose?


Hi all,

I find from time to time that when an application I am using closes the audio device and reopens it (say xmms has just finished playing one song and moves onto the next), in the intervening time a process called aplay belonging to knotify opens the audio device and starts hogging lots of cpu time. In the meantime, the audio application I was using now cannot open the audio device, and says something like "/dev/dsp cannot be opened".

I usually solve the problem by forcibly killing this aplay process. If I kill its parent, knotify, then it simply restarts itself soon after.

My question is, what is this knotify thing? And why is it doing what I am describing here? Also, is killing the process as I am doing a safe way to solve the problem?

Many thanks!
 
Old 11-04-2003, 11:58 AM   #2
Cichlid
Member
 
Registered: Jan 2002
Location: Montreal
Distribution: Ubuntu 8.10
Posts: 178

Rep: Reputation: 30
I too have come across a similar problem with knotify. It takes up to 95% of the CPU. From what I have found on the Net, kdeinit is involved. I have also been coming across about kdeinit and memory leaks. I have yet solved the problem.
 
Old 11-04-2003, 12:09 PM   #3
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Original Poster
Rep: Reputation: 30
It hasn't done it to me for quite a while now. Haven't done anything to fix it though.

Completely unrelated to the thread, but I gotta share this with someone before I burst: I've just written a program to play Archimedes tracker tunes (similar to soundtracker mods) on my linux machine! Not finished yet but essentially working. Permission to feel chuffed, captain?
 
Old 11-07-2003, 05:56 AM   #4
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Original Poster
Rep: Reputation: 30
I may have figured it out. If you go into the KDE configurer, and look at LookNFeel-->System Notifications, this is the same icon that knotify has when it appears in the task list in KDE system guard.

I went and turned sound off for every notification that was set to play a sound, since there's clearly a bug in the aplay program (it doesn't close the sound device and keeps running, hogging lots of cpu time) and maybe this will be an end to the problem?

I wonder what the notification was that was triggering it? No message was ever displayed.
 
Old 04-23-2004, 01:25 PM   #5
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Original Poster
Rep: Reputation: 30
I finally worked it out!

The reason aplay didn't let go of the sound device was because it uses the aRts sound server. The sound server goes idle after a preset length of time, unless you have it in full-duplex mode, in which case it keeps running all the time. Needless to say, I had it running in full-duplex mode. Turn that off and the problem disappears. Alternatively, set all sound applications to use their aRts outputs, if they have them; that also works.

I expect the particular notification that was triggering it was probably email arriving.
 
Old 03-11-2014, 12:33 AM   #6
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 501

Rep: Reputation: 45
Disable all KDE Notifications?

Is there away to completely disable notifications in KDE?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Knotify bong.mau Linux - Software 3 09-06-2005 02:45 PM
Please lead me by the nose to kernel source files? dianna Linux - Newbie 4 07-09-2005 01:58 PM
Gates Nose-Dives at CES Genesee General 3 01-06-2005 10:21 AM
Gimp-2 nose dive Johng Linux - Software 0 11-29-2004 03:27 PM
Knotify question satimis Linux - General 0 08-07-2004 10:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration