HC2 File Descriptor Limit - Increasing it fails

Post Reply
ejcmdq
Posts: 2
Joined: Tue Jan 15, 2019 1:59 am
languages_spoken: english
ODROIDs: HC2
Has thanked: 0
Been thanked: 0
Contact:

HC2 File Descriptor Limit - Increasing it fails

Unread post by ejcmdq » Wed Aug 28, 2019 8:52 pm

Sirs,
We are using HC2 to record video cameras, and we tried to incres the file descriptor limit in the standard way (/etc/security/limits.conf unlimited -n) but it fails.
Is there any kernel limitation or other possible issue?
We're running kernel 4.14.111-158

Tks in advance !

User avatar
mad_ady
Posts: 6519
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 163 times
Been thanked: 125 times
Contact:

Re: HC2 File Descriptor Limit - Increasing it fails

Unread post by mad_ady » Thu Aug 29, 2019 3:55 am

Yes, see the conf files in /etc/systemd/. I don't remember the files setting exactly, but it might be this one:

Code: Select all

/etc/systemd/user.conf:#DefaultLimitNOFILE=

ejcmdq
Posts: 2
Joined: Tue Jan 15, 2019 1:59 am
languages_spoken: english
ODROIDs: HC2
Has thanked: 0
Been thanked: 0
Contact:

Re: HC2 File Descriptor Limit - Increasing it fails

Unread post by ejcmdq » Tue Sep 03, 2019 7:58 am

Mr, good morning !
Tks for reply !
Just remove the # and add a number like 2048 or bigger?
Any further advice?

This is my current user.conf content:
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# You can override the directives in this file by creating files in
# /etc/systemd/user.conf.d/*.conf.
#
# See systemd-user.conf(5) for details

[Manager]
#LogLevel=info
#LogTarget=console
#LogColor=yes
#LogLocation=no
#SystemCallArchitectures=
#TimerSlackNSec=
#DefaultTimerAccuracySec=1min
#DefaultStandardOutput=inherit
#DefaultStandardError=inherit
#DefaultTimeoutStartSec=90s
#DefaultTimeoutStopSec=90s
#DefaultRestartSec=100ms
#DefaultStartLimitIntervalSec=10s
#DefaultStartLimitBurst=5
#DefaultEnvironment=
#DefaultLimitCPU=
#DefaultLimitFSIZE=
#DefaultLimitDATA=
#DefaultLimitSTACK=
#DefaultLimitCORE=
#DefaultLimitRSS=
#DefaultLimitNOFILE=
#DefaultLimitAS=
#DefaultLimitNPROC=
#DefaultLimitMEMLOCK=
#DefaultLimitLOCKS=
#DefaultLimitSIGPENDING=
#DefaultLimitMSGQUEUE=
#DefaultLimitNICE=
#DefaultLimitRTPRIO=
#DefaultLimitRTTIME=


Noted thanks, E!

User avatar
mad_ady
Posts: 6519
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 163 times
Been thanked: 125 times
Contact:

Re: HC2 File Descriptor Limit - Increasing it fails

Unread post by mad_ady » Tue Sep 03, 2019 2:51 pm

Yes, but go with a much higher limit - like 32768

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 2 guests