Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Callweaver-users] Unable to allocate socket: Too many open files


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> CallWeaver Users
View previous topic :: View next topic  
Author Message
andrzej.ciupek at aste...
Guest





PostPosted: Fri Oct 08, 2010 2:54 am    Post subject: [Callweaver-users] Unable to allocate socket: Too many open Reply with quote

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 [s@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 [s@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:user_102@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-users mailing list
Callweaver-users@callweaver.org
http://lists.callweaver.org/mailman/listinfo/callweaver-users
Back to top
tnelson at fudnet.net
Guest





PostPosted: Fri Oct 08, 2010 8:05 am    Post subject: [Callweaver-users] Unable to allocate socket: Too many open Reply with quote

On 10/8/2010 2:28 AM, andrzej.ciupek@asterisk.edu.pl wrote:
Quote:
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

You may want to check your system and user max number of open
files/descriptors. Info here:

http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/

Also, the issue could be system memory. Do you have enough RAM and swap
(ick)? Each open file/descriptor will use a small amount of memory.

--Tim
_______________________________________________
Callweaver-users mailing list
Callweaver-users@callweaver.org
http://lists.callweaver.org/mailman/listinfo/callweaver-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> CallWeaver Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services