Re: mISDN_send: error -12 strikes again
jolly <[email protected]>
| Newsgroups | gmane.linux.isdn.i4l.user |
|---|---|
| Message-ID | <[email protected]> |
Ralf Schlatterbeck wrote: > Yesterday we had the message "mISDN_send: error -12" filling > /var/log/kern.log. Restarting asterisk "fixed" it. > > hi ralf, i guess it is because chan_lcr runs into deadlock inside asterisk. since the process of chan_lcr holds a lock and never returns after calling some asterisk function, bchannel read will not be processed, so the kernel drops messages to prevent overfill. this is why you receive the message above. i suggest do debug which process calls the chan_lcr global lock and unlock function. then, if asterisk hangs, use gdb to do backtrace all threads of asterisk. you can see against which lock each thread runs. since locking mechanism of asterisk is quite complex and unknown to me, you might be on your own with that. regards, andreas