When I systemctl start/stop pbs
, it will take a long time for minutes. How can I improve it?
Please find the reason by running the below
SYSTEMD_LOG_LEVEL=debug systemctl stop pbs
SYSTEMD_LOG_LEVEL=debug systemctl start pbs
in another terminal
ps -ef | grep pbs_
It takes a long time here(where the cursor is). There seems to be nothing unusual.
The only process you can see at this time is pbs_init.d.start
Try this and share the output please
journalctl -fu pbs
Try adding a line (2 line )
set -x
then try stop and start the services