- Package:
- notification-daemon
- Source:
- notification-daemon
- Description:
- daemon for displaying passive pop-up notifications
- Submitter:
- Omen Wild
- Date:
- 2025-06-03 17:55:02 UTC
- Severity:
- important
- Tags:
After 20 pop-ups that are not manually closed by clicking on them notification-daemon stops showing pop-ups and returns the error: error sender=:1.418 -> dest=:1.484 error_name=org.freedesktop.Notifications.MaxNotificationsExceeded rep string "Exceeded maximum number of notifications" This error is generated in daemon.c at line 185. I commented out the entire if statement and notifications started showing as expected. The items are only removed from the queue when the notification is manually closed by nd-queue.c::on_notification_close(). I am not sure what the purpose of limiting the queue was, but the items should also be dequeued when the pop-ups time out (in nd-queue.c::on_bubble_destroyed), otherwise the queue will grow forever, using more and more memory.
severity 648378 important thanks Am 10.11.2011 21:31, schrieb Omen Wild: Adjusting severity.
Dear Maintainer,
* What led up to the situation?
More than 20 messages generated through notify-send. This is from a photo-
import script which keeps me informed of its progress by telling me each file
it's importing.
* What exactly did you do (or not do) that was effective (or
ineffective)?
Ran the program as normal. This caused no problems on the Xubuntu installation
I have just replaced with Debian. After 20 files had been imported, the script
failed with the following message:
GDBus.Error:org.freedesktop.Notifications.MaxNotificationsExceeded: Exceeded
maximum number of notifications at /home/tony/bin/camera line 29
* What was the outcome of this action?
Script crashed and I was unable to proceed until I'd edited it to remove the
notify-send lines.
* What outcome did you expect instead?
Script should have continued normally to completion.
I noticed afterwards that the notification area in my panel had kept all of the
messages that had been sent; I can't understand why this should be the case for
what should have been transient messages. Especially as there's no such
problem in a near-identical Ubuntu installation.
Dear Maintainer, Update: removing notification-daemon and instead installing the xfce4-notifyd daemon instead has fixed this for me. I wonder if the problem may in fact be due to the interaction between notification-daemon and the XFCE notification area, rather than a bug in notification-daemon?
Hi Tony and Omen, [about https://bugs.debian.org/648378] If you feel like it, I suggest you report this bug upstream, where it is more likely to get more attention :) Cheers, -- intrigeri | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc