grpc-frontend starts huge number of threads
It looks like that cta-frontend-grpc
starts a thread per request which which is not reused or stopped:
$ systemctl status cta-frontend-grpc
● cta-frontend-grpc.service - gRPC frontend for CERN Tape Archive (CTA)
Loaded: loaded (/etc/systemd/system/cta-frontend-grpc.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2023-03-02 10:04:10 CET; 16min ago
Main PID: 29970 (cta-frontend-gr)
CGroup: /system.slice/cta-frontend-grpc.service
└─29970 /usr/bin/cta-frontend-grpc --no-log-header --port 17017
...
$ ps huH p 29970 | wc -l
29418
As a result the frontend eventually stops accepting requests