cancel
Showing results for 
Search instead for 
Did you mean: 

RHEL 4 client getdents64 calls + high load

Michael_Sprague
Level 3
Hello,

I am perplexed.  I have  RHEL 4 server setup as a backup exec client.  Any backup, full or incremental, takes forever, over 10 hours.  But I have a RHEL 3 server that works just fine.  If I strace the agent.be process I see a ton of lines like this:

getdents64(9, /* 64 entries */, 4096)   = 4096

Literally hundreds of them followed by what I would consider normal:

close(9)                                = 0
lstat64("/home/qmail/mailnames/example.com/sfcc/Maildir/new/1164692308.24885.server1.techevolution.com", {st_mode=S_IFREG|0600, st_size=2000, ...}) = 0
rt_sigprocmask(SIG_BLOCK, [INT ILL RT_9], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [INT ILL RT_9], NULL, 8) = 0
send(7, "\0\324\"\1E\0\0\0\205\257$\0\1\0\0\0\t\0\0\0\0\0\0\0\0"..., 294, 0) = 294
rt_sigprocmask(SIG_BLOCK, [INT ILL RT_9], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [INT ILL RT_9], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT ILL RT_9], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [INT ILL RT_9], NULL, 8) = 0
recv(7, "\0\0\"\1", 4, 0)               = 4
recv(7, "\6\0\0\0\206\257$\0\30\307\10\10\t\0\0\0\2\0\0\0\0\0\0"..., 290, 0) = 290
rt_sigprocmask(SIG_BLOCK, [INT ILL RT_9], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [INT ILL RT_9], NULL, 8) = 0
open("/home/qmail/mailnames/example.com/sfcc/Maildir/new", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 9
fstat64(9, {st_mode=S_IFDIR|0700, st_size=8159232, ...}) = 0
fcntl64(9, F_SETFD, FD_CLOEXEC)         = 0
getdents64(9, /* 65 entries */, 4096)   = 4080

Meanwhile agent.be is eating up a lof of the CPU and causing the load to shoot up over 20 at times.

I am no programmer and don't really know what getdents64 does, but I can say this.  This is not a 64 bit OS and I don't think it should be doing that many calls.

Any thoughts on what the problem is?

Thanks,
mikeS

0 REPLIES 0