Child pages
  • Dump java active threads

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


"P2-18" prio=10 tid=0x0947ec00 nid=0x14e9 in Object.wait() 0x6db12000
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x76e16e80> (a org.mortbay.util.ThreadPool$PoolThread)
at org.mortbay.util.ThreadPool$
- locked <0x76e16e80> (a org.mortbay.util.ThreadPool$PoolThread)



In latest versions you will need to:

1. Edit /etc/init.d/sipxivr and change line 47 to:

runuser -s /bin/bash sipx -c "${Command}" >/var/log/sipxpbx/ivr-dump.log 2>&1 &

instead of

runuser -s /bin/bash sipx -c "${Command}" >/dev/null 2>&1 &

2. Issue service sipxivr restart

3. Get process ID:
service sipxivr status --------------> find the PID

4. kill -3 {PID}

5. Check the output in /var/log/sipxpbx/ivr-dump.log