Package: needrestart
Version: 3.5-4
Severity: normal

The time needrestart takes to analyse processes is to a great amount
influenced by the existence and count of perl processes:

----8<----8<----8<----
# systemctl stop spamassassin.service
# time needrestart -lp
OK - Services: none, Containers: none, Sessions: none|Services=0;;0;0 
Containers=0;;0;0 Sessions=0;0;;0

real    0m0,716s
user    0m0,479s
sys     0m0,233s
# systemctl start spamassassin.service
# time needrestart -lp
OK - Services: none, Containers: none, Sessions: none|Services=0;;0;0 
Containers=0;;0;0 Sessions=0;0;;0

real    0m2,668s
user    0m2,314s
sys     0m0,335s
----8<----8<----8<----

On another system (3.4-6 on buntu) the times are comparable but rise to
2 minutes when the sympa daemons are running as well.

This delay is a major inconvenience when installing packages or refreshing
in apt-dater. When used for monitoring standard timeouts are exceeded.

Reply via email to