12:54 PM seems manager calls to action_command crash the manager connection when returning really large datasets (5667679 bytes/72k lines). Bug or something I'm missing? 1:21 PM mbrevda: bug is possible. (a) try to find how many bytes it takes before it chookes (b) why are you fetching megabytes of output over ami? 1:21 PM *cokes 1:21 PM gah, *chokes 1:22 PM wdoekes2: 47k lines (I relaize that doesnt anything) 1:22 PM how many bytes is that? 1:23 PM why? FreePBX try to be system agnostic, and does what ever it could over the manager (i.e. so that fpbx can be on a different system than the asterisk is on). In this case, were trying to backup the astDB, and we are trying to do that over the manager 1:23 PM hmm - will a php strlen give the right count? 1:23 PM it should 1:24 PM eww, thats an array. Let me a dig a sec 1:27 PM wdoekes2: I can get 3200000 - 3900000 bytes back 1:28 PM 3.2m-3.9m 1:28 PM ok, now i'm lost. 1:28 PM mbrevda, that's an odd figure. 1:29 PM • mbrevda shrugs. Thats what I'm seeing... 1:29 PM mbrevda: a range of working values isn't really useful.. it's supposed to start at 0 right? what's the largest number? does it change if you send a *different* dataset (i.e. the problem is not only with the size)? 1:30 PM largest is the range I posted. Every iteration I get a slightly different count 1:31 PM as far as the source of the issue: when running a cli command via the manager the results get written to a tmp file, and sent back over the ami. I see the tmp file, and that is being written in full. The issue seems to be buffering back via the ami 1:31 PM could be in your ami client as well then? 1:31 PM so I'm assuming that its not the dataset per se, but rather somewhere between reading and returning the file 1:31 PM do a tcpdump and see who is killing the connection 1:32 PM it could be, but considering that im on the same host, and considering that I get pretty much identical results from both telnet and a php socket, I doubt its a client thing 1:33 PM sounds correct 1:33 PM in that case, compile the evidence and create a bug report if you will 2:03 PM wdoekes2: thanks, will do