What is the safe way to restart the NSDC service?

NethServer Version: 7.7.1908
Module: services

Today I again observed a 25% load on the system. With [top] I saw the “samba” service at 100%.
I decided to restart the services and found out what the service is: NSDC.

With this action, it sent me this error.
image
This is the command output:

echo ‘{“action”:“restart”,“name”:“nsdc”}’ | /usr/bin/setsid /usr/bin/sudo /usr/libexec/nethserver/api/system-services/update | jq

Seeing this, I tried to restart the service, this time without any error messages. But since I did not observe an additional failure in the services, I continued normal for a few moments, then I got the alert that the NDSC service was stopped.
image

Then, manually I restarted the service and the server load was showed normal, this time no more alarms by email.
image

This is the correct way to restart the NSDC service?
Or do I need to follow another methodology when I need to restart this service?

Regards

Yes.
Could it be that the third restart was not necessary and the alerts/mails just take some time?

1 Like

In fact, after I received the mail, that’s when I needed to restart (3rd time) the service since I was stopped.

Thank you!

1 Like

You’re welcome.