Jump to content
Sign in to follow this  
cove

Linux client CPU usage

Recommended Posts

For some reasons the retrospect client just decides to gobble up CPU time. Today is May 20th, this client was started on May 5th, 21411 mins. of CPU time = ca. 14 days out of < 15 days!

 

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND

root 8409 99.8 0.1 281144 900 ? T May05 21411:00 /usr/local/dantz/client/retroclient -daemon

 

This is verison 6.0 of the client, running under RedHat 7.2 Linux.

 

Any thoughts?

 

Cove

 

Share this post


Link to post
Share on other sites

I've seen the same thing with 6.0 and 6.5. One thing you can try is setting the nice level for the retrospect client to something high - I set one of mine to 19 and that dropped utilization from 99% to 0. The client system had 2 CPUs, and one of them was pegged at 99% even when it wasn't being backed up.

 

Of course, you'll want to test and make sure your backups are running properly after niceing them.

 

Rhian Merris

merrisr@saic.com

Share this post


Link to post
Share on other sites

Yeah, that sounds a bit iffy to me actually. I've just had to go an restart the clients every now and then when they go crazy. Though I don't think I've seen this with the 6.5 client... I'll keep my finger crossed.

 

Cove

Share this post


Link to post
Share on other sites

Well, here is what it's doing when it uses up too much CPU time. It reads in 0 bytes and then to writes out 0 bytes...

 

PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND

1903 root 25 0 1164 1084 628 R 99.4 0.2 11:01 0 retropds.23

 

 

rst:~# strace -p 1903 0 13:40:21

write(7, "", 0) = 0

read(6, "", 65536) = 0

write(7, "", 0) = 0

read(6, "", 65536) = 0

write(7, "", 0) = 0

read(6, "", 65536) = 0

write(7, "", 0) = 0

read(6, "", 65536) = 0

write(7, "", 0) = 0

read(6, "", 65536) = 0

write(7, "", 0) = 0

read(6, "", 65536) = 0

write(7, "", 0) = 0

read(6, "", 65536) = 0

write(7, "", 0) = 0

read(6, "", 65536) = 0

write(7, "", 0) = 0

read(6, "", 65536) = 0

write(7, "", 0) = 0

read(6, "", 65536) = 0

write(7, "", 0) = 0

read(6, "", 65536) = 0

write(7, "", 0) = 0

read(6, "", 65536) = 0

write(7, "", 0) = 0

read(6, "", 65536) = 0

write(7, "", 0) = 0

read(6, "", 65536) = 0

write(7, "", 0) = 0

read(6, "", 65536) = 0

write(7, "", 0) = 0

read(6, "", 65536) = 0

write(7, "", 0) = 0

read(6, "", 65536) = 0

 

Share this post


Link to post
Share on other sites
Guest psykoyiko

Was this strace performed on the 6.0 or the 6.5 client?

Is this still Redhat 7.2?

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×