Please enter search query.
Search <product_name> all support & community content...
bpclntcmd -clean_old_logs (clearing old legacy logs only) consumes lot of memory and CPU making server unresponsive
Article: 100034321
Last Published: 2021-11-07
Ratings: 2 3
Product(s): NetBackup & Alta Data Protection
Problem
bpclntcmd process consumes lot of memory and CPU making server unresponsiveCause
A call to bpclntcmd was added i.e -clean_old_logs on bpcd start-up to prevent clients that are habitually down at midnight from retaining logs forever. If the master server is unavailable (down) and on a different subnet, this can cause the bpclntcmd process to try connecting to the master server for up to the client_connect_timeout value before giving up and using a local version.Solution
To resolve the issue :# /usr/openv/netbackup/bin/bpclntcmd -clean_old_logs -verbose -force
If the above command fails run:
# /usr/openv/netbackup/bin/bpclntcmd -clean_old_logs > logs.txt
Note : It is observed that when there is an issue with the filesystem bpclntcmd is unable to delete the logs, hence try deleting the logs reported in logs.txt manually. if that fails then the filesystem issue would need to be fixed first.