Reference:Device Health Check: Difference between revisions

From innovaphone wiki
Jump to navigation Jump to search
m (New page: ==Applies To== This information applies to * all innovaphone gateways <!-- Keywords: enter keywords, foreign translations and/or synoyms not appearing in the article here for better sear...)
 
(→‎Problem Details: FLASHMAN added)
Line 33: Line 33:


*use the mem command, e.g. http://172.16.3.63/!mem. This will give an output that shows the memory usage of each module.
*use the mem command, e.g. http://172.16.3.63/!mem. This will give an output that shows the memory usage of each module.
*Have a look at the flash memory usage with command http://172.16.3.63/!mod%20cmd%20FLASHMAN0%20info . Check for free flash segments
and memory used by LDAP(PBX User DB) and VARS(other settings). Make sure max value for current platform is not reached.
bottom 0xb0060000 base 0xb0060000 top 0xb0800000 segsize 0x20000 segments 61
LDAP - used 12k avail 114k owned 128k (max 3200k)
VARS - used 30k avail 67k owned 128k (max 128k)
0  0xb0060000 free(0x00) owner FIRM(0x08) magic 0x666d order 0x00140001 usage 0x00000006
1  0xb0080000 free(0x00) owner FIRM(0x08) magic 0x666d order 0x00140002 usage 0x00000006
2  0xb00a0000 free(0x00) owner FIRM(0x08) magic 0x666d order 0x00140003 usage 0x00000006
...
18  0xb02a0000 used(0x80) owner MINI(0x09) magic 0x666d order 0x00030001 usage 0x00000001
19  0xb02c0000 used(0x80) owner MINI(0x09) magic 0x666d order 0x00030002 usage 0x00000001


<!-- == Related Articles == -->
<!-- == Related Articles == -->


[[Category:Howto|{{PAGENAME}}]]
[[Category:Howto|{{PAGENAME}}]]

Revision as of 14:51, 22 July 2010

Applies To

This information applies to

  • all innovaphone gateways


More Information

If an innovaphone device traps(unwanted re-start) you have different possibilities for debugging. Also if the systems malfunctions without trapping (e.g lost or rejected calls, bad voice quality, etc.) the following working procedure might help finding the problem.

Problem Details

  • In case that the device trapped, you should get a trace file from the device. The trace can be obtained by clicking on trace(buffer) in the Administration/Diagnostics/Tracing menu.

Writing to the trace buffer is disabled when the device traps. Also, the trace buffer is not cleared on a re-start. Thus, after a re-start, you can obtain the trace from before the re-start, showing the trap situation! This trace will contain the reason for the restart.


  • Have a look at the Administration/Diagnostics/Counters menu. The counters show the current usage of different components. Also a view of their previous usage (up to 12 hours in the past) is possible.
    • CPU - shows the CPU load over time. Use the scroll function and look for unexpected high CPU load.
    • MEM - shows memory usage. In a running system the memory usage should stay constant. A linear increase of memory usage over time shows a memory leak.
    • TEL/PRI/BRI - shows the usage of B - channels on the interface.


Debugging check-list 1.png

Using the Total CPU time you can calculate the CPU usage of each module and look for possible problems. E.g. the HTTP module has the highest usage, you might want to look for problems related to SOAP (HTTP), Webmedia (HTTP) etc.


  • use the mem command, e.g. http://172.16.3.63/!mem. This will give an output that shows the memory usage of each module.


and memory used by LDAP(PBX User DB) and VARS(other settings). Make sure max value for current platform is not reached.

bottom 0xb0060000 base 0xb0060000 top 0xb0800000 segsize 0x20000 segments 61
LDAP - used 12k avail 114k owned 128k (max 3200k)
VARS - used 30k avail 67k owned 128k (max 128k)

0  0xb0060000 free(0x00) owner FIRM(0x08) magic 0x666d order 0x00140001 usage 0x00000006
1  0xb0080000 free(0x00) owner FIRM(0x08) magic 0x666d order 0x00140002 usage 0x00000006
2  0xb00a0000 free(0x00) owner FIRM(0x08) magic 0x666d order 0x00140003 usage 0x00000006
...
18  0xb02a0000 used(0x80) owner MINI(0x09) magic 0x666d order 0x00030001 usage 0x00000001
19  0xb02c0000 used(0x80) owner MINI(0x09) magic 0x666d order 0x00030002 usage 0x00000001