"not responding" means what, exactly?

As we all know, Application Monitor (as well as the Force-Quit dialog, and I think other places) shows those nifty "(not responding)" suffixes highlghted in red when a process is working ovetime or simply hung.  I'm curious what triggers that, and how it can be captured from unix.
Here's what I think I know (from a lot of time spent on google and looking at man pages):
the 'not responding' cue means that the app is not reponding to system calls for roughly 2 seconds (with no explanation of what system calls are being tried or how they fail)
that Application Monitor mirrors the unix top utility (though there's nothing in top that correlates to 'not responding' - 'stuck' has a different meaning)
that nothing in the ps utility corresponds to 'not responding'
that this is one of those things that's going to drive me batty until I figure it out.
So what does 'not responding' in activity monitor *actually* mean, in unix terms?  I'm not looking for a way to kill processes (I know how to do that), and the obvious things like top's 'stuck' indicator are wrong, and not what I'm after.  I just want to know how I can leverage/mimic/replicate that 'not responding' thing that seems so simple in Application Monitor.  Where-oh-where in unix (or anywhere else) can this result be produced?
DankeDankeDanke... 

"Not Responding" is NOT a Unix concept.  Because if the process can be killed it is (Forced Quit), then it is still alive as far as Unix is concerned.
It is my guess that "Not Responding" means the application is not pulling items from its "Event Queue", so it will not see the "Quit" event, or any "Key Clicks", "Button Clicks", etc....
From a Unix perspective there are only 2 kinds of processes that cannot be killed.  Those that are already dead (Zombies), and a process that is stuck in the kernel, and the kernel code is not checking to see if any kill signals have been issued against the process.
A Zombie is a process "In Name Only", as all its resources have been released, and it just has a small process structure that is waiting for its parent process to collect the process' termination status.  A Zombie process CANNOT consume CPU time, it has not really memory to speak of, nor do any I/O.  If there are Zombie processes, they are generally the result of a program that was not paying attention and did not issue Unix 'wait()' calls to collect the status from an subprocess they created.  If the parent process exits without collecting their child process completion status, all the child processes get inherited by the Mac OS X /sbin/launchd process (PID 1) and /sbin/launchd will issue the wait() calls (on other Unix systems PID 1 is called 'init', but it provides the same orphaned child status collection services).  So to have a Zombie, the parent must still exist, but not care enough to collect the child process completion status.
The stuck in a kernel process is a full process that most likely has tripped over some kind of kernel bug.  It can consume CPU (its most likely talent),  tie up RAM, and cannot be killed via Force-Quit (kill -9, which cannot be ignored).  However, kill signals are delivered as a process is leaving kernel space and returning to user space.  So if a process is stuck in kernel space, and does not check to see if a signal has been delivered (the only way signals are honored in kernel code), and does not return to user space, then it cannot be killed.  However, this also signifies a bug in the kernel, as properly written kernel code should either quickly do its thing, and return, or if it needs to wait for something, check for signals and gracefully back-out.
If you have an unkillable process, the only way to cure that is to reboot.
A "Not Responding" app can generally be killed, so it neither a Zombie nor an unkillable Unix process.  Thus my conclusion that "Not Responding" is not a Unix concept, and why I suspect it is an application not checking its "Event Queue".
An Event Queue is a user mode GUI framework concept.  And has nothing to do with Unix, which is why there is no 'ps', no 'top', no anything Unixie that will report about "Not Responding".
I've been writing Unix kernel code since '95 for different Unix kernels, and I've been a Unix applications developer since '85.  "Not Responding" is a higher level abstraction that Apple has implemented, and I think it is related to their GUI frameworks and "Event Queues".  But it is all a guess based on knowing it is not Unix.

Similar Messages

  • I have dovwloaded photoshop CS6 and bridge is not responding. What to do ?

    I have downloaded photoshop CS6 and bridge is not responding. What to do ?

    Could you provide a more detailed inquiry, please? What happens while in Photoshop when you choose File > Browse in Bridge? What happens when you choose Applications > Adobe Bridge CS6 > Adobe Bridge CS6.app?

  • Hello, Due to mannually triggered stackshot via springboard my be springboard crashed that`s why my phone network dose not responding now what can I do ??

    Hello, Due to mannually triggered stackshot via springboard my be my phone springboard crashed, that`s why
    my phone network dose not responding now what can I do ??

    Since springboard was mentioned, that leads me to believe the device is jailbroken.
    If that is the case, the OP is on their own as discussion of jailbroken devices is not permitted here.

  • HT201441 I bought an iphone 4*at*t from a craigslist ad. The seller did not restore the phone and when I tried to do it manually it locked the phone and is now asking for the login info. I contacted the seller and he is not responding. What do i do?

    The seller did not restore the phone and when I tried to do it manually it locked the phone and is now asking for the login info in order to do anything with the phone. I contacted the seller and he is not responding. What do i do?

    he knows his ID , if he did all whats in the link he can get his password back ?
    how can i make him call applecare ? is there a way to speak to them from jordan ??
    i have been trying to reach any1 in apple so they can communicate and help my friend (us) to make him remember it .
    am not asking for the password or trying to get into the phone without using it , and i can take my money back though i need to help my friend as well since now he cant use it as well.
    thanks kil

  • Hello, I have a problem with the keyboard of the device, some of the keys do not respond. What can I do?  Amit

    Hello,
    I have a problem with the keyboard of the device, some of the keys do not respond.
    What can I do?
    Amit

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings (if you can)
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup
    - Restore to factory settings/new iOS device.
    - Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar

  • HI, i have ipod touch 32gb, i have noticed that volume and power button's do not respond. What should i do?

    HI, i have ipod touch 32gb, i have noticed that volume and power button's do not respond. What should i do?

    Try the standard fixes in squence:
    - Reset the iPod (may not work because of power button problem).
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Restore the iPod from backup
    - Restore the iPod to factoery defaults/new iPod
    If you still have a problem, it is likely due to a hardware problem and an appointment at the Genius Bar of an Apple store is in order.

  • What does "Firefox not Responding" mean

    Lately I am getting the message on the top of my screen that says, "FIREFOX NOT RESPONDING." Also, there is the little circle icon that goes around and whatever I click on does not open up. I shut off my computer manually, and when I started it up again the messages always say: Do you want to start in Safe Mode.....so that's what I did. Now, the color in my task bar (bottom) changed from blue to black. How can I make it blue again. I have no idea what Safe Mode means but I thought I would try it; I won't do it again!

    ''ChaCha [[#question-1044789|said]]''
    <blockquote>
    Lately I am getting the message on the top of my screen that says, "FIREFOX NOT RESPONDING." Also, there is the little circle icon that goes around and whatever I click on does not open up. I shut off my computer manually, and when I started it up again the messages always say: Do you want to start in Safe Mode.....so that's what I did. Now, the color in my task bar (bottom) changed from blue to black. How can I make it blue again. I have no idea what Safe Mode means but I thought I would try it; I won't do it again!
    </blockquote>
    ''ChaCha [[#question-1044789|said]]''
    <blockquote>
    Lately I am getting the message on the top of my screen that says, "FIREFOX NOT RESPONDING." Also, there is the little circle icon that goes around and whatever I click on does not open up. I shut off my computer manually, and when I started it up again the messages always say: Do you want to start in Safe Mode.....so that's what I did. Now, the color in my task bar (bottom) changed from blue to black. How can I make it blue again. I have no idea what Safe Mode means but I thought I would try it; I won't do it again!
    </blockquote>

  • When I open my computer and use it for a period of time it freezes up and it say Mozilla Firefox is not responding. What should I do with this?

    This happened several times already that my computer freezes up and it says Mozilla Firefox is not responding. When this happen it takes a long time before I can use my computer, I would say one hour or sometimes it takes 2 hours. When it takes like 30 minutes of freezing up what I do is I force the computer to shut down by pressing start button.
    And Ihttps://support.mozilla.com/media/img/markup/page_link.png wait for 3 to 5 minutes than I press the start button again to open the computer. When computer open up the Toshiba starts loading up all files after that I can use the computer for a while. I don't if there's something wrong with my computer or something else. I have Window Vista home premium.
    Please help.
    Thanks

    Apple Does Not recommend that. Please Read.
    http://support.apple.com/kb/HT1490
    From that article
    "Portables with built-in batteries"
    Current Apple portable computer batteries are pre-calibrated and do not require the calibration procedure outlined in this article. These computers use batteries that should be replaced only by an Apple Authorized Service Provider.
    MacBook 
    MacBook (13-inch, Late 2009) and later
    MacBook Air
    MacBook Air (all models)
    MacBook Pro
    MacBook Pro with Retina display (all models)
    MacBook Pro (13-inch, Mid 2009) and later
    MacBook Pro (15-inch, Mid 2009) and later
    MacBook Pro (17-inch, Early 2009) and later
    Thanks.
    Allan Mac wrote:
    Apple recommend calibrating the battery when you buy a new Macbook and then every few months, or monthly if it used on mains all the time. This, as Apple says is to keep the battery operating at maximum efficiency. When the battery discharges and shuts the macbook down, it still has reserve power for a good number of hours. There is also a logic board battery to hold various settings.
    I rather think I will take Apples advice on using their equipment not yours, but I would be intrigued to discover what is it you know that Apple doesnt about its batteries?
    Allan

  • Firefox starts up, and when home page pressed, program does not respond. What can be done?

    When Firefox is started, the circular think button continues to run, but the program has only started one new tab. When the Home Page button is clicked, program seems to lock in a 'Firefox not Responding' error message. When I try to shut it down by using upper right corner X, it gives two choices, "Wait for the program to respond" of "Shut down program". I choose Shut down program, and in the background a message saying 'Windows checking for a solution' although it never comes back with one. What I'd like to know is will Firefox save my bookmarks if program is deleted and a newer version of Firefox is downloaded?

    Please update to the current Firefox 27 release.
    *Help > About Firefox
    You can find the full version of the current Firefox 27.0.1 release in all languages and for all Operating Systems here:
    *http://www.mozilla.org/en-US/firefox/all.html
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    It is possible that your security software (firewall, anti-virus) blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls

  • My ipad screen is not responding meaning i can not use it, is there somthing i can do to fix it??, my ipad screen is not responding meaning i can not use it, is there somthing i can do to fix it??

    My Ipad scree is not responding to my touch, meaning i can not open and use my Ipad2, can anyone help??

    Make Sure iOS is updated to the latest version
    Reboot the device by pressing and holding down the home and sleep/wake buttons (power) at the same time until the apple logo appears on the screen, then let go.
    If that doesn't work then reset the device by going to settings/general/reset/reset all settings

  • Still (Not Responding). What do I do?

    When using Thunderbird I've been getting (Not Responding) and it takes a good while to do anything on my account. Please help.

    What is your anti-virus software?

  • Server not responding. What should I do?

    Whenever I try to get on the internet, it brings up the message "Safari could not open the page because the server stopped responding". What should I do to fix this problem?

    Halo,
    I also have this problem.
    Safari cannot open the page because the server stopped responding.
    I have the indication that wifi is working properly, I know that because when i tried to open like kompas - news app  in indonesia - it is no problem.
    Just with safari, you tube and app store.
    I already tried to reset the network, restore to factory setting ans STILL nothing can help me.
    WHY apple still have this problem?? and from many forums, i found this kind of problem and always no answer can satisfy customer using iphone or ipad (in my case).
    Please apple... helllllppppp //for the sake of your good reputation,,,,,,
    because i love apple -:)

  • Track pad not responding correctly, what to do?

    The track pad is not responding as it should, arrow moves on its own at times and when clicked it does not respond or click where it should. Have tried restarting it and it will work fine for a min or so then go back to being inaccurate.

    What OS are you using. Your profile shows IOS 5 but that is for an iPhone or iPad.

  • Firefox takes 6 minutes to load and then does not respond so what should I do?

    After starting Firefox on my Mac (10.8) it takes 5 to 6 minutes to appear. A minute or so later the "Bookmarks and History system will not be functional because one of the files is being used by another application" message appears and Firefox either does not respond or responds very slowly to various mouse clicks and such. For example, I wanted to disable all plug ins and when I clicked on Tools and Addins it took three minutes for the tab to open and after 20 minutes still nothing had appeared on the tab. I've tried restarting Firefox, restarting the Mac, resetting Firefox to the default settings, starting Firefox in safe mode, renaming the places.sqlite file, uninstalling Firefox and reinstalling from a fresh download, performing a complete uninstall and reinstall in which I remove the Firefox folder from the Application Support folder after uninstalling, and relocating the plugins folder. I've tried just about everything in every Firefox support article that there is and nothing works. Any suggestions would be very helpful.Thanks.

    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back soon.

  • HT5148 Protranscoder Tool not responding. What is the problem and how can I resolve the issue?

    Why is the Protranscoer Tool always show not responding? I see the CPU is almost full when I am sharing to Blue Ray or Master File, and it shows the Protranscoder tool and the QTKit server not responding.

    Did you ever figure this out? I have the same problem.

Maybe you are looking for

  • How do i find my music back that got moved after an itunes update

    after a itunes UPDATE all of my music that use to be there cant be found, Im not in a cloud, how and where do i look for my music? i have windows 8.1

  • SOME of the photos blurry after upgrade

    Greetings - I purchased iPhoto '09 for my wifes MacBookPro (replacing iPhoto '06). I have a MacBookPro with preinstalled iPhoto '09. SOME of the photos she had prior to the upgrade, as well as SOME of the photos I have on my system that I send to her

  • Music in Finder vs. iTunes

    not sure where to post this. i was wondering if anyone can confirm to how mac os x renders/plays audio in the finder? in os x 10.6.x, you can play audio files by clicking on the icon in the finder. what i'm noticing is that my music files sound way b

  • Using XML as persistance

    I'm re-writing a swing client that uses regular serialization to files in order to save user data. The data that needs to be persisted to file is very hierarchical by nature. I'm using MVC throughout the application. Now, I'm considering using XML as

  • System Dumps when the user is trying to delete the PO

    Hi All, SRM 5.0 ECS We are trying to delete a PO and the system throws a dump at this time. The PO is still not in R/3, currently its in held status where in we want to delete it and start over from sourcing cockpit. On a high level it says..Buffer t