See below output;
[root@abc ~]# lsof -u root | wc -l
5116
From: Dovid Bender <do...@telecurve.com>
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> <asterisk-users@lists.digium.com>
> Subject: Re: [asterisk-users] Openfi
See below;
[root@abc asterisk]# lsof -u 50771 | wc -l
0
BTW, I'm using CentOS 6.5
> From: Dovid Bender <do...@telecurve.com>
>
>> To: Asterisk Users Mailing List - Non-Commercial Discussion
>> <asterisk-users@lists.digium.com>
>> Subject: Re: [aster
On Thu, 13 Oct 2016, Dovid Bender wrote:
50771 is the PID. I am talking about the user. for instances if running
as root (which you should never do) then:
lsof -u root | wc -l
Wouldn't
sudo lsof -c asterisk | wc --lines
be more direct and accurate?
--
Thanks in advance,
I'm using CentOS 6.5
>
>
>
>>
>> Date: Thu, 13 Oct 2016 10:20:19 -0400
>>> From: Dovid Bender <do...@telecurve.com>
>>> To: Asterisk Users Mailing List - Non-Commercial Discussion
>>> <asterisk-users@lists.digium.com>
>>> Subject: Re: [asterisk-users] Openfile Issue
>>> Message-ID:
>>>
um.com>
>> Subject: Re: [asterisk-users] Openfile Issue
>> Message-ID:
>>
er <do...@telecurve.com>
>> To: Asterisk Users Mailing List - Non-Commercial Discussion
>> <asterisk-users@lists.digium.com>
>> Subject: Re: [asterisk-users] Openfile Issue
>> Message-ID:
>> <cam3tth2ykzifywjoqf1ezkn9qruvlhli38cmpp6uxjsqck4...@mai
timeout unlimitedunlimitedus
Date: Thu, 13 Oct 2016 09:37:34 -0400
> From: Dovid Bender <do...@telecurve.com>
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> <asterisk-users@lists.digium.com>
> Subject: Re: [asteri
What do you get when you do:
cat /proc//limits ?
On Thu, Oct 13, 2016 at 9:30 AM, Ahmed Munir
wrote:
> Hi all,
>
> Now a days getting openfile issues on asterisk quite often even setting
> system soft limit to 2 and hard limit to 25000 and issue usually
> occurs
Hi all,
Now a days getting openfile issues on asterisk quite often even setting
system soft limit to 2 and hard limit to 25000 and issue usually
occurs during openfile socket consumed by system and asterisk is quite
smaller than the soft or hard limit. See below system and asterisk logs;