Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #177575
| From | Daniel Bareiro <daniel-listas@gmx.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Best way to set maximum number of open descriptors for a process |
| Date | 2017-02-09 00:30 +0100 |
| Message-ID | <t8JQu-6Ho-19@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <t8yV4-8fB-15@gated-at.bofh.it> <t8zxM-h3-31@gated-at.bofh.it> <t8AtR-Rq-39@gated-at.bofh.it> <t8CvE-240-23@gated-at.bofh.it> <t8EnM-3ey-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hi, Sven. On 08/02/17 14:37, Sven Hartge wrote: >> In this case, it seems that the service file for systemd is created >> dynamically. Or I'm wrong? >> >> -------------------------------------------------------------------- >> root@conference:~# find / -name jitsi-videobridge.service >> /sys/fs/cgroup/systemd/system.slice/jitsi-videobridge.service >> /run/systemd/generator.late/jitsi-videobridge.service >> /run/systemd/generator.late/runlevel5.target.wants/jitsi-videobridge.service >> /run/systemd/generator.late/runlevel4.target.wants/jitsi-videobridge.service >> /run/systemd/generator.late/runlevel3.target.wants/jitsi-videobridge.service >> /run/systemd/generator.late/runlevel2.target.wants/jitsi-videobridge.service >> -------------------------------------------------------------------- > You can also generate override files for dynamically generated units by > creating /etc/systemd/system/jitsi-videobridge.service.d/configname.conf > > "configname" can be whatever you want. > > In this file you then put > > ,---- > | [Service] > | LimitNOFILE=65536 > `---- > > and do a "systemctl daemon-reload". > > If you now "systemctl cat jitsi-videobridge.service" you should get the > output of the generated file and your appended override config. Great! That worked! It seems that the only value specified in LimitNOFILE applies to both the soft and hard limit. Thank you very much for your reply. Kind regards, Daniel
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread
Best way to set maximum number of open descriptors for a process Daniel Bareiro <daniel-listas@gmx.net> - 2017-02-08 12:30 +0100
Re: Best way to set maximum number of open descriptors for a process <tomas@tuxteam.de> - 2017-02-08 12:50 +0100
Re: Best way to set maximum number of open descriptors for a process Daniel Bareiro <daniel-listas@gmx.net> - 2017-02-08 13:30 +0100
Re: Best way to set maximum number of open descriptors for a process Greg Wooledge <wooledg@eeg.ccf.org> - 2017-02-08 14:30 +0100
Re: Best way to set maximum number of open descriptors for a process Daniel Bareiro <daniel-listas@gmx.net> - 2017-02-08 16:40 +0100
Re: Best way to set maximum number of open descriptors for a process Sven Hartge <sven@svenhartge.de> - 2017-02-08 18:40 +0100
Re: Best way to set maximum number of open descriptors for a process Daniel Bareiro <daniel-listas@gmx.net> - 2017-02-09 00:30 +0100
csiph-web