Project

General

Profile

Actions

Bug #33770

closed

Discovery generates too many notifications

Added by Guilherme M. Schroeder about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

In an enviroment with about 300 hosts in "Discovered hosts" and ~100 users, Foreman creates too many notifications in the database (this is 5 days):

foreman=# select count(*) from notification_recipients;
count
----------
10258704
(1 row)

There's a cron job that runs every Sunday to clean that but I think it's not enough.

And because it's so large, when creating a new VM, a delete query can take more than 2 minutes, making hammer/foreman time out.

Actions #1

Updated by Guilherme M. Schroeder about 3 years ago

  • Category set to Notifications
  • Assignee set to Lukas Zapletal
Actions #2

Updated by Tomer Brisker about 3 years ago

  • Project changed from Foreman to Discovery
  • Category deleted (Notifications)
Actions #3

Updated by The Foreman Bot about 3 years ago

  • Fixed in Releases Discovery Plugin 16.0 added
Actions #4

Updated by Anonymous about 3 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF