[asterisk-dev] rtp.c: Unable to allocate socket: Too many open files
ast guy
astguy at gmail.com
Thu Jan 19 23:11:56 MST 2006
Hi,
Asterisk was not responding when reconnected as
# asterisk -vvr
and outputing log messages
--------------- --------------- --------------- ---------------
Jan 20 04:50:44 WARNING[11231] acl.c: Cannot create socket
Jan 20 04:50:44 ERROR[11231] rtp.c: Unable to allocate socket: Too
many open files
Jan 20 04:50:44 WARNING[11231] chan_sip.c: Unable to create RTP audio
session: Too many open files
Jan 20 04:50:46 WARNING[11231] acl.c: Cannot create socket
Jan 20 04:50:46 ERROR[11231] rtp.c: Unable to allocate socket: Too
many open files
Jan 20 04:50:46 WARNING[11231] chan_sip.c: Unable to create RTP audio
session: Too many open files
Jan 20 04:50:50 WARNING[11231] acl.c: Cannot create socket
Jan 20 04:50:50 ERROR[11231] rtp.c: Unable to allocate socket: Too
many open files
Jan 20 04:50:50 WARNING[11231] chan_sip.c: Unable to create RTP audio
session: Too many open files
Jan 20 04:50:58 WARNING[11231] acl.c: Cannot create socket
--------------- --------------- --------------- ---------------
when I greped asterisk from lsof (list of open files) output it showed
something
--------------- --------------- --------------- ---------------
asterisk 11170 root 8u IPv4 7620763 UDP *:17008
asterisk 11170 root 9r FIFO 0,5 7314941 pipe
asterisk 11170 root 10r FIFO 0,5 7314942 pipe
asterisk 11170 root 11w FIFO 0,5 7314942 pipe
asterisk 11170 root 12u REG 8,6 8192 309064
/var/lib/asterisk/astdb
asterisk 11170 root 13u IPv4 7314947 UDP *:5060
asterisk 11170 root 14u IPv4 7314956 UDP *:4569
asterisk 11170 root 16u IPv4 7620764 UDP *:17009
asterisk 11170 root 18r FIFO 0,5 7620765 pipe
asterisk 11170 root 19w FIFO 0,5 7620765 pipe
asterisk 11170 root 20u IPv4 7626265 UDP *:12800
asterisk 11170 root 21u IPv4 7626266 UDP *:12801
asterisk 11170 root 22r FIFO 0,5 7626267 pipe
asterisk 11170 root 23w FIFO 0,5 7626267 pipe
asterisk 11170 root 24u IPv4 7623165 UDP *:13296
asterisk 11170 root 25u IPv4 7623166 UDP *:13297
asterisk 11170 root 26r FIFO 0,5 7623167 pipe
asterisk 11170 root 27w FIFO 0,5 7623167 pipe
asterisk 11170 root 28u IPv4 7624084 UDP *:16822
asterisk 11170 root 29u IPv4 7624085 UDP *:16823
asterisk 11170 root 30r FIFO 0,5 7624086 pipe
asterisk 11170 root 31w FIFO 0,5 7624086 pipe
asterisk 11170 root 32u IPv4 7636044 UDP *:18038
asterisk 11170 root 33u IPv4 7636045 UDP *:18039
asterisk 11170 root 34r FIFO 0,5 7636046 pipe
asterisk 11170 root 35w FIFO 0,5 7636046 pipe
asterisk 11170 root 36u IPv4 7624100 UDP *:19966
asterisk 11170 root 37u IPv4 7623822 UDP *:19236
asterisk 11170 root 38u IPv4 7623823 UDP *:19237
asterisk 11170 root 39r FIFO 0,5 7623824 pipe
asterisk 11170 root 40w FIFO 0,5 7623824 pipe
asterisk 11170 root 41u IPv4 7624101 UDP *:19967
asterisk 11170 root 42r FIFO 0,5 7624102 pipe
asterisk 11170 root 43w FIFO 0,5 7624102 pipe
asterisk 11170 root 44u IPv4 7624152 UDP *:10446
asterisk 11170 root 45u IPv4 7624153 UDP *:10447
asterisk 11170 root 46r FIFO 0,5 7624154 pipe
asterisk 11170 root 47w FIFO 0,5 7624154 pipe
asterisk 11170 root 48u IPv4 7624270 UDP *:12420
asterisk 11170 root 49u IPv4 7624271 UDP *:12421
asterisk 11170 root 50r FIFO 0,5 7624272 pipe
asterisk 11170 root 51w FIFO 0,5 7624272 pipe
asterisk 11170 root 52u IPv4 7624376 UDP *:18372
asterisk 11170 root 53u IPv4 7624377 UDP *:18373
asterisk 11170 root 54r FIFO 0,5 7624378 pipe
--------------- --------------- --------------- ---------------
Any one came across this rtp File descriptor issue?
regards,
astguy
More information about the asterisk-dev
mailing list