a***@asterisk.edu.pl
2010-10-08 07:28:20 UTC
I have:
CallWeaver 1.2.1 SVN branches/rel/1.2 r5645 built on pbx, an x86_64
running Linux on 2010-05-26 09:32:37 UTC
About 184 friends registered and peers to VoIP Provider.
It serv FaxToMail, Voicemails etc. for my customers.
One week after last restart I have errors like:
Couldn't open file /usr/local/share/callweaver/moh/fpm-sunshine.wav
Oct 7 10:58:58 WARNING[139775594826000]: res_musiconhold.c:224
cw_moh_files_next: Unable to open file
'/usr/local/share/callweaver/moh/fpm-sunshine': No such file or
directory
Oct 7 11:02:34 ERROR[139775610001680]: udp.c:101 udp_socket_create:
Unable to allocate socket: Too many open files
Oct 7 11:02:34 WARNING[139775610001680]: chan_sip.c:4933 sip_alloc:
Unable to create RTP audio session: Too many open files
Oct 7 11:02:34 WARNING[139775610001680]: chan_sip.c:16210
sip_request_call: Unable to build sip pvt data for 'user_100'
Oct 7 11:02:34 ERROR[139775610001680]: udp.c:101 udp_socket_create:
Unable to allocate socket: Too many open files
Oct 7 11:02:34 WARNING[139775610001680]: chan_sip.c:4933 sip_alloc:
Unable to create RTP audio session: Too many open files
Oct 7 11:02:34 WARNING[139775610001680]: chan_sip.c:16210
sip_request_call: Unable to build sip pvt data for 'user_101'
Oct 7 11:02:34 ERROR[139775610001680]: udp.c:101 udp_socket_create:
Unable to allocate socket: Too many open files
Oct 7 11:02:34 WARNING[139775610001680]: chan_sip.c:4933 sip_alloc:
Unable to create RTP audio session: Too many open files
Oct 7 11:02:34 WARNING[139775610001680]: chan_sip.c:16210
sip_request_call: Unable to build sip pvt data for 'user_102'
Oct 7 11:02:34 ERROR[139775610001680]: udp.c:101 udp_socket_create:
Unable to allocate socket: Too many open files
Oct 7 11:02:34 WARNING[139775610001680]: chan_sip.c:4933 sip_alloc:
Unable to create RTP audio session: Too many open files
Oct 7 11:02:34 WARNING[139775610001680]: chan_sip.c:16210
sip_request_call: Unable to build sip pvt data for 'user_103'
Oct 7 11:02:34 ERROR[139775610001680]: udp.c:101 udp_socket_create:
Unable to allocate socket: Too many open files
Oct 7 11:02:34 WARNING[139775610001680]: chan_sip.c:4933 sip_alloc:
Unable to create RTP audio session: Too many open files
Oct 7 11:02:34 WARNING[139775610001680]: chan_sip.c:16210
sip_request_call: Unable to build sip pvt data for 'user_104'
Oct 7 11:02:34 ERROR[139775610001680]: udp.c:101 udp_socket_create:
Unable to allocate socket: Too many open files
Oct 7 11:02:34 WARNING[139775610001680]: chan_sip.c:4933 sip_alloc:
Unable to create RTP audio session: Too many open files
Oct 7 11:02:34 WARNING[139775610001680]: chan_sip.c:16210
sip_request_call: Unable to build sip pvt data for 'user_104'
Oct 7 11:02:34 ERROR[139775610001680]: udp.c:101 udp_socket_create:
Unable to allocate socket: Too many open files
Oct 7 11:02:34 WARNING[139775610001680]: chan_sip.c:4933 sip_alloc:
Unable to create RTP audio session: Too many open files
Oct 7 11:02:34 WARNING[139775610001680]: chan_sip.c:16210
sip_request_call: Unable to build sip pvt data for 'user_106'
-- Executing [***@menu_69_1715:3]
Background("SIP/outgoing_user_100-01aa",
"/var/lib/sounds/backgrounds/welcome_cust_1733")
Oct 7 11:10:29 WARNING[139775594293520]: file.c:458 cw_filehelper:
Couldn't open file /var/lib/sounds/backgrounds/welcome_cust_1733.gsm
Oct 7 11:10:29 WARNING[139775594293520]: file.c:844 cw_streamfile:
Unable to open /var/lib/sounds/backgrounds/welcome_cust_1733 (format
alaw): No such file or directory
Oct 7 11:10:29 WARNING[139775594293520]: pbx.c:6747
pbx_builtin_background: cw_streamfile failed on
SIP/outgoing_user_100-01aa for
/var/lib/sounds/backgrounds/welcome_cust_1733, (null), (null), (null)
-- Executing [***@menu_69_1715:4]
WaitExten("SIP/outgoing_user_100-01aa", "3")
Oct 7 11:10:30 ERROR[139775935113488]: db.c:553 cw_db_put: SQL ERR
Query: [insert into odb
values('SIP/Registry','outgoing_user_102','xx.yy.xx.zz:1025:60:user_102:sip:***@192.168.1.11:5060')] Error: [unable to open database file] Retries: 5 Max:
5
-- Registered SIP 'user_102' at xx.yy.xx.zz port 1025 expires 60
Oct 7 11:10:31 WARNING[139775935113488]: channel.c:611
cw_channel_alloc: Channel allocation failed: Can't create alert pipe!
Oct 7 11:10:31 WARNING[139775935113488]: chan_sip.c:4522 sip_new:
Unable to allocate SIP channel structure
Oct 7 11:10:31 NOTICE[139775935113488]: chan_sip.c:14603
handle_request_invite: Unable to create/find channel
-- Stopped music on hold on SIP/outgoing_user_120-efcc
During that ERRORS and WARNINGS it was hard to make calls inbound and
outbound.
After restart, problems has gone. Do I have to path my compilation ?
or set some file access limit in OS ?
Please help
dj_ndc
CallWeaver 1.2.1 SVN branches/rel/1.2 r5645 built on pbx, an x86_64
running Linux on 2010-05-26 09:32:37 UTC
About 184 friends registered and peers to VoIP Provider.
It serv FaxToMail, Voicemails etc. for my customers.
One week after last restart I have errors like:
Couldn't open file /usr/local/share/callweaver/moh/fpm-sunshine.wav
Oct 7 10:58:58 WARNING[139775594826000]: res_musiconhold.c:224
cw_moh_files_next: Unable to open file
'/usr/local/share/callweaver/moh/fpm-sunshine': No such file or
directory
Oct 7 11:02:34 ERROR[139775610001680]: udp.c:101 udp_socket_create:
Unable to allocate socket: Too many open files
Oct 7 11:02:34 WARNING[139775610001680]: chan_sip.c:4933 sip_alloc:
Unable to create RTP audio session: Too many open files
Oct 7 11:02:34 WARNING[139775610001680]: chan_sip.c:16210
sip_request_call: Unable to build sip pvt data for 'user_100'
Oct 7 11:02:34 ERROR[139775610001680]: udp.c:101 udp_socket_create:
Unable to allocate socket: Too many open files
Oct 7 11:02:34 WARNING[139775610001680]: chan_sip.c:4933 sip_alloc:
Unable to create RTP audio session: Too many open files
Oct 7 11:02:34 WARNING[139775610001680]: chan_sip.c:16210
sip_request_call: Unable to build sip pvt data for 'user_101'
Oct 7 11:02:34 ERROR[139775610001680]: udp.c:101 udp_socket_create:
Unable to allocate socket: Too many open files
Oct 7 11:02:34 WARNING[139775610001680]: chan_sip.c:4933 sip_alloc:
Unable to create RTP audio session: Too many open files
Oct 7 11:02:34 WARNING[139775610001680]: chan_sip.c:16210
sip_request_call: Unable to build sip pvt data for 'user_102'
Oct 7 11:02:34 ERROR[139775610001680]: udp.c:101 udp_socket_create:
Unable to allocate socket: Too many open files
Oct 7 11:02:34 WARNING[139775610001680]: chan_sip.c:4933 sip_alloc:
Unable to create RTP audio session: Too many open files
Oct 7 11:02:34 WARNING[139775610001680]: chan_sip.c:16210
sip_request_call: Unable to build sip pvt data for 'user_103'
Oct 7 11:02:34 ERROR[139775610001680]: udp.c:101 udp_socket_create:
Unable to allocate socket: Too many open files
Oct 7 11:02:34 WARNING[139775610001680]: chan_sip.c:4933 sip_alloc:
Unable to create RTP audio session: Too many open files
Oct 7 11:02:34 WARNING[139775610001680]: chan_sip.c:16210
sip_request_call: Unable to build sip pvt data for 'user_104'
Oct 7 11:02:34 ERROR[139775610001680]: udp.c:101 udp_socket_create:
Unable to allocate socket: Too many open files
Oct 7 11:02:34 WARNING[139775610001680]: chan_sip.c:4933 sip_alloc:
Unable to create RTP audio session: Too many open files
Oct 7 11:02:34 WARNING[139775610001680]: chan_sip.c:16210
sip_request_call: Unable to build sip pvt data for 'user_104'
Oct 7 11:02:34 ERROR[139775610001680]: udp.c:101 udp_socket_create:
Unable to allocate socket: Too many open files
Oct 7 11:02:34 WARNING[139775610001680]: chan_sip.c:4933 sip_alloc:
Unable to create RTP audio session: Too many open files
Oct 7 11:02:34 WARNING[139775610001680]: chan_sip.c:16210
sip_request_call: Unable to build sip pvt data for 'user_106'
-- Executing [***@menu_69_1715:3]
Background("SIP/outgoing_user_100-01aa",
"/var/lib/sounds/backgrounds/welcome_cust_1733")
Oct 7 11:10:29 WARNING[139775594293520]: file.c:458 cw_filehelper:
Couldn't open file /var/lib/sounds/backgrounds/welcome_cust_1733.gsm
Oct 7 11:10:29 WARNING[139775594293520]: file.c:844 cw_streamfile:
Unable to open /var/lib/sounds/backgrounds/welcome_cust_1733 (format
alaw): No such file or directory
Oct 7 11:10:29 WARNING[139775594293520]: pbx.c:6747
pbx_builtin_background: cw_streamfile failed on
SIP/outgoing_user_100-01aa for
/var/lib/sounds/backgrounds/welcome_cust_1733, (null), (null), (null)
-- Executing [***@menu_69_1715:4]
WaitExten("SIP/outgoing_user_100-01aa", "3")
Oct 7 11:10:30 ERROR[139775935113488]: db.c:553 cw_db_put: SQL ERR
Query: [insert into odb
values('SIP/Registry','outgoing_user_102','xx.yy.xx.zz:1025:60:user_102:sip:***@192.168.1.11:5060')] Error: [unable to open database file] Retries: 5 Max:
5
-- Registered SIP 'user_102' at xx.yy.xx.zz port 1025 expires 60
Oct 7 11:10:31 WARNING[139775935113488]: channel.c:611
cw_channel_alloc: Channel allocation failed: Can't create alert pipe!
Oct 7 11:10:31 WARNING[139775935113488]: chan_sip.c:4522 sip_new:
Unable to allocate SIP channel structure
Oct 7 11:10:31 NOTICE[139775935113488]: chan_sip.c:14603
handle_request_invite: Unable to create/find channel
-- Stopped music on hold on SIP/outgoing_user_120-efcc
During that ERRORS and WARNINGS it was hard to make calls inbound and
outbound.
After restart, problems has gone. Do I have to path my compilation ?
or set some file access limit in OS ?
Please help
dj_ndc