Summary: | ASTERISK-07036: Console '-x' flag loses data | ||
Reporter: | Douglas Garstang (dgarstang) | Labels: | |
Date Opened: | 2006-07-05 09:38:39 | Date Closed: | 2006-07-12 14:39:04 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | The console -x flag seems to be dropping data. Another user on the mailing list has reported the same problem, and I am seeing the same behaviour on 3 Asterisk systems. I use -x regularly, and it looks like the problem started with 1.2.9.1. See example below. I used the 'show queues' command about 10 times. The first several times it outputted one line. Finally it showed what appears to be all the data. Occurs with all commands, 'database show', 'sip show peers' and so on. ****** ADDITIONAL INFORMATION ****** hestia:(pbx1)~ # asterisk -rx 'show queues' oe_techsupp has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime), W:0, C:0, A:2, SL:0.0% within 0s Members: hestia:(pbx1)~ # asterisk -rx 'show queues' oe_techsupp has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime), W:0, C:0, A:2, SL:0.0% within 0s Members: hestia:(pbx1)~ # asterisk -rx 'show queues' oe_techsupp has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime), W:0, C:0, A:2, SL:0.0% within 0s Members: hestia:(pbx1)~ # asterisk -rx 'show queues' oe_techsupp has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime), W:0, C:0, A:2, SL:0.0% within 0s Members: hestia:(pbx1)~ # asterisk -rx 'show queues' oe_techsupp has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime), W:0, C:0, A:2, SL:0.0% within 0s Members: hestia:(pbx1)~ # asterisk -rx 'show queues' oe_techsupp has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime), W:0, C:0, A:2, SL:0.0% within 0s Members: hestia:(pbx1)~ # asterisk -rx 'show queues' oe_techsupp has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime), W:0, C:0, A:2, SL:0.0% within 0s Members: hestia:(pbx1)~ # asterisk -rx 'show queues' oe_techsupp has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime), W:0, C:0, A:2, SL:0.0% within 0s Members: hestia:(pbx1)~ # asterisk -rx 'show queues' oe_techsupp has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime), W:0, C:0, A:2, SL:0.0% within 0s Members: hestia:(pbx1)~ # asterisk -rx 'show queues' oe_techsupp has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime), W:0, C:0, A:2, SL:0.0% within 0s Members: hestia:(pbx1)~ # asterisk -rx 'show queues' oe_techsupp has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime), W:0, C:0, A:2, SL:0.0% within 0s Members: hestia:(pbx1)~ # asterisk -rx 'show queues' oe_techsupp has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime), W:0, C:0, A:2, SL:0.0% within 0s Members: hestia:(pbx1)~ # asterisk -rx 'show queues' oe_techsupp has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime), W:0, C:0, A:2, SL:0.0% within 0s Members: hestia:(pbx1)~ # asterisk -rx 'show queues' oe_techsupp has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime), W:0, C:0, A:2, SL:0.0% within 0s Members: hestia:(pbx1)~ # asterisk -rx 'show queues' oe_techsupp has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime), W:0, C:0, A:2, SL:0.0% within 0s Members: hestia:(pbx1)~ # asterisk -rx 'show queues' oe_techsupp has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime), W:0, C:0, A:2, SL:0.0% within 0s Members: hestia:(pbx1)~ # asterisk -rx 'show queues' oe_techsupp has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime), W:0, C:0, A:2, SL:0.0% within 0s Members: hestia:(pbx1)~ # asterisk -rx 'show queues' oe_techsupp has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime), W:0, C:0, A:2, SL:0.0% within 0s Members: hestia:(pbx1)~ # asterisk -rx 'show queues' oe_techsupp has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime), W:0, C:0, A:2, SL:0.0% within 0s Members: hestia:(pbx1)~ # asterisk -rx 'show queues' oe_techsupp has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime), W:0, C:0, A:2, SL:0.0% within 0s Members: Agent/80014154 (Unavailable) has taken no calls yet Agent/80014150 (Unavailable) has taken no calls yet Agent/80014133 (Unavailable) has taken no calls yet Agent/80014151 (Unavailable) has taken no calls yet Agent/80014152 (Unavailable) has taken no calls yet Agent/80014157 (Not in use) has taken no calls yet Agent/80014155 (Unavailable) has taken no calls yet No Callers oe_custcare has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime), W:0, C:0, A:0, SL:0.0% within 0s Members: Agent/80014054 (Not in use) has taken no calls yet Agent/80014050 (Unavailable) has taken no calls yet Agent/80014033 (Unavailable) has taken no calls yet Agent/80014051 (Unavailable) has taken no calls yet Agent/80014052 (Unavailable) has taken no calls yet Agent/80014057 (Not in use) has taken no calls yet Agent/80014055 (Unavailable) has taken no calls yet No Callers oe_payables has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime), W:0, C:0, A:0, SL:0.0% within 0s Members: Agent/80014129 with penalty 3 (Unavailable) has taken no calls yet Agent/80014116 with penalty 2 (Unavailable) has taken no calls yet Agent/80014123 with penalty 1 (Unavailable) has taken no calls yet No Callers oe_credit has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime), W:0, C:0, A:0, SL:0.0% within 0s Members: Agent/80014016 with penalty 3 (Unavailable) has taken no calls yet Agent/80014023 with penalty 2 (Unavailable) has taken no calls yet Agent/80014029 with penalty 1 (Unavailable) has taken no calls yet No Callers oe_ttvoice has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime), W:0, C:0, A:0, SL:0.0% within 0s Members: Agent/80014079 (Unavailable) has taken no calls yet Agent/80014078 (Unavailable) has taken no calls yet No Callers oe_ttdata has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime), W:0, C:0, A:0, SL:0.0% within 0s Members: Agent/80014034 (Unavailable) has taken no calls yet Agent/80014018 (Unavailable) has taken no calls yet Agent/80014071 (Unavailable) has taken no calls yet No Callers -- Remote UNIX connection | ||
Comments: | By: Joshua C. Colp (jcolp) 2006-07-05 11:00:09 I was unable to replicate this issue on 1.2.9.1 or a fresh checkout of 1.2, are there any other hints you can give to replicating it? By: Douglas Garstang (dgarstang) 2006-07-05 11:06:37 Hmmm. It's running on Gentoo Linux Linux hestia 2.6.15-gentoo-r1 ASTERISK-7 SMP PREEMPT Fri Jun 16 14:35:09 MDT 2006 i686 Intel(R) Xeon(TM) CPU 3.80GHz GenuineIntel GNU/Linux I think it's more likely to occur when there is a lot of data. A small number of lines doesn't seem as likely to make it occur. By: Serge Vecher (serge-v) 2006-07-05 12:40:21 dgarstang: I think this is related to 7305. Please update to the latest SVN 1.2 or just apply a patch from 7305 to your 1.2.9.1 sources. By: Russell Bryant (russell) 2006-07-12 14:14:46 This has been fixed in the 1.2 branch. If you update to the 1.2 branch, or 1.2.10 when it gets released and you still have a problem, feel free to re-open this issue or open a new one. Thanks .. |