[Asterisk-Users] segmentation fault

Alex Zarubin ZAlex at Webley.COM
Wed Apr 2 10:15:06 MST 2003


Configuration:
Linux wpbx 2.4.9-13 #1 Tue Oct 30 20:11:04 EST 2001 i686 unknown
P4 2.5 GHz, 1 GB RAM
T400P with 3 T1s plugged in. A flow of 46 calls (spread out over 3 T1s).
Each call gets transferred (Dial) to the SIP platform and stays for 5 min.

Case 1. Asterisk built out of CVS Mar. 19. Test was running for 3 days.
Segmentation fault.
Case 2. Asterisk built out of CVS Apr. 1. Test was running for 12 hours.
Segmentation fault.

No coredump found. In case 1 there was a significant memory growth:
Top at the startup:
15986 root       9   0  6440 6436  2144 S     0.0  0.6   0:00 asterisk
15987 root       8   0  6440 6436  2144 S     0.0  0.6   0:00 asterisk
Top in several hours:
15986 root       9   0  9192 9188  2148 S     0.0  0.9   0:00 asterisk
15987 root       9   0  9192 9188  2148 S     0.0  0.9   0:00 asterisk
Top after a day:
27441 root       9   0 45980  44M  2156 S     0.0  4.5   0:00 asterisk
27442 root       8   0 45980  44M  2156 S     0.0  4.5   0:16 asterisk
Actually, I saw it over 50.

There were some warning messages on the way. For example:

Apr  1 23:22:33 WARNING[10251]: File chan_zap.c, Line 5248 (zt_pri_error):
PRI: 
Read on 86 failed: Unknown error 500
Apr  1 23:24:54 WARNING[11276]: File chan_zap.c, Line 5248 (zt_pri_error):
PRI: 
!! Got reject for frame 102, retransmitting frame 102 now, updating n_r!
Apr  1 23:24:54 WARNING[11276]: File chan_zap.c, Line 5248 (zt_pri_error):
PRI: 
!! Got reject for frame 103, but we have nothing -- resetting!
Apr  1 23:28:49 WARNING[10251]: File chan_zap.c, Line 5248 (zt_pri_error):
PRI: 
!! Got reject for frame 29, retransmitting frame 29 now, updating n_r!
Apr  1 23:28:49 WARNING[10251]: File chan_zap.c, Line 5248 (zt_pri_error):
PRI: 
!! Got reject for frame 30, but we have nothing -- resetting!
Apr  1 23:30:00 WARNING[11276]: File chan_zap.c, Line 5248 (zt_pri_error):
PRI: 
Read on 87 failed: Unknown error 500
Apr  1 23:30:24 WARNING[10251]: File chan_zap.c, Line 5248 (zt_pri_error):
PRI: 
Read on 86 failed: Unknown error 500

Question:
What do I do to give you more info? Should I issue 'ulimit -c unlimited' to
get a coredump?
Are there any flags/modes to set?

Thank you.
Alex Zarubin


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030402/c8261f5f/attachment.htm


More information about the asterisk-users mailing list