Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a proxmox server. The CPU is at 100% usage. I suppose this is not normal ;-)

The command is vzctl --skiplock chkpnt 105 --suspend takes 100% of one core, qmgr -l -t fifo -u takes takes 100% of the second core.

Is this a kind of deadlock ?

How to solve that ?

Thanks

share|improve this question
2  
You might want to figure out what vzctl and qmgr are doing... try attaching to them with, e.g., strace -p PID (you can interrupt the strace with ctrl-C). strace will show you what system calls are being executed by the process... depending on what they are, you may find that they are both trying to do something with the same file or they're both busy waiting for something. lsof is another utility that can help you since strace will show the FID of any file that is being accessed. lsof will tell you how that FID relates to a specific file in the filesystem. –  jlp Mar 20 '12 at 14:22
    
@jlp I had a similar situation with vzctl running two instances at 100% CPU utilization. Using strace, I found in both cases vzctl was trying to write() to a file descriptor that was broken ("-1 AGAIN (Resource temporarily unavailable)"). I think your comment is right and likely the best answer to this situation. Thanks. –  jimp Apr 3 '12 at 15:28
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.