-
-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Captagent is utilizing 100% CPU when sip-parse = true #5
Comments
I have checked, but unfortunately couldn't reproduce the issue. For me it looks like bad SIP parsing, Can you please crate a pcap dump with all SIP messages from start until high CPU usage ? After I will check again. Thank you. |
Hi Alexandr, That's plausible. I'm afraid sending a full PCAP isn't really possible as I could try capturing an offending packet this evening when there is less Thanks On Fri, Jan 23, 2015 at 2:52 PM, Alexandr Dubovikov <
|
please check last git. thank you. |
Thanks, I will test and report back.
|
100% CPU reoccurred today. Please see the logs- http://pastebin.com/raw.php?i=nHSCKdk5 Also, captagent died with a segfault, possibly due to 100% CPU usage - Jan 26 10:38:09 CLL-Tracing kernel: [926734.544000] captagent[6523]: segfault at 7fb51c12230f ip 00007fb4248a9b8e sp 00007fb4239c05c8 error 4 in libc-2.19.so[7fb424811000+1bb000] I don't have the packet capture for this occurrence, I can grab one next time if required? Thanks |
no, it's ok for now. I see that len is bigger than message itself. I have added more debug, can you please pull git again and check one more time ? |
Pulled and running, Thanks On Mon, Jan 26, 2015 at 3:08 PM, Alexandr Dubovikov <
|
Please see a small selection of the latest log showing the common messages. As you believe it's a len issue I've been careful to use the same amount of characters when redacting numbers / IP's http://pastebin.com/raw.php?i=GnraNnMW Thanks |
Hi, is there any update on this? I noticed it's no longer utilising 100% CPU due to the added 'break', but curious if a fix is on its way. Thanks |
Yes, we will update tomorrow. Sorry but this week was very busy. On 8 February 2015 at 22:15, marrold notifications@github.com wrote:
|
No need to apologies, appreciated as always. On Sun, Feb 8, 2015 at 9:15 PM, Alexandr Dubovikov <notifications@github.com
|
so. please take the last git. Also I see that this TCP messages are broken. Probably it was bad message len, but it's hard to say. anyway I am waiting on your feedback. Thank you! |
Thanks, I will test tomorrow. Is there anyway to disregard broken TCP and
|
hard to say. If only some lines of SDP are missed, it's ok, but if RURI or several important headers are missed - this is complete different story. Anyway, kamailio will drop it :-) |
What I am trying to understand is, why wasn't the below example (from the Thanks Jan 27 18:25:44 CLL-Tracing captagent[27177]: [ERR] proto_uni.c:328 TOO INVITE sip:111111111111@172.16.1.23:5060;transport=tcp SIP/2.0 v=0 On Mon, Feb 9, 2015 at 9:05 PM, Alexandr Dubovikov <notifications@github.com
|
the message len is 1386, but we have only 1383, somethere 3 characters are gone. |
any feedback ? Can I close the issue ? |
I spotted one entry in the logs regarding the loop, which is much less than There still seems to be some issues with TCP packets, which may or may not I don't suppose someone has created a HEP dissector for Wireshark? Thanks On Tue, Feb 10, 2015 at 8:48 PM, Alexandr Dubovikov <
|
yeah, we planned do it long time ago, but unfortunately no time for this. If you can do it, we will be very appreciated!!! |
I plan to give it a go but can't guarantee any success! In the mean time, should I raise a new issue for the missing TCP packets On Tue, Feb 10, 2015 at 9:13 PM, Alexandr Dubovikov <
|
sure, contact me any time. Currently we have some requests, but we always find a bit time to help our users :-) |
Please find the latest log here- https://gist.github.com/marrold/00e7e647ae0ece7e46f8 Looks like only 3 packets got caught in the loop out of thousands, so this is much better. Thanks |
ok. looks like it was fixed. Please check the last git. thank you very much! |
Pulled and running. Thanks for your assistance. On Mon, Feb 16, 2015 at 6:16 PM, Alexandr Dubovikov <
|
you are welcome. thank for bug reporting. |
Captagent is utilizing 100% CPU when sip-parse = true
This doesn't happen as soon as Captagent is started. It can take 2-5 minutes before it pegs at 100% CPU utilization.
Server Details-
Intel(R) Xeon(R) CPU E5504 @ 2.00GHz (Quad Core)
4 GB RAM
Traffic Details-
rx: 119.94 Mbit/s 77492 p/s
SIP MPS Approx 160
capagent.xml -
Thanks in advance.
The text was updated successfully, but these errors were encountered: