Re: [sipx-users] JAIN-SIP Pointers

2012-09-17 Thread Matt White
Utilization issue appears to be jain-sip build specific. I back rev'd the jain-sip-sdp-1.2.2140.jar to jain-sip-sdp-1.2.2014.jar and CPU utilization has gone away. I will resume testing to see how well this version of jain-sip functions with sipxbridge. 1.2.2014 is still way newer than what is

Re: [sipx-users] JAIN-SIP Pointers

2012-09-17 Thread Matt White
Output available here: http://pastebin.com/HB2p4TPR jmap dump here: http://www.thesummit-grp.com/dump.map -M >>> "Matt White" 09/17/12 2:03 PM >>> Thanks, thats the clue I needed. Here is the process i used to get the dump in case someone else is curious. ls /proc/PID/fd/1 Output shows /pr

Re: [sipx-users] JAIN-SIP Pointers

2012-09-17 Thread Matt White
Thanks, thats the clue I needed. Here is the process i used to get the dump in case someone else is curious. ls /proc/PID/fd/1 Output shows /proc/PID/fd/1 -> pipe:[979841] Doing a cat on /proc/PID/fd/1 while using kill -3 shows no output. So then I use lsof to find that other process tied to

Re: [sipx-users] JAIN-SIP Pointers

2012-09-15 Thread George Niculae
You have to cat proc/fd pid while kill -3 to get something, check wiki George On Saturday, September 15, 2012, Matt White wrote: > kill -3 does not work. I'm not sure if its because the process is stuck but I can use on other java process but not the one stuck at 100% > > Thats why i tried jac

Re: [sipx-users] JAIN-SIP Pointers

2012-09-15 Thread Matt White
kill -3 does not work. I'm not sure if its because the process is stuck but I can use on other java process but not the one stuck at 100% Thats why i tried jack as its already available on the machine. -m >>> Alex Mateescu 09/15/12 10:16 AM >>> kill -3 , optionally redirected to a file seems

Re: [sipx-users] JAIN-SIP Pointers

2012-09-15 Thread Alex Mateescu
kill -3 , optionally redirected to a file seems to work better than jstack, though it will show the running threads, not how much CPU they use. For that, you'd need to connect a profiler (e.g. VisualVM) to the running process. Alex On Fri, Sep 14, 2012 at 10:32 PM, George Niculae wrote: > Try u

Re: [sipx-users] JAIN-SIP Pointers

2012-09-14 Thread George Niculae
Try using jmap -F -dump:file=dump.map PID Loading in MemoryAnalyzerTool reveals issues George On Friday, September 14, 2012, Matt White wrote: > Yup. > > But looking at the stack I dont think it really shows much. I see alot of these: Error occurred during stack walking: > > A quick google wo

Re: [sipx-users] JAIN-SIP Pointers

2012-09-14 Thread Matt White
Yup. But looking at the stack I dont think it really shows much. I see alot of these: Error occurred during stack walking: A quick google would show jstack cant always walk the stack when its hung, so I'm not sure its valid. Its easy to replicate, copy over the jain-sip-sdp and restart call c

Re: [sipx-users] JAIN-SIP Pointers

2012-09-14 Thread Douglas Hubler
this is when is was consuming 100% of CPU? On Fri, Sep 14, 2012 at 2:42 PM, Matt White wrote: > I used jstack to get a dump of the thread. > > Contents available on pastebin: http://pastebin.com/qDSFC4HE > Douglas Hubler 09/13/12 8:18 PM >>> > > On Thu, Sep 13, 2012 at 7:56 PM, Matt White

Re: [sipx-users] JAIN-SIP Pointers

2012-09-14 Thread Matt White
I used jstack to get a dump of the thread. Contents available on pastebin: http://pastebin.com/qDSFC4HE >>> Douglas Hubler 09/13/12 8:18 PM >>> On Thu, Sep 13, 2012 at 7:56 PM, Matt White wrote: > Just thought I'd give an update on updating the jain-sip > > I've put this latest jain-sip in pro

Re: [sipx-users] JAIN-SIP Pointers

2012-09-14 Thread Matt White
Yup, already have the sipxrest at debug. I was surprised but the lacl of activity in the log. With a clean log and starting the process after waiting about 5 minutes here all that has been recorded. "2012-09-13T23:43:13.054000Z":1:JAVA:WARNING:voice:main::sipxrest:"using default tls s

Re: [sipx-users] JAIN-SIP Pointers

2012-09-14 Thread M. Ranganathan
kill the process, tail a debut log of it. It will tell you more useful information. On Fri, Sep 14, 2012 at 9:00 AM, Matt White wrote: > Yes, the latest jain-sip has fixed our issue with sipxbridge. We have > tested this on 4.2.1 and 4.4 > > Here is the process we followed. > 1. Shutdown sipx >

Re: [sipx-users] JAIN-SIP Pointers

2012-09-14 Thread Matt White
Yes, the latest jain-sip has fixed our issue with sipxbridge. We have tested this on 4.2.1 and 4.4 Here is the process we followed. 1. Shutdown sipx 2. Replace the current jain-sdp under the Sipxcommons and openfire directories with the new one. 3. startup sipx As soon as sipx starts (and sipx

Re: [sipx-users] JAIN-SIP Pointers

2012-09-14 Thread M. Ranganathan
Please describe the sequence of events that leads to the 100% CPU situation. When you say they are "working fine" does that imply your sipXbridge issues are fine now? On Thu, Sep 13, 2012 at 7:56 PM, Matt White wrote: > Just thought I'd give an update on updating the jain-sip > > I've put this

Re: [sipx-users] JAIN-SIP Pointers

2012-09-13 Thread Douglas Hubler
On Thu, Sep 13, 2012 at 7:56 PM, Matt White wrote: > Just thought I'd give an update on updating the jain-sip > > I've put this latest jain-sip in production on 3 system for several weeks > now. One 4.2.1 and the other 2 are 4.4 > > They are working fine and there is no useability issues. Howeve

Re: [sipx-users] JAIN-SIP Pointers

2012-09-13 Thread Matt White
Just thought I'd give an update on updating the jain-sip I've put this latest jain-sip in production on 3 system for several weeks now. One 4.2.1 and the other 2 are 4.4 They are working fine and there is no useability issues. However the sipxrest java process pegs at 100%. Our systems are m

Re: [sipx-users] JAIN-SIP Pointers

2012-08-13 Thread Matt White
Thanks, you just answered the questions in my last reply! -M >>> "M. Ranganathan" 08/13/12 11:57 AM >>> Attached is a jar file for jain-sip. Replace the jar and tested it out before posting traces please. Don't be too nervous - you can always revert. _

Re: [sipx-users] JAIN-SIP Pointers

2012-08-13 Thread Matt White
Here is what i see on a 4.4 system: Openfire: /opt/openfire/plugins/kraken-1.1.2/lib/jainsipapi.jar /opt/openfire/plugins/kraken-1.1.2/lib/jainsipri.jar /opt/openfire/plugins/sipx-openfire-presence/lib/jain-sip-sdp.jar Sipxcommons: /usr/share/java/sipXecs/sipXcommons/jain-sip-sdp.jar Does sipxbr

Re: [sipx-users] JAIN-SIP Pointers

2012-08-13 Thread M. Ranganathan
Attached is a jar file for jain-sip. Ieplaced the jar and tested it out. On Mon, Aug 13, 2012 at 11:36 AM, M. Ranganathan wrote: > Please download the source code from svn and build it. > > On Mon, Aug 13, 2012 at 11:22 AM, Douglas Hubler wrote: >> On Mon, Aug 13, 2012 at 11:31 AM, Matt White

Re: [sipx-users] JAIN-SIP Pointers

2012-08-13 Thread M. Ranganathan
Please download the source code from svn and build it. On Mon, Aug 13, 2012 at 11:22 AM, Douglas Hubler wrote: > On Mon, Aug 13, 2012 at 11:31 AM, Matt White wrote: >> Does anybody have a link to download the latest JAIN-SIP w/ instructions for >> packaging it for SIPX? >> >> I'm still banging m

Re: [sipx-users] JAIN-SIP Pointers

2012-08-13 Thread Douglas Hubler
On Mon, Aug 13, 2012 at 11:31 AM, Matt White wrote: > Does anybody have a link to download the latest JAIN-SIP w/ instructions for > packaging it for SIPX? > > I'm still banging my head against an issue detailed in my thread titled > "sipxbridge logs at trace level" back in June. > > The issue see