Your message dated Wed, 23 Aug 2023 13:46:48 +0200
with message-id <eb883ed9-1012-4b05-97c9-96276fe07...@debian.org>
and subject line Re: gnome-terminal ignores system ulimits
has caused the Debian Bug report #923312,
regarding gnome-terminal ignores system ulimits
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
923312: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=923312
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: gnome-terminal
Version: 3.22.2-1

My /etc/security/limits.d/local.conf says

        * soft nofile 4096
        * hard nofile 16584
        root soft nofile 4096
        root hard nofile 16584

But within gnome-terminal I just get

        % egrep ^Limit\|open /proc/$$/limits
        Limit                     Soft Limit           Hard Limit           
Units
        Max open files            1024                 4096                 
files

Using other terminal emulators (xterm, xfce4-terminal) there
is no such problem.

This breaks my apps. gnome-terminal and gnome-terminal-server
should resepct the ulimits initially set via pam_limits.so at
login time and inherited from the calling process.


Regards
Harri

--- End Message ---
--- Begin Message --- On Tue, 26 Feb 2019 08:24:07 +0100 Harald Dunkel <harald.dun...@aixigo.de> wrote:
Package: gnome-terminal
Version: 3.22.2-1

My /etc/security/limits.d/local.conf says

        * soft nofile 4096
        * hard nofile 16584
        root soft nofile 4096
        root hard nofile 16584

But within gnome-terminal I just get

        % egrep ^Limit\|open /proc/$$/limits
        Limit                     Soft Limit           Hard Limit           
Units
        Max open files            1024                 4096                 
files

Using other terminal emulators (xterm, xfce4-terminal) there
is no such problem.

This breaks my apps. gnome-terminal and gnome-terminal-server
should resepct the ulimits initially set via pam_limits.so at
login time and inherited from the calling process.

gnome-terminal uses a systemd --user service to implement its functionality.
See
systemctl --user cat gnome-terminal-server.service
systemctl --user status gnome-terminal-server.service

If you want to change the (u)limits of this service, please see
man systemd.exec → LimitNOFILE

You can create a drop-in config for gnome-termin-server.service via

systemctl edit --user gnome-terminal-server.service

User services do not get the limits from /etc/security/limits, those are typically used in login/user sessions.

Regards,
Michael

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to