3
votes
1answer
191 views

Why does strace open, read 512 bytes, and THEN fstat libncurses?

I've got the following strace output that I'm going through to teach myself a little more about the flow of programs. Here's the section that's confusing me: 16:08:02 open("/lib/libncurses.so.5", ...
1
vote
1answer
3k views

Java process (OpenDS) consumes all cpu (futex flood) - how to debug futex?

Today I noticed that my LDAP server (OpenDS) consumes 100% CPU on every available core. Fast diagnose showed me that there is a lot of ETIMEDOUT during the futex lock. How Can I debug it to figure ...
1
vote
2answers
157 views

How to analyze system calls when your disk is in read only and strace output is “Bus error”?

We have a HW problem with the disks, that made all the mount points to be read only. Output of dmesg: end_request: I/O error, dev sda, sector 15574609 sd 0:0:0:0: SCSI error: return code = 0x00040000 ...