Video Screencast Help

High CPU utilization due to many BPBKAR process

Created: 28 Feb 2013 • Updated: 28 Mar 2013 | 6 comments
This issue has been solved. See solution.

Hi All,

I have a query, Today found a server in which CPU utilization was high upto 95%.

When checked on the server, found many BPBKAR process were running there. That was obvious because backup for that server running,

Is there a way we can minimize CPU utilization while "BPBKAR" process and backup keep running ? Means without affecting backup, can we make CPU utilization normal.

Please advice and suggest...

Operating Systems:

Comments 6 CommentsJump to latest comment

revaroo's picture

Were those multiple bpbkar processes doing anything or hung? What was the backup backing up (size, type of files etc)

There are no options I know of to 'nice' the bpbkar process as such.

Marianne's picture

How many bpbkar processes?

How many backup jobs/streams in activity monitor?

You should see one bpbkar process for each stream that is running.
If clint is battling to run multiple simultaneous jobs, you can limit max concurrent jobs for this client by adding client name in Host Properties -> Master -> Client Attributes. 
Add/select client name, then select Maximum data streams tick-box and type in max number of jobs that client can run. 

This will override the global setting in master's Global properties.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

SOLUTION
Vickie's picture

 

Data size of files are different-2 like some of are "500 GB" and some are just of "32159 KB".
Not sure wheather the bpbkar process were hung.
 
 
These many process were running. And same number of jobs were active too.
 
 
$ ps -ef|grep bpbkar
    root  3878     1 254 01:52:57 ?        73:52 bpbkar -r 2678400 -ru root -dt 618756 -to 2400 -clnt unixserver -class BKPclasss -sched Daily_Incremental -
    root  3966     1 254 01:53:02 ?        89:55 bpbkar -r 2678400 -ru root -dt 79193 -to 2400 -clnt unixserver -class BKPclasss -sched Daily_Incremental -s
    root  3687     1  0 01:52:46 ?        18:02 bpbkar -r 2678400 -ru root -dt 79192 -to 2400 -clnt unixserver -class BKPclasss -sched Daily_Incremental -s
    root  4105     1 253 01:53:15 ?        75:56 bpbkar -r 2678400 -ru root -dt 79192 -to 2400 -clnt unixserver -class BKPclasss -sched Daily_Incremental -s
    root  4062     1  0 01:53:10 ?        18:01 bpbkar -r 2678400 -ru root -dt 79193 -to 2400 -clnt unixserver -class BKPclasss -sched Daily_Incremental -s
    root  1606     1 255 01:51:34 ?        67:44 bpbkar -r 2678400 -ru root -dt 0 -to 2400 -clnt unixserver -class BKPclasss -sched Daily_Incremental -st IN
    root  4012     1  0 01:53:06 ?        40:13 bpbkar -r 2678400 -ru root -dt 79193 -to 2400 -clnt unixserver -class BKPclasss -sched Daily_Incremental -s
    root  3726     1  0 01:52:48 ?        17:20 bpbkar -r 2678400 -ru root -dt 79192 -to 2400 -clnt unixserver -class BKPclasss -sched Daily_Incremental -s
    root  3758     1  0 01:52:50 ?        18:04 bpbkar -r 2678400 -ru root -dt 79193 -to 2400 -clnt unixserver -class BKPclasss -sched Daily_Incremental -s
    root  4099     1  0 01:53:14 ?        24:50 bpbkar -r 2678400 -ru root -dt 79192 -to 2400 -clnt unixserver -class BKPclasss -sched Daily_Incremental -s
    root  3957     1 255 01:53:01 ?        81:01 bpbkar -r 2678400 -ru root -dt 618756 -to 2400 -clnt unixserver -class BKPclasss -sched Daily_Incremental -
    root  3893     1  0 01:52:59 ?        34:46 bpbkar -r 2678400 -ru root -dt 79193 -to 2400 -clnt unixserver -class BKPclasss -sched Daily_Incremental -s
    root  3790     1  0 01:52:52 ?        17:47 bpbkar -r 2678400 -ru root -dt 79193 -to 2400 -clnt unixserver -class BKPclasss -sched Daily_Incremental -s
    root  4020     1 252 01:53:06 ?        71:26 bpbkar -r 2678400 -ru root -dt 79193 -to 2400 -clnt unixserver -class BKPclasss -sched Daily_Incremental -s
    root  3996     1 253 01:53:04 ?        74:47 bpbkar -r 2678400 -ru root -dt 79193 -to 2400 -clnt unixserver -class BKPclasss -sched Daily_Incremental -s
    root  3188     1 255 01:52:20 ?        82:44 bpbkar -r 2678400 -ru root -dt 618756 -to 2400 -clnt unixserver -class BKPclasss -sched Daily_Incremental -
    root  4188     1 255 01:53:26 ?        72:08 bpbkar -r 2678400 -ru root -dt 79191 -to 2400 -clnt unixserver -class BKPclasss -sched Daily_Incremental -s
    root  4161     1 254 01:53:22 ?        81:47 bpbkar -r 2678400 -ru root -dt 79190 -to 2400 -clnt unixserver -class BKPclasss -sched Daily_Incremental -s
    root  4091     1 252 01:53:13 ?        77:45 bpbkar -r 2678400 -ru root -dt 79193 -to 2400 -clnt unixserver -class BKPclasss -sched Daily_Incremental -s
    root  4066     1 255 01:53:11 ?        78:42 bpbkar -r 2678400 -ru root -dt 79193 -to 2400 -clnt unixserver -class BKPclasss -sched Daily_Incremental -s
    root  4047     1 255 01:53:08 ?        78:15 bpbkar -r 2678400 -ru root -dt 79193 -to 2400 -clnt unixserver -class BKPclasss -sched Daily_Incremental -s
    root  4086     1  0 01:53:12 ?        25:44 bpbkar -r 2678400 -ru root -dt 79192 -to 2400 -clnt unixserver -class BKPclasss -sched Daily_Incremental -s
    root  4154     1 248 01:53:20 ?        70:10 bpbkar -r 2678400 -ru root -dt 79193 -to 2400 -clnt unixserver -class BKPclasss -sched Daily_Incremental -s
    root  3874     1  0 01:52:57 ?        17:22 bpbkar -r 2678400 -ru root -dt 79193 -to 2400 -clnt unixserver -class BKPclasss -sched Daily_Incremental -s
    root  3983     1  0 01:53:03 ?        18:30 bpbkar -r 2678400 -ru root -dt 79193 -to 2400 -clnt unixserver -class BKPclasss -sched Daily_Incremental -s
    root  3902     1 255 01:53:00 ?        104:58 bpbkar -r 2678400 -ru root -dt 79193 -to 2400 -clnt unixserver -class BKPclasss -sched Daily_Incremental -s
    root  4119     1 252 01:53:17 ?        77:01 bpbkar -r 2678400 -ru root -dt 79193 -to 2400 -clnt unixserver -class BKPclasss -sched Daily_Incremental -s
    root  3816     1  0 01:52:55 ?        19:35 bpbkar -r 2678400 -ru root -dt 79193 -to 2400 -clnt unixserver -class BKPclasss -sched Daily_Incremental -s
    root  3956     1  0 01:53:01 ?        17:13 bpbkar -r 2678400 -ru root -dt 79193 -to 2400 -clnt unixserver -class BKPclasss -sched Daily_Incremental -s
 
 
Wiriadi Wangsa's picture

Hi Netbackup_user,

Since all bpbkar processes came from the same policy, I'd say just set the limit jobs per policy attribute on your policy setting.

Cheers.

Vickie's picture

 

Thanks to all for their inputs. 
 
As of now the backup is completed and no "BPBKAR" process running no server.
 
I have changed the setting as suggested by Marriane and Wiriadi, will monitor next schedule backup. Hope that would run without affecting CPU utilization of client.
Vickie's picture

Now backup are running well, the issue seems to be with large number of jobs at a time.

After changing job limits,  now no such issue occured again.

Thanks all for their great input and suggestion. :-)