Голубятня: Назад к корням и distnoted!
Голубятня: Назад к корням и distnoted!
Автор: Сергей Голубицкий
Опубликовано 11 марта 2012 года
Сегодня, если конечно я не сбился где-то по пути со счета, у нас Голубятня Онлайн под номером 597! Еще чуток и будет круглая цифра. Причем — внушительная: ГО в марте исполняется всего три года, тогда как за 10 лет журнально-бумажных колонок вышло 433 штуки.
Онлайн-форма выражения оказалась весьма любопытна в плане открывающихся возможностей по экспериментированию с жанрами и форматами. Какие-то форматы — как то аудио и видео, которые казались мне наиболее перспективными и соответствующими времени, совершенно неожиданным образом вошли в конфликт со специфической аудиторией Компьютерры. Кто бы мог подумать, что огромное (если не подавляющее) количество читателей почти гиковского журнала в наши дни испытывает серьезные затруднения с каналом! Да-да, контент объемом в 100-200 мегабайт, который на современных линиях забирается за одну-две минуты, остается для многих непреодолимым препятствием!
Можно долго рассказывать о специфике аудитории (ключевая — это локация в регионах), но смысла большого не вижу. Читательская аудитория сродни родителям, которых не выбирают. Уж какая есть. Хочешь другую — меняешь площадку. Или дополняешь ее (похоже, метафора с родителями тут все же неуместна ?.
To make it short, моя преамбула сводится к следующему: в очередной раз читателей голубятен ожидает смена стилистики и формата. Очень хочется надеяться, что она обрадует большую часть аудитории (не буду кривить душой: зная сегодня техническое своеобразие этой аудитории, я не сомневаюсь, что обрадует). Итак: Голубятня Онлайн возвращается к тому, с чего начиналась в 1999 году бумажная Голубятня — к лапидарному (4-5 тысяч знаков) чисто текстовому формату, выстроенному к тому же по классической схеме — увертюра из культур-повидла (в чисто акыновском стиле) плюс обзор софта и железа, который потоком проходит через мои руки.
Похоже, что именно классический формат является самым востребованным в жанре IT читательской аудиторией Компьютерры. То самой — столь своеобразной и столь дорогой моему сердцу. Анонсируя тематику подвальной части колонки на ближайшее время, сообщу, что в планах стоит возрождение обзоров из рубрики «Как я работаю», в которой мы обстоятельно пройдемся по элитной обойме софтверных решений, установленных на моем компьютере. Яблоконенавистником (признаюсь, мне удивительно думать, что в 2012 году еще находятся столь анахроничные индивиды, которые упорствуют в своем наивном желании не замечать очевидного изменения глобальной парадигмы и трендов в современном персональном компьютинге) рубрика будет интересна если уж не конкретными названиями программ (которые работают на Маке, разумеется), то концептуальными аспектами моего выбора, поскольку требования, выдвигаемые мною к решению тех или иных компьютерных задач, вполне универсальны и с легкостью портируются на любую платформу — будь то Форточки или Пингвины.
Что касается видеообзоров и аудиоподкастов, то они ни в коем разе не ликвидируются, а, напротив, обретают еще более интенсивную и осмысленную жизнь. По согласованию с отцом-основателем и издателем Компьютерры кручение-верчение гаджетов перед видеокамерой будет перенесено на портал sgolub.ru, где видео презентации отныне будут выкладываться эксклюзивным контентом. Через какое-то время специально под эту рубрику там будет создан самостоятельный раздел, а до тех пор видеоклипы будут появляться в уже существующем «Иллюзионе».
При любом раскладе я ни в коем случае не собираюсь волюнтаристски лишать читателей Компьютерры видео и аудио контента, поэтому все новые свои клипы и подкасты буду анонсировать в Голубятне онлайн.
Будем считать анонсы выше культур-повидлом, поэтому переходим к ковыряниям в техникалиях. Герой сегодняшней Голубятни — вполне себе универсальный демон по имени distnoted. C пакостями этого инфернала я столкнулся на своей платформе Mac OS X, однако, насколько мне известно, процесс Distributed Notifications замечательно живет и на Windows (distnoted.exe).
Если вы погуглите distnoted, то найдете множество отчаянных воплей форумчан на тему: «Distnoted — это вирус или троян. » или «Как удалить вирус distnoted.exe». Пока вы не сталкиваетесь с проблемой непосредственно, чужие вопли и стоны для вас — пустой звук. До поры до времени.
Distnoted — это образец криворукого кода, вышедший из-под пера Apple Inc. Если кто-то отказывает яблофанам в способности объективно оценивать реальность, то мне хочется посмеяться (как сказал бы одесский дедушка Вассермана). Пошел четвертый год моего блаженного пребывания в лоне Надкусана и я могу несколько часов рассказывать о множестве вещей, которые меня в Apple бесят, раздражают, доводят до белого каления, возмущают и заставляют негодовать. Единственный критерий истины здесь: в Windows меня бесит, раздражает и т.п. вещей на порядок больше. Вот и все объяснение моего однозначного выбора. Что, повторюсь, отнюдь не отрицает наличие у меня глаз и констатацию существующей надкусановой кривизны.
Итак, Apple создал процесс дистрибутивного оповещения (гики — поправляйте!) для общения с депозитариями вроде iPod Touch, iPhone, Apple TV и проч. Общение происходит, как водится, через iTunes. Соответственно, distnoted все время куда-то лезет, тычется, чем вызывает негодование антивирусных программ и всяких анти-троянов. А за одно — и пользователей. Если бы distnoted тыкался грамотно, никто бы его не замечал. В большинстве случаев, так именно все и происходит.
Случаются, однако, сбои и тогда — хоть кричи караул. Что все и делают на форумах. Уж не знаю, как страдают от distnoted.exe пользователи Форточек, но на Mac OS X сбоящий на ровном месте distnoted — это чудовищно. Компьютер перестает реагировать на команды, подолгу задумывается и зависает. Почему? Потому что distnoted выжирает всю память. Вот таким образом:
Вон он, красавчик, висит вверху списка со 128 % CPU. Если кому-то покажется, что крыша едет только у старого голубятника, приведу еще один — первый попавшийся скриншот из сети:
Как видите от поганца (целых двух!) страдают даже самураи. В общем, запускается этот distnoted самовольно и непредсказуемо и сжирает все процессорное время. Благо на Маке вопрос решается просто — убийством процесса, причем в отличие от Windows, это убийство всегда эффективно (а не через раз на пятый).
Но это, конечно, не выход. И не решение. Посему у меня вопрос к продвинутой аудитории: как бороться не с последствиями, а с причинами безумства distnoted? Что заставляет демон превратиться в неуправляемого берсерка?
Question: Q: distnoted CPU Runaway.
On Thursday, 15 Oct 2015, I updated Pages, Numbers and Keynote.
Not sure if this update is related to a new problem in El Capitan (10.11), or not.
Since the update, I’ve had to force shutdown and reboot my iMac (27-inch)
4 times. On three occasions the system was so locked up, Activity Monitor didn’t respond. A few moments ago (the fourth occurrence), I was able to determine that disnoted is the culprit.
Any ideas as to how to remedy this issue?
OS X Yosemite (10.10.5)
Posted on Oct 18, 2015 1:29 PM
Helpful answers
Since running 10.11.4, I suffer from this bug on my MacBook Air (13 inch Mid-2013, maxed out with 1.7 Ghz i7, 8Gb memory and 512 Gb SSD). It hangs 0-4 times per working day, and the pattern is always the same. If I notice the machine starts becoming unresponsive and the ventilators start making noise, I can than quickly check to see that the ‘distnoted’ process is consuming 400% CPU. I might be just in time to kill the disunited process, which returns the Air to a normal state immediately. However, if I am too late, the spinning beach ball takes over and the machine can only be recovered by turning it off.
Every now and then, the machine seems to be able to recover itself (without killing distnoted). In those cases, the menu bar (which is frozen from the moment the problem starts) is reloaded (all menu icons disappear and then appear again).
It is extremely annoying, especially in the office. I return from a meeting to find my Mac with fans screaming, so I need to do the switch off-boot slow loop that takes quite some time.
Strange enough, the problem is not showing up on my 5K iMac or a 2015 MacBook Air 11″, where both machines also run OSX 10.11.4. On all Macs, the OS and all apps are updated to the latest versions.
Apr 22, 2016 2:40 PM
There’s more to the conversation
Loading page content
Page content loaded
When the machine becomes unresponsive, note the exact time: hour, minute, second.
These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
Launch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U . The application is in the folder that opens.
☞ Open LaunchPad and start typing the name.
The title of the Console window should be All Messages . If it isn’t, select
SYSTEM LOG QUERIES ▹ All Messages
from the log list on the left. If you don’t see that list, select
View ▹ Show Log List
from the menu bar at the top of the screen.
Each message in the log begins with the date and time when it was entered. Scroll back to the time you noted above.
Select the messages entered from then until the end of the episode, or until they start to repeat, whichever comes first.
Copy the messages to the Clipboard by pressing the key combination command-C . Paste into a reply to this message by pressing command-V .
The log contains a vast amount of information, almost all of it useless for solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
Please don’t indiscriminately dump thousands of lines from the log into this discussion .
Please don’t post screenshots of log messages—post the text.
Some private information, such as your name, may appear in the log. Anonymize before posting.
When you post the log extract, you might see an error message on the web page: «You have included content in your post that is not permitted,» or «The message contains invalid characters.» That’s a bug in the forum software. Please post the text on Pastebin, then post a link here to the page you created.
Oct 18, 2015 1:43 PM
2016-04-08 Similar problem as Plane Wryter’s
Again today Finder froze twice, nothing much is working on the iMac i3 (2015), El Cap. 10.11.4.
According to the Act.Monitor >300% CPU Usage.
>300% was for distnoted, when disunited was force qui t, the CPU was freed and Finder ok.
In the Console I didn’t see anything curious (?) and I was not sure when the freeze started.
PS: Only a few days ago Apple support advised me to reset the NVRAM.
Ask: What Is Distnoted on Mac?
Distnoted is a perfectly benign process, but it can occasionally consume resources and make your Mac slow down.
Distnoted isn’t too critical. Instead, use Activity Monitor to see what apps are running — not just system processes. Quit one app at a time and see if the distnoted activity dies down as well.
I too have started having trouble with distnoted. First time I noticed it, it just sat there consuming all available CPU for a few minutes before calming down again. Second time the computer completely locked up. Whenever I brought an application to the foreground it’d work for a short while and then the UI would lock up and I’d get the spinning beachball. I let it sit overnight to see if it would clear up like it did previously. It didn’t. Instead the keyboard stopped working. I could still use the mouse to launch applications – at least for as long as Finder was still working – but they would still lock up after a short while. In the end I had to do a force shutdown using the power button. I’ve skimmed through the system log, but there’s just too many messages and I don’t know what to look for.
Apr 17, 2016 3:06 AM
Since running 10.11.4, I suffer from this bug on my MacBook Air (13 inch Mid-2013, maxed out with 1.7 Ghz i7, 8Gb memory and 512 Gb SSD). It hangs 0-4 times per working day, and the pattern is always the same. If I notice the machine starts becoming unresponsive and the ventilators start making noise, I can than quickly check to see that the ‘distnoted’ process is consuming 400% CPU. I might be just in time to kill the disunited process, which returns the Air to a normal state immediately. However, if I am too late, the spinning beach ball takes over and the machine can only be recovered by turning it off.
Every now and then, the machine seems to be able to recover itself (without killing distnoted). In those cases, the menu bar (which is frozen from the moment the problem starts) is reloaded (all menu icons disappear and then appear again).
It is extremely annoying, especially in the office. I return from a meeting to find my Mac with fans screaming, so I need to do the switch off-boot slow loop that takes quite some time.
Strange enough, the problem is not showing up on my 5K iMac or a 2015 MacBook Air 11″, where both machines also run OSX 10.11.4. On all Macs, the OS and all apps are updated to the latest versions.
Apr 22, 2016 2:40 PM
I just got my new laptop MBP 13′, 1TB, 16GB. Same as last model 2014. The best 13′ laptop APPLE can sell, I got it.
It is a pain that this laptop is not like the old version in functionality. It freezes all the time!
I’m working and suddenly the OS becomes unresponsive. Finally I was able to open Disk Utility and found DISTNOTED taking 380% of my CPU. I closed it and the everything went back to normal. But I don’t even know what is Distnoted for. Do I need to keep it open?
Apple Support. Is it my laptop? Is the the OS Capitan? I’ve been with the new laptop almost a month and I’m about to return it and switch it for a new one at apple Store. Please respond asap.
Apr 25, 2016 3:48 PM
Apple Support. Is it my laptop? Is the the OS Capitan? I’ve been with the new laptop almost a month and I’m about to return it and switch it for a new one at apple Store. Please respond asap.
This is a user-to-user forum. There are ONLY fellow Mac users here.
Since this is a new Mac, you get free Telephone support. If you want a comment from Apple, I suggest you use your free support.
Apr 25, 2016 4:36 PM
Today I had the distnoted process run amok again, consuming all available CPU. I opened Activity Monitor but it froze before I could locate distnoted, just like last time. I did however manage to successfully run » sudo killall distnoted » from the Terminal. The computer returned to normal after a few seconds.
Apr 28, 2016 12:36 PM
I did call Apple Support and they don’t even know if it is a hardware issue or OS. Told me to run First Aid for the SSD and if it continues (that it does) to reinstall the OS, which is s pain in the butt.
Apr 28, 2016 1:00 PM
I don’t believe this is an hardware issue. It started around (or after) the moment I upgraded from 10.11.3 to 10.11.4. My MacBook Air is a mid-2013 13″ with an i7. In this thread, I see many other Macs with the same issue, some of them brand new.
I am sure it is caused or triggered by something in the latest El Capitan upgrade. Apple, are you listening. This bug makes my MacBook close to unusable. About every 1-2 hours, it occurs. If I am not really quick with killing the ‘distnoted’ process in the terminal, the only way out is a reboot.
Did anyone mention that there is a standard order in how the system freezes? It starts with 100% CPU, than the top right menu bar widgets freezes (no updates of time, free memory and cpu load via iStat Menus for example), then the keyboard becomes unresponsive but the mouse still can be used. If you than start quitting applications with the mouse, sometimes you can get out of the loop. But more often, the apps also start to freeze and then it is too late.
When you do succeed in unfreezing the Mac (either by quitting apps or by killing distnoted), the first thing youl notice is that all menu bar widgets are being reloaded.
I have become so paranoid nowadays that I have a ‘sudo killall -9 distnoted’ command already waiting for a return in the terminal.
So once again: Apple, please pay attention and fix this terrible bug.