Galène videoconferencing server discussion list archives
 help / color / mirror / Atom feed
From: Thomas Gambier <thomas.gambier@nexedi.com>
To: Juliusz Chroboczek <jch@irif.fr>
Cc: "Michael Ströder" <michael@stroeder.com>,
	Galene <galene@lists.galene.org>
Subject: [Galene] Re: accept4: too many open files
Date: Thu, 18 Feb 2021 10:20:54 +0000	[thread overview]
Message-ID: <96c6497bb7757c121817c7999a591e4f@nexedi.com> (raw)
In-Reply-To: <87lfbmvksw.wl-jch@irif.fr>

On 2021-02-17 15:19, Juliusz Chroboczek wrote:
>> In my systemd unit galene.service [1] I have this set just like for
>> all
>> other WebRTC and TURN servers:
>
>> LimitNOFILE=65536
>
> Yes, it looks like a limit problem.  Thomas, « ulimit -n 65536 » before
> starting the server.

Thank you all for your answers. I applied the "ulimit -n $(ulimit -Hn)"
solution before launching galene.

However, I think that the soft limit should be handled by galene itself.
As soon as galene realizes that it reaches the max file limit, it should
call "setrlimit". Do you have a reason why not to call this function
Juliusz ?

Thanks.

ThomaS.


  parent reply	other threads:[~2021-02-18 10:20 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-17 11:11 [Galene] " Thomas Gambier
2021-02-17 14:13 ` [Galene] " Michael Ströder
2021-02-17 14:19   ` Juliusz Chroboczek
2021-02-17 14:44     ` Michael Ströder
2021-02-17 16:59       ` Juliusz Chroboczek
2021-02-18 10:20     ` Thomas Gambier [this message]
2021-02-18 12:24       ` Juliusz Chroboczek
2021-02-18 13:30         ` HWJ
2021-02-18 15:05           ` Thomas Gambier
2021-02-18 17:11           ` Michael Ströder
2021-02-17 14:14 ` Toke Høiland-Jørgensen
2021-02-17 14:29   ` Juliusz Chroboczek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.galene.org/postorius/lists/galene.lists.galene.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=96c6497bb7757c121817c7999a591e4f@nexedi.com \
    --to=thomas.gambier@nexedi.com \
    --cc=galene@lists.galene.org \
    --cc=jch@irif.fr \
    --cc=michael@stroeder.com \
    --subject='[Galene] Re: accept4: too many open files' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox