VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
viljoens at verishare.... Guest
|
Posted: Fri Aug 07, 2015 7:16 am Post subject: [asterisk-users] 786 000 files limit Centos 7 - Asterisk kee |
|
|
Hi Guys
I keep getting messages in the Asterisk 1.8.11.0 CLI that there are not
enough file descriptors available on my Centos 7 box.
I also get regular error messages that RTP connections are failing due to
bad file descriptors.
I have already edited /etc/sysctl.conf by setting fs.file-max to 786 000
files, and running sysctl -p afterward.
I have also edited /etc/security/limits.conf and entered
* soft nofile 786000
* hard nofile 786000
and rebooted my system.
When I ge the Asterisk error messages in the CLI that there are not enough
file descriptors, I immediately ran
lsof | wc -l
and I only get around 100 000 files open - while my limit is 786 000 - yet
still Asterisk keeps complaining.
I have also edited /etc/asterisk/asterisk.conf to have
maxfiles = 786000
and restarted Asterisk / rebooted, but this has no effect.
Why does Asterisk 1.8.11.0 complain that there are insufficient file
descriptors when my limit is 786 000 and the kernel itself states that only
100 000+ handles / decriptors are in use at the moment Asterisk is
complaining about insuffiecient descriptors?
Anybody else ran into this?
Thanks
Stefan
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of
asterisk-users-request@lists.digium.com
Sent: Wednesday,August 5, 2015 07:00 PM
To: asterisk-users@lists.digium.com
Subject: asterisk-users Digest, Vol 133, Issue 5
Send asterisk-users mailing list submissions to
asterisk-users@lists.digium.com
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.digium.com/mailman/listinfo/asterisk-users
or, via email, send a message with subject or body 'help' to
asterisk-users-request@lists.digium.com
You can reach the person managing the list at
asterisk-users-owner@lists.digium.com
When replying, please edit your Subject line so it is more specific than
"Re: Contents of asterisk-users digest..."
Today's Topics:
1. Re: Looking for PRI Card with automatic fail over (Eric Klein)
2. Re: Looking for PRI Card with automatic fail over (Sam Basan)
3. Re: Looking for PRI Card with automatic fail over
(Technical Support)
4. Update: Planned NASA trip around Astricon (Eric Klein)
----------------------------------------------------------------------
Message: 1
Date: Wed, 5 Aug 2015 12:01:15 +0300
From: Eric Klein <eric.klein@greenfieldtech.net>
To: asterisk-users <asterisk-users@lists.digium.com>
Subject: Re: [asterisk-users] Looking for PRI Card with automatic fail
over
Message-ID:
<CAD4dZ0mvbu+yc=wsOGJLcjKE_K717tMVoG+1XQ1J6=8X6R_Rng@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Responding to Matt Riddell, M Shokuie, A J Stiles, and Telium Support (all
below)
Thanks for the suggestions, but a separate gateway is a problem in the
design as the configuration is basically:
Carrier --- PRI --- Asterisk (with failover) ---- Legacy PBX
|
- SIP / IAX2 -- our service or remote office
As this is already acting as a gateway adding another box to the mix seems a
bit over kill (unless I can embed it and the asterisk PBX into a 2 U pizza
box). But since most gateways are designed to be used for fail over servers
/ PBXs not lines I am not sure that this would benefit us.
So far I have found 1 company that seems to have a gateway card and that is
the beroNet PCI / PCIe Gateway Cards which they say has the card level
failover. I will update the list should this meet the use case.
Eric
----------------------------------------------------------------------
Quote: |
Message: 1
Date: Mon, 3 Aug 2015 13:54:05 -0500
From: Matt Riddell <lists@venturevoip.com>
To: Asterisk Users Mailing List - Non-Commercial Discussion
<asterisk-users@lists.digium.com>
Subject: Re: [asterisk-users] Looking for PRI Card with automatic fail
over
Message-ID: <2539D3B3-4981-468F-95AF-34D9D6A170BA@venturevoip.com>
Content-Type: text/plain; charset="us-ascii"
Yep it was red fone
http://red-fone.com
7 years ago
http://www.venturevoip.com/detail.php?news_id=1927
--
Cheers,
Matt Riddell
_______________________________________________
http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/pabx_on_disk.php (PABX on a Disk)
http://www.venturevoip.com/exchange.php (Full ITSP Solution)
http://www.venturevoip.com/cc.php (Call Centre Solutions)
-------------- next part -------------- An HTML attachment was
scrubbed...
URL: <
http://lists.digium.com/pipermail/asterisk-users/attachments/20150803/
f8f1bd57/attachment-0001.html
------------------------------
Message: 2
Date: Mon, 3 Aug 2015 23:31:29 +0430
From: M Shokuie <senahrm@gmail.com>
To: Asterisk Users Mailing List - Non-Commercial Discussion
<asterisk-users@lists.digium.com>
Subject: Re: [asterisk-users] Looking for PRI Card with automatic fail
over
Message-ID:
<CAJC6NeY7if_T-YspbccLLf2ZiL4LOBt45ajJ=kKsgWn=
7nzmmw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi there,
Using Sangoma Vega400 gateway you'll have what is called resilliency
which is exactly what you are looking for.
Regards.
--
M. Shokuie Nia
On Aug 3, 2015 18:51, "Eric Klein" <eric.klein@greenfieldtech.net> wrote:
Quote: | Hi all,
Strange request, I have a customer where we are putting an Asterisk
PBX
| in
Quote: | front of a legacy (non-VoIP) PBX. One of the requirements it that
the Asterisk PBX have 2 PRI ports (on towards the legacy PBX and one
towards the carrier) with the ability to go to pass through should
the Asterisk
| PBX
Quote: | (software or hardware level) fail.
I did not see this feature in the Digium, Sangoma, Allo, or OpenVox
| cards.
Quote: |
Does anyone know of a card that will do this? I know that Digium has
an external box (the r850) that does something similar for 2 PBXs
making
| them
Quote: | high availability, but in this case I only have the 1 Asterisk box
acting as a gateway and passing some calls out over SIP and IAX2.
Any suggestions would be appreciated.
Thanks
Eric
--
____________________________________________________________________
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com
-- New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
| -------------- next part -------------- An HTML attachment was
scrubbed...
URL: <
http://lists.digium.com/pipermail/asterisk-users/attachments/20150803/
536ee20d/attachment-0001.html
------------------------------
Message: 3
Date: Tue, 4 Aug 2015 08:47:02 +0100
From: A J Stiles <asterisk_list@earthshod.co.uk>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users@lists.digium.com>
Subject: Re: [asterisk-users] Looking for PRI Card with automatic fail
over
Message-ID: <201508040847.02341.asterisk_list@earthshod.co.uk>
Content-Type: Text/Plain; charset="utf-8"
On Monday 03 Aug 2015, Eric Klein wrote:
Quote: | Hi all,
Strange request, I have a customer where we are putting an Asterisk
PBX
| in
Quote: | front of a legacy (non-VoIP) PBX. One of the requirements it that
the Asterisk PBX have 2 PRI ports (on towards the legacy PBX and one
towards the carrier) with the ability to go to pass through should
the Asterisk
| PBX
Quote: | (software or hardware level) fail.
I did not see this feature in the Digium, Sangoma, Allo, or OpenVox
| cards.
Quote: |
Does anyone know of a card that will do this? I know that Digium has
an external box (the r850) that does something similar for 2 PBXs
making
| them
Quote: | high availability, but in this case I only have the 1 Asterisk box
acting as a gateway and passing some calls out over SIP and IAX2.
Any suggestions would be appreciated.
|
Use a 4-pole change-over relay to switch the PRI connection either to
the Asterisk box if it gets some sort of "heartbeat" signal from the
computer (say, toggling one of the lines of a printer port, if the
motherboard still has one), or the old PABX?
You might have to do some mean, down and dirty low-level programming,
to embed your heartbeat-generating code in Asterisk's idle loop; but
the Source Code is out there, if you fancy the challenge .....
--
AJS
Note: Originating address only accepts e-mail from list! If replying
off- list, change address to asterisk1list at earthshod dot co dot uk .
------------------------------
Message: 4
Date: Tue, 4 Aug 2015 08:23:47 -0400
From: Technical Support <support@telium.ca>
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] Looking for PRI Card with automatic fail
over
Message-ID: <55C0AED3.4030004@telium.ca>
Content-Type: text/plain; charset=windows-1252; format=flowed
On 8/4/2015 3:47 AM, A J Stiles wrote:
Quote: | On Monday 03 Aug 2015, Eric Klein wrote:
Quote: | Hi all,
Strange request, I have a customer where we are putting an Asterisk
PBX
|
| in
Quote: | Quote: | front of a legacy (non-VoIP) PBX. One of the requirements it that
the Asterisk PBX have 2 PRI ports (on towards the legacy PBX and
one towards the carrier) with the ability to go to pass through
should the Asterisk
|
| PBX
Quote: | Quote: | (software or hardware level) fail.
I did not see this feature in the Digium, Sangoma, Allo, or OpenVox
|
| cards.
Quote: | Quote: |
Does anyone know of a card that will do this? I know that Digium
has an external box (the r850) that does something similar for 2
PBXs making
|
| them
Quote: | Quote: | high availability, but in this case I only have the 1 Asterisk box
|
| acting
Quote: | Quote: | as a gateway and passing some calls out over SIP and IAX2.
Any suggestions would be appreciated.
| Use a 4-pole change-over relay to switch the PRI connection either
to the Asterisk box if it gets some sort of "heartbeat" signal from
the computer (say, toggling one of the lines of a printer port, if
the motherboard
| still
Quote: | has one), or the old PABX?
You might have to do some mean, down and dirty low-level
programming, to
| embed
Quote: | your heartbeat-generating code in Asterisk's idle loop; but the
Source
| Code is
Quote: | out there, if you fancy the challenge .....
| Building on the answer above, have a look at ESL labs - who make such
a relay that can bypass the PRI to the Asterisk server. As well, have
a look at HAAst (www.telium.ca) which can monitor Asterisk and then
control the ESL relay to bypass Asterisk in case of failure.
-Raj-
P.S. My opinions do not necessarily reflect those of my employer. As I
am employed by Telium you can bet that me opinions are biased!
| -------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20150805/ff4d1
632/attachment-0001.html>
------------------------------
Message: 2
Date: Wed, 5 Aug 2015 12:53:11 +0300
From: Sam Basan <sbasan@bluebe.net>
To: Asterisk Users Mailing List - Non-Commercial Discussion
<asterisk-users@lists.digium.com>
Subject: Re: [asterisk-users] Looking for PRI Card with automatic fail
over
Message-ID:
<CAEMwNhfn5=mULCVSY6VMrTUpc6bcWeVVQGS-y=-pr4C4RjwsKQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi,
What you need is PRI TAP (also called SWITCH box)
Check this one
http://www.voicetronix.com/openpri.htm
???? ?????? ????
?????? 3 ????' 2015 17:53,? "Eric Klein" <eric.klein@greenfieldtech.net>
???:
Quote: | Hi all,
Strange request, I have a customer where we are putting an Asterisk
PBX in front of a legacy (non-VoIP) PBX. One of the requirements it
that the Asterisk PBX have 2 PRI ports (on towards the legacy PBX and
one towards the carrier) with the ability to go to pass through should
the Asterisk PBX (software or hardware level) fail.
I did not see this feature in the Digium, Sangoma, Allo, or OpenVox cards.
Does anyone know of a card that will do this? I know that Digium has
an external box (the r850) that does something similar for 2 PBXs
making them high availability, but in this case I only have the 1
Asterisk box acting as a gateway and passing some calls out over SIP and
| IAX2.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20150805/1e4ca
a3f/attachment-0001.html>
------------------------------
Message: 3
Date: Wed, 5 Aug 2015 09:48:56 -0400
From: Technical Support <support@telium.ca>
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] Looking for PRI Card with automatic fail
over
Message-ID: <55C21448.5080907@telium.ca>
Content-Type: text/plain; charset="windows-1252"; Format="flowed"
Quote: | Responding to Matt Riddell, M Shokuie, A J Stiles, and Telium Support
(all below)
Thanks for the suggestions, but a separate gateway is a problem in the
design as the configuration is basically:
Carrier --- PRI --- Asterisk (with failover) ---- Legacy PBX
|
- SIP / IAX2 -- our service or remote
office
As this is already acting as a gateway adding another box to the mix
seems a bit over kill (unless I can embed it and the asterisk PBX into
a 2 U pizza box). But since most gateways are designed to be used for
fail over servers / PBXs not lines I am not sure that this would
benefit us.
So far I have found 1 company that seems to have a gateway card and
that is the beroNet PCI / PCIe Gateway Cards which they say has the
card level failover. I will update the list should this meet the use case.
Eric
----------------------------------------------------------------------
Message: 1
Date: Mon, 3 Aug 2015 13:54:05 -0500
From: Matt Riddell <lists@venturevoip.com
<mailto:lists@venturevoip.com>>
To: Asterisk Users Mailing List - Non-Commercial Discussion
<asterisk-users@lists.digium.com
<mailto:asterisk-users@lists.digium.com>>
Subject: Re: [asterisk-users] Looking for PRI Card with automatic fail
over
Message-ID: <2539D3B3-4981-468F-95AF-34D9D6A170BA@venturevoip.com
<mailto:2539D3B3-4981-468F-95AF-34D9D6A170BA@venturevoip.com>>
Content-Type: text/plain; charset="us-ascii"
Yep it was red fone
http://red-fone.com
7 years ago
http://www.venturevoip.com/detail.php?news_id=1927
--
Cheers,
Matt Riddell
_______________________________________________
http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/pabx_on_disk.php (PABX on a Disk)
http://www.venturevoip.com/exchange.php (Full ITSP Solution)
http://www.venturevoip.com/cc.php (Call Centre Solutions)
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20150803
/f8f1bd57/attachment-0001.html>
------------------------------
Message: 2
Date: Mon, 3 Aug 2015 23:31:29 +0430
From: M Shokuie <senahrm@gmail.com <mailto:senahrm@gmail.com>>
To: Asterisk Users Mailing List - Non-Commercial Discussion
<asterisk-users@lists.digium.com
<mailto:asterisk-users@lists.digium.com>>
Subject: Re: [asterisk-users] Looking for PRI Card with automatic fail
over
Message-ID:
<CAJC6NeY7if_T-YspbccLLf2ZiL4LOBt45ajJ=kKsgWn=7nzmmw@mail.gmail.com
| <mailto:7nzmmw@mail.gmail.com>>
Quote: | Content-Type: text/plain; charset="utf-8"
Hi there,
Using Sangoma Vega400 gateway you'll have what is called
resilliency which
is exactly what you are looking for.
Regards.
--
M. Shokuie Nia
On Aug 3, 2015 18:51, "Eric Klein" <eric.klein@greenfieldtech.net
<mailto:eric.klein@greenfieldtech.net>> wrote:
Quote: | Hi all,
Strange request, I have a customer where we are putting an
| Asterisk PBX in
Quote: | front of a legacy (non-VoIP) PBX. One of the requirements it
| that the
Quote: | Asterisk PBX have 2 PRI ports (on towards the legacy PBX and one
| towards
Quote: | the carrier) with the ability to go to pass through should the
| Asterisk PBX
Quote: | (software or hardware level) fail.
I did not see this feature in the Digium, Sangoma, Allo, or
| OpenVox cards.
Quote: |
Does anyone know of a card that will do this? I know that Digium
| has an
Quote: | external box (the r850) that does something similar for 2 PBXs
| making them
Quote: | high availability, but in this case I only have the 1 Asterisk
| box acting
Quote: | as a gateway and passing some calls out over SIP and IAX2.
Any suggestions would be appreciated.
Thanks
Eric
--
| _____________________________________________________________________
Quote: | -- Bandwidth and Colocation Provided by
| http://www.api-digital.com --
Quote: | New to Asterisk? Join us for a live introductory webinar every
| Thurs:
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20150803
/536ee20d/attachment-0001.html>
------------------------------
Message: 3
Date: Tue, 4 Aug 2015 08:47:02 +0100
From: A J Stiles <asterisk_list@earthshod.co.uk
<mailto:asterisk_list@earthshod.co.uk>>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users@lists.digium.com
<mailto:asterisk-users@lists.digium.com>>
Subject: Re: [asterisk-users] Looking for PRI Card with automatic fail
over
Message-ID: <201508040847.02341.asterisk_list@earthshod.co.uk
<mailto:201508040847.02341.asterisk_list@earthshod.co.uk>>
Content-Type: Text/Plain; charset="utf-8"
On Monday 03 Aug 2015, Eric Klein wrote:
Quote: | Hi all,
Strange request, I have a customer where we are putting an
| Asterisk PBX in
Quote: | front of a legacy (non-VoIP) PBX. One of the requirements it
| that the
Quote: | Asterisk PBX have 2 PRI ports (on towards the legacy PBX and one
| towards
Quote: | the carrier) with the ability to go to pass through should the
| Asterisk PBX
Quote: | (software or hardware level) fail.
I did not see this feature in the Digium, Sangoma, Allo, or
| OpenVox cards.
Quote: |
Does anyone know of a card that will do this? I know that Digium
| has an
Quote: | external box (the r850) that does something similar for 2 PBXs
| making them
Quote: | high availability, but in this case I only have the 1 Asterisk
| box acting
Quote: | as a gateway and passing some calls out over SIP and IAX2.
Any suggestions would be appreciated.
|
Use a 4-pole change-over relay to switch the PRI connection either
to the
Asterisk box if it gets some sort of "heartbeat" signal from the
computer
(say, toggling one of the lines of a printer port, if the
motherboard still
has one), or the old PABX?
You might have to do some mean, down and dirty low-level
programming, to embed
your heartbeat-generating code in Asterisk's idle loop; but the
Source Code is
out there, if you fancy the challenge .....
--
AJS
Note: Originating address only accepts e-mail from list! If
replying off-
list, change address to asterisk1list at earthshod dot co dot uk .
------------------------------
Message: 4
Date: Tue, 4 Aug 2015 08:23:47 -0400
From: Technical Support <support@telium.ca <mailto:support@telium.ca>>
To: asterisk-users@lists.digium.com
<mailto:asterisk-users@lists.digium.com>
Subject: Re: [asterisk-users] Looking for PRI Card with automatic fail
over
Message-ID: <55C0AED3.4030004@telium.ca
<mailto:55C0AED3.4030004@telium.ca>>
Content-Type: text/plain; charset=windows-1252; format=flowed
On 8/4/2015 3:47 AM, A J Stiles wrote:
Quote: | On Monday 03 Aug 2015, Eric Klein wrote:
Quote: | Hi all,
Strange request, I have a customer where we are putting an
|
| Asterisk PBX in
Quote: | Quote: | front of a legacy (non-VoIP) PBX. One of the requirements it
|
| that the
Quote: | Quote: | Asterisk PBX have 2 PRI ports (on towards the legacy PBX and
|
| one towards
Quote: | Quote: | the carrier) with the ability to go to pass through should the
|
| Asterisk PBX
Quote: | Quote: | (software or hardware level) fail.
I did not see this feature in the Digium, Sangoma, Allo, or
|
| OpenVox cards.
Quote: | Quote: |
Does anyone know of a card that will do this? I know that
|
| Digium has an
Quote: | Quote: | external box (the r850) that does something similar for 2 PBXs
|
| making them
Quote: | Quote: | high availability, but in this case I only have the 1 Asterisk
|
| box acting
Quote: | Quote: | as a gateway and passing some calls out over SIP and IAX2.
Any suggestions would be appreciated.
| Use a 4-pole change-over relay to switch the PRI connection
| either to the
Quote: | Asterisk box if it gets some sort of "heartbeat" signal from the
| computer
Quote: | (say, toggling one of the lines of a printer port, if the
| motherboard still
Quote: | has one), or the old PABX?
You might have to do some mean, down and dirty low-level
| programming, to embed
Quote: | your heartbeat-generating code in Asterisk's idle loop; but the
| Source Code is
Quote: | out there, if you fancy the challenge .....
| Building on the answer above, have a look at ESL labs - who make
such a
relay that can bypass the PRI to the Asterisk server. As well, have a
look at HAAst (www.telium.ca <http://www.telium.ca>) which can
monitor Asterisk and then
control the ESL relay to bypass Asterisk in case of failure.
-Raj-
P.S. My opinions do not necessarily reflect those of my employer. As I
am employed by Telium you can bet that me opinions are biased!
| If you place an ESL PRI A/B switch on either side of the Asterisk server you
can easily bypass the Asterisk server, or place it inline with the PRI link.
You can also chose to TAP the lines as noted above, but you have to ensure
that both PRI cards don't go live at once...(if I understand that product
correctly).
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20150805/2e560
70b/attachment-0001.html>
------------------------------
Message: 4
Date: Wed, 5 Aug 2015 17:20:54 +0300
From: Eric Klein <eric.klein@greenfieldtech.net>
To: asterisk-users <asterisk-users@lists.digium.com>
Subject: [asterisk-users] Update: Planned NASA trip around Astricon
Message-ID:
<CAD4dZ0kgbjqntktmRoXFLe+zexBRDBCK97XZrSCN=nd4_REAjg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi All,
(Again cross posting, so sorry if you see multiple copies)
Ok. as we are getting closer to Astricon I am sending out an update to see
who is interested so we can book the trip with transportation.
As this year Astricon is in Orlando, and most of us are tech geeks in on
form or another, we are trying to organize a road trip to see NASA's Kennedy
Space Center.
We are looking at doing this the Friday (Oct. 16) after Astricon so as to
enable those working the con to attend.
Cost per person will be *$121*.
This is for The Kennedy Space Center Tour with Dining with an Astronaut
which includes
1. Roundtrip Transportation from the resort
2. Admission To Kennedy Space Center Visitors Complex
3. Space Shuttle Atlantis
4. Shuttle Launch Experience
5. Angry Birds Space Encounter
6. Apollo/Saturn V Center
7. General Bus Tour
8. I-Max 3D Movies
9. Admission To Astronaut Hall Of Fame
10. Lunch with an Astronaut (you get to also ask questions, get
autographs, and have a picture taken)
So please let me know if you are interested, as we get closer we will
discuss total price and how people can pay it.
Looking forward to seeing you in Orlando in October.
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20150805/97e3f
faf/attachment-0001.html>
------------------------------
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
End of asterisk-users Digest, Vol 133, Issue 5
**********************************************
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
tony at softins.co.uk Guest
|
Posted: Fri Aug 07, 2015 9:05 am Post subject: [asterisk-users] 786 000 files limit Centos 7 - Asterisk kee |
|
|
In article <001c01d0d10a$ce89cd40$6b9d67c0$@verishare.co.za>,
Stefan Viljoen <viljoens@verishare.co.za> wrote:
Quote: | Hi Guys
I keep getting messages in the Asterisk 1.8.11.0 CLI that there are not
enough file descriptors available on my Centos 7 box.
I also get regular error messages that RTP connections are failing due to
bad file descriptors.
I have already edited /etc/sysctl.conf by setting fs.file-max to 786 000
files, and running sysctl -p afterward.
I have also edited /etc/security/limits.conf and entered
* soft nofile 786000
* hard nofile 786000
and rebooted my system.
When I ge the Asterisk error messages in the CLI that there are not enough
file descriptors, I immediately ran
lsof | wc -l
and I only get around 100 000 files open - while my limit is 786 000 - yet
still Asterisk keeps complaining.
I have also edited /etc/asterisk/asterisk.conf to have
maxfiles = 786000
and restarted Asterisk / rebooted, but this has no effect.
Why does Asterisk 1.8.11.0 complain that there are insufficient file
descriptors when my limit is 786 000 and the kernel itself states that only
100 000+ handles / decriptors are in use at the moment Asterisk is
complaining about insuffiecient descriptors?
Anybody else ran into this?
|
No, but I would ask myself why so many file descriptors are being used.
It sounds like you have a file descriptor leak (not being closed when
finished with).
You might also want to look at the output of lsof (or at least some of it)
to see what all these file descriptors are pointing to, and whether it is
indeed Asterisk that is consuming them.
If it is Asterisk, it's quite possible, even probable, that such a leak
has been found and fixed, even in the 1.8 series. 1.8.11.0 is rather old -
the latest is 1.8.32.3, so it would be best to update to that version and
see if the problem persists.
Cheers
Tony
--
Tony Mountifield
Work: tony@softins.co.uk - http://www.softins.co.uk
Play: tony@mountifield.org - http://tony.mountifield.org
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
|
|
|
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
|