Displaying 20 results from an estimated 1000 matches similar to: "Unable to allocate socket: Too may open files"
2007 Jun 15
0
Error: Unable to allocate RTCP socket: Too many open files
Hi,
I have a Intel Xeon Dual Core server, with 3 GB RAM, running Centos 5.0, Asterisk 1.4.4
and mysql 5.0. It is a kinda high-traffic box, with about 60 concurrent calls.
The profile of calls on this box are:
Incoming:
via a Sangoma A101
via SIP from anothjer SIP server
Outgoing
all calls that come in are sent out via SIP to yet another SIP server.
This morning I has this error: (edited)
2007 Jun 20
0
Error: Unable to allocate RTCP socket: Too manyopen files
This was a bug 1.4.4 It has now been fixed in Asterisk 1.4.5
Stuart Bennett wrote:
> Hi Yusuf
>
> A friend of mine had the same problem with a high volume site.. The problem
> lies with a limitation in Linux. Linux will only allow a certain amount of
> open files at a time. You will need to add the following line before running
> asterisk.
>
> ulimit -n 32768
>
>
2003 Jun 23
2
Sip too many open files?
Today my pbx stopped responding to my sip phones..
looking into the log, here what I got:
Jun 23 15:50:05 WARNING[7176]: File rtp.c, Line 586 (ast_rtp_new):
Unable to allocate socket: Too many open files
Jun 23 15:50:05 WARNING[7176]: File chan_sip.c, Line 1308 (sip_alloc):
Unable to create RTP session: Too many open files
Jun 23 15:50:05 WARNING[7176]: File chan_sip.c, Line 4655
2009 May 18
3
Number of max SIP calls.
Hello,
I m using asterisk version 1.6.2.0 beta.
I m trying to test load on it, for which i m using WINSIP installed at
two computers and facing two problems.
Problem 1:
I got 100 users registered to asterisk from each winsip and then
initiates 100 calls from one winsip other winsip.
But the problem is approx of 60 calls get mature and asterisk give error
for the remaining like shown below.
2015 May 21
0
Too many open files - 786 000 already specified as max num open files?
Hi guys
I have a site on Asterisk 1.8.11.0 running in Centos 6.5 that has about 150
concurrent callers.
I keep getting these types of messages in the CLI:
[May 21 11:39:21] WARNING[18469]: channel.c:1189 __ast_channel_alloc_ap:
Channel allocation failed: Can't create alert pipe! Try increasing max file
descriptors with ulimit -n
[May 21 11:39:21] WARNING[18469]: chan_sip.c:7041 sip_new:
2012 Jan 26
2
Too many open files
Hi all,
While trying to track down a T.38 issue, I came across a series of log
entries like this:
============================================================================
[Jan 26 10:23:31] WARNING[32508]: udptl.c:948 ast_udptl_new_with_bindaddr:
Unable to allocate socket: Too many open files
[Jan 26 10:23:31] ERROR[32508]: acl.c:488 ast_ouraddrfor: Cannot create
socket
2007 Sep 20
4
Asterisk 1.2.24 simultaneous call limits.
Hi everyone,
I am running into wall today with simultaneous call limits. I have two
Asterisk machines (fast 3GHz C2D with 2GB of ram). I tried to create a
lot of sip calls from one machine to the other by issuing AMI Originate
commands to one machine. The machine that makes calls plays a message
(demo-intruct) upon the other machine answer. The machine receives the
calls just waits for 40 seconds
2012 Mar 20
0
Outgoing trunk is restricted to g.729 but need ulaw
Hi,
I am taking over an asterisk system from another person and having an issue
where a sip trunk is restricting the outgoing codecs to just g.729
I am dialing in from a Cisco 7960. The Invite from the Cisco has the
folowing M line:
m=audio 17022 RTP/AVP 18 0 8 101.
So it is allowing g.729, ulaw and alaw.
Asterisk is tandeming the call out over a SIP trunk
sip.conf tandem trunk config:
2013 Dec 15
3
Why doesn't Asterisk try to prevent transcoding
Let's say I have two devices configured and the follow call scenarios occur.
[100]
disallow=all
allow=g722&ulaw
Polycom phone with g722,ulaw,alaw,g729
[101]
disallow=all
allow=ulaw
Polycom phone with g722,ulaw,alaw,g729
101 dials 100 -> ulaw to ulaw is chosen
100 dials 101 -> g722 to ulaw is chosen
Ideally when 100 dials 101 ulaw would be chosen since it is the common
format.
2011 Apr 04
2
WARNING chan_sip.c:3115 __sip_xmit
Hey Guys,
Whenever i calling any extension i am getting following WARNING messages do you have any idea they coming from where?
-Satish
shirley*CLI>
== Using SIP RTP CoS mark 5
-- Executing [7623 at from-sip:1] Macro("SIP/7527-00000008", "stdexten,7623,sip/7623&sip/7624") in new stack
-- Executing [s at macro-stdexten:1] Dial("SIP/7527-00000008",
2011 Feb 18
2
no progress indication
I am integrating a new server (Asterisk 1.8.2.3, DAHDI 2.4.0) with VOIP
only trunks, and this server only has soft phones.
When I dial an extension and the phone is not registered, I don't get any
ring or progress indications, and eventually the Dial() times out and
drops into voicemail (as expected).
CLI output:
-- Executing [s at macro-StdExten:6] Dial("IAX2/barneveld-2036",
2011 Mar 25
6
Back-to-back asterisk PRI issue
Following is my scenario to connect back to back PRI of two asterisk server. PRI cards are Sangoma A102D
[Asterisk1]------------[PRI]-Cross Cable---------[Asterisk2]
Asterisk1
; Span 1 (MASTER)
switchtype = national ; commonly referred to as NI2
context = from-pstn
group = 0,24
echocancel = yes
signalling = pri_net
channel => 1-23
Asterisk2
; Span 1
switchtype = national ; commonly
2003 Aug 14
1
ast_channel_alloc() losing pvt struct
I don't understand the reasoning here so could somebody please help me out?
chan_h323 is causing a segmentation fault when trying to connect a call.
I tracked the problem back to chan_h323.c in the oh323_new() function.
the code is: tmp = ast_channel_alloc( 1 );
After this point, tmp->pvt is not allocated (null pointer).
HOWEVER, in the ast_channel_alloc() function right before the
2006 Apr 04
1
Too many open files
Dear all,
we have encounter problem when starting asterisk in the foreground,
"asterisk -vvvvgc" with more 100 SIP calls concurrently. we have set
ulimit to the highest value. still has this problem. Is this the
problem keeping asterisk in the foreground or this is a bug in SVN 1.2
16771?
Apr 5 08:48:36 WARNING[14887]: channel.c:562 ast_channel_alloc: Channel
allocation
2009 Jul 28
0
Asterisk Crashing on chan_h323
Hi,
We have been running asterisk in our telco interconnect box with ss7 and
H323 configured. Everything ran find till now, however, today, it started
crashing with the following messages:
[Jul 28 14:56:55] WARNING[2968]: acl.c:541 ast_ouraddrfor: Cannot create
socket
[Jul 28 14:56:55] ERROR[2968]: chan_h323.c:962 __oh323_rtp_create: Unable to
locate local IP address for RTP stream
[Jul 28
2018 May 24
2
question on setting ulimit on debian
Hi,
I?ve been trying to increase the number of open files for the dovecot user on Debian 9 and have so far, failed! I?ve tried this:
# cat /etc/security/limits.d/limits_dovecot.conf
dovecot soft nofile 2048
dovecot hard nofile 8192
# cat /etc/systemd/system/dovecot.service.d/service.conf
LimitNOFILE=8192
But to no avail:
# prlimit -p 27208|grep -i
2005 Mar 30
2
Unable to allocate channel structure
Hi there, i have a problem with this error in some of my asterisk
boxes, some days in the morning i found this error in the asterisk
console specifically this:
Unable to allocate channel structure
Unable to create/find channel
When this happens im unable to make and receive calls.
The only way to fix this is restarting asterisk. The asterisk version
im running on all servers is "Asterisk
2011 Mar 15
2
Some errors
Hello folks,
since I started with asterisk 1.8.2 I got this messages in my console when finish a call.
-- Executing [1610 at from-e1:1] Dial("SIP/xxx-00000027", "SIP/1610,60") in new stack
== Using SIP RTP CoS mark 5
-- Called 1610
-- SIP/1610-00000028 is ringing
-- SIP/1610-00000028 answered SIP/xxx-00000027
-- Locally bridging SIP/xxx-00000027 and
2004 Sep 13
2
CentOS 3.1: sshd and pam /etc/security/limits.conf file descriptor settings problem
Why can't non-uid 0 users have more than 1024 file descriptors when
logging in via ssh?
I'm trying to allow a user to have a hard limit of 8192 file
descriptors(system defaults to 1024) via the following setting in
/etc/security/limits.conf:
jdoe hard nofile 8192
But when jdoe logs in via ssh and does 'ulimit -Hn' he gets '1024' as a
response. If he tries to
2014 Jul 17
2
ulimit warning when restarting
When restarting Dovecot 2.2.10 (via atrpms) on RHEL 6, I get the error:
Warning: fd limit (ulimit -n) is lower than required under max. load (1024 < 4096), because of default_client_limit
# doveconf default_internal_user
default_internal_user = dovecot
Should dovecot print this warning based on $default_internal_user, or
based on root?
As root:
# ulimit -n
1024
As user dovecot:
$ ulimit -n