Will command
strace -f ./opsview_web_server.pl 2>&1 | grep -C 2 ^EAGAIN
provide information, which you need?
22.07.09, 15:14, "Ton Voon" <[email protected]>:
Are you using HTTP::Prefork? http://docs.opsview.org/doku.php?id=opsview3.1:preforkI just need a snippet of the strace around the EAGAIN. Can you provide some lines around here. Specifically I am looking for the file descriptor that the write() is writing to.Also, can I have an lsof -p {processid} please. This will identify what the exact file descriptor is.On 22 Jul 2009, at 11:31, Spoofov Spoof wrote:strace generates too much output, if I'll leave it on some hours, all disk space will be filled.
About 10 minutes of stracing opsview_web_server.pl maked 200Mb-file. It contains a lot of
write( ... = -1 EAGAIN (Resource temporarily unavailable)
strings.
$ grep "Resource temporarily unavailable" /root/opsview_web_server.strace | wc -l
1931275
22.07.09, 13:39, "Ton Voon" <[email protected]>:On 22 Jul 2009, at 10:30, Spoofov Spoof wrote:Opsview is on VMWare virtual machine. When I start it, all worksfine. Don't know, how long. On the next day I can't get access toopsview's web-interface. top on host system shows more than 50percents usage of CPU (processor on server have 2 cores, and onlyone of them dedicated for virtual VMWare virtual machine withopsview). On guest system with opsview 100% of CPU capability usedby opsview_web_serber.pl. Why?Can you get an strace of opsview_web_server.pl to give us an idea ofwhat it is doing.Ton_______________________________________________Opsview-users mailing list[email protected]http://lists.opsview.org/lists/listinfo/opsview-users_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-usersTon Voon
Product Architect
Opsera Limited | Unit 69 Suttons Business Park
Reading | Berkshire | RG6 1AZ | UK
Phone: +44 (0) 845 057 7887
Mobile: +44 (0) 7931 365796
Skype: tonvoon Email: [email protected]
www.opsera.comThis e-mail is confidential, intended only for the named recipient(s) above and may contain information that is privileged and confidential. If you receive this message in error, or are not the named recipient(s), please notify the sender at the phone number above, do not copy this message, do not disclose its contents to anyone, and delete this e-mail message from your computer. Although Opsera routinely screens for viruses, addressees should scan this e-mail and any attachments for viruses. Opsera makes no representation or warranty as to the absence of viruses in this e-mail or any attachments. Opsera Limited is registered in the UK under Company Number 5396532. Our registered office is Gorse View, Horsell Rise, Woking, Surrey, GU21 4RB.
_______________________________________________ Opsview-users mailing list [email protected] http://lists.opsview.org/lists/listinfo/opsview-users
