FS#46201 - [gnome-terminal] unexplained low ulimit
Attached to Project:
Arch Linux
Opened by ikohvei (ikohvei) - Friday, 04 September 2015, 19:12 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 14 November 2015, 15:53 GMT
Opened by ikohvei (ikohvei) - Friday, 04 September 2015, 19:12 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 14 November 2015, 15:53 GMT
|
Details
Description:
Using the ulimit -Hn or ulimit -Sn commands, from within gnome-terminal the result is always 256. In other terminals (xterm and urxvt tested) the result is the normal system limit of 4096. Launching xterm from within a gnome-terminal ends up with xterm inheriting the the 256 low limit. Launching gnome-terminal from within a xterm ends up with gnome-terminal not inherenting the higher limit, and instead ending up with the low 256 limit again. This low 256 ulimit is blocking some apps from being able to be launched from within gnome-terminal. Additional info: gnome-terminal 3.16.2-1 |
This task depends upon
Closed by Doug Newgard (Scimmia)
Saturday, 14 November 2015, 15:53 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#46374
Saturday, 14 November 2015, 15:53 GMT
Reason for closing: Duplicate
Additional comments about closing:
$ ulimit -n 4096
bash: ulimit: open files: cannot modify limit: Operation not permitted
bash: ulimit: open files: cannot modify limit: Operation not permitted
This is not caused by a limit higher then the global setting. Attempting to set above the global setting (from a different terminal app) returns this error.
bash: ulimit: open files: cannot modify limit: Invalid argument
The FD limit is inherited from dbus-daemon. Check what launches dbus-daemon for your session.
/usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
as user dbus
Im using openbox as a WM.
$ gnome-terminal
Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.Terminal exited with status 1