[mythtv-users] v31 Backend Killed Creating pipes for GWakeup
Greg Oliver
oliver.greg at gmail.com
Tue Sep 1 18:08:15 UTC 2020
On Tue, Sep 1, 2020 at 12:59 PM jksjdevelop <jksjdevelop at gmail.com> wrote:
> Thanks for the suggestion the limit seems to be 1000 which sounds a lot
>
> $ ulimit -a
> time(seconds) unlimited
> file(blocks) unlimited
> data(kbytes) unlimited
> stack(kbytes) 8192
> coredump(blocks) 0
> memory(kbytes) unlimited
> locked memory(kbytes) 65536
> process 13858
> nofiles 1024
> vmemory(kbytes) unlimited
> locks unlimited
> rtprio 0
>
1024 is low - we usually use 4096 in our products. Thing is - if it is
SystemD running the program, it can easily not use the PAM limits from
limits.conf.
> however lsof | wc -l
>
> produces 33410
>
> monitoring the backend pid shows
>
> lsof -p 1672 | wc -l
> 5
>
It is not per pid if PAM based - it is system-wide per user. 33410 seems
wonky though - it must contain multiple lines per fopen - not sure - never
counted the output wholesale like that. I would use `lsof -u <username>`
> I will monitor the number
> On 01/09/2020 14:27, Greg Oliver wrote:
>
> On Tue, Sep 1, 2020 at 6:04 AM John <jksjdevelop at gmail.com> wrote:
>
>> v31.0-81-g05a613f9fa
>>
>> Has anybody seen the backend fail like this before?
>>
>> From the backend log
>>
>> Aug 31 22:06:37 tv systemd[1]: mythbackend.service: Main process exited,
>> code=killed, status=5/TRAP
>>
>> From Syslog
>>
>> Aug 31 22:06:37 tv kernel: [15079.668950] show_signal: 29 callbacks
>> suppressed
>> Aug 31 22:06:37 tv kernel: [15079.668957] traps: MythSocketThrea[13492]
>> trap int3 ip:7ff07424d0d5 sp:7fed87c569a0 error:0 in
>> libglib-2.0.so.0.6400.3[7ff074211000+84000]
>> Aug 31 22:06:37 tv mythbackend[1690]: (process:1690): GLib-ERROR **:
>> 22:06:37.397: Creating pipes for GWakeup: Too many open files
>> Aug 31 22:07:12 tv systemd[1]: Stopped MythTV Backend.
>> Aug 31 22:07:12 tv systemd[1]: Started MythTV Backend.
>>
>
>
> su to your mythtv user and run `ulimit -a` and see how many open files are
> allowed in the user's security limits.
>
> 22:06:37.397: Creating pipes for GWakeup: Too many open files
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20200901/1eb98f29/attachment.htm>
More information about the mythtv-users
mailing list