-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I have apps randomly crashing, and I suspect they are "hiting a limit". Currently I have: cer@Telcontar:~> ulimit -a core file size (blocks, -c) unlimited data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 128109 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 2048 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 4096 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited cer@Telcontar:~> Files I have doubled about a week ago, when I noticed that opening several firefox instances would crash. max user processes I increased years ago, also because of firefox. Now it is happening to other apps, like gkrellm or thunar. See a coredump: <1.2> 2022-10-08T17:35:59.893333+02:00 Telcontar systemd-coredump 1129 - - Process 22105 (Thunar) of user 1000 dumped core.#012#012Stack trace of thread 22105:#012#0 0x00005558bb51b430 n/a (thunar + 0x4e430)#012#1 0x00005558bb52d4bd n/a (thunar + 0x604bd)#012#2 0x00007f3222910546 n/a (libgtk-3.so.0 + 0x353546)#012#3 0x00007f32227033b0 n/a (libgtk-3.so.0 + 0x1463b0)#012#4 0x00007f3220bb3180 g_hash_table_foreach (libglib-2.0.so.0 + 0x41180)#012#5 0x00007f322270328b n/a (libgtk-3.so.0 + 0x14628b)#012#6 0x00007f3222708b19 n/a (libgtk-3.so.0 + 0x14bb19)#012#7 0x00007f322299c51f n/a (libgtk-3.so.0 + 0x3df51f)#012#8 0x00007f3220eaae26 n/a (libgobject-2.0.so.0 + 0x13e26)#012#9 0x00007f3220ec740c g_signal_emit_valist (libgobject-2.0.so.0 + 0x3040c)#012#10 0x00007f3220ec795f g_signal_emit (libgobject-2.0.so.0 + 0x3095f)#012#11 0x00007f3222704d1a gtk_cell_area_apply_attributes (libgtk-3.so.0 + 0x147d1a)#012#12 0x00007f3222923f5d n/a (libgtk-3.so.0 + 0x366f5d)#012#13 0x00007f32229260c a n/a (libgtk-3.so.0 + 0x3690ca)#012#14 0x00007f322292c095 n/a (libgtk-3.so.0 + 0x36f095)#012#15 0x00007f32222edcb0 n/a (libgdk-3.so.0 + 0x2fcb0)#012#16 0x00007f3220bc1007 n/a (libglib-2.0.so.0 + 0x4f007)#012#17 0x00007f3220bc4624 g_main_context_dispatch (libglib-2.0.so.0 + 0x52624)#012#18 0x00007f3220bc49c0 n/a (libglib-2.0.so.0 + 0x529c0)#012#19 0x00007f3220bc4a4c g_main_context_iteration (libglib-2.0.so.0 + 0x52a4c)#012#20 0x00007f32211ce8fd g_application_run (libgio-2.0.so.0 + 0xdb8fd)#012#21 0x00005558bb4f72a2 n/a (thunar + 0x2a2a2)#012#22 0x00007f322058f29d __libc_start_main (libc.so.6 + 0x3529d)#012#23 0x00005558bb4f730a n/a (thunar + 0x2a30a)#012#012Stack trace of thread 22123:#012#0 0x00007f32206651c9 __poll (libc.so.6 + 0x10b1c9)#012#1 0x00007f3220bc4939 n/a (libglib-2.0.so.0 + 0x52939)#012#2 0x00007f3220bc4a4c g_main_context_iteration (libglib-2.0.so.0 + 0x52a4c)#012#3 0x00007f3207bf363d n/a (libdconfsettings.so + 0x963d)#012#4 0x00007f3220bedf5e n/a (libglib-2.0.so. 0 + 0x7bf5e)#012#5 0x00007f32209596ea start_thread (libpthread.so.0 + 0xa6ea)#012#6 0x00007f3220671a6f __clone (libc.so.6 + 0x117a6f)#012#012Stack trace of thread 22120:#012#0 0x00007f32206651c9 __poll (libc.so.6 + 0x10b1c9)#012#1 0x00007f3220bc4939 n/a (libglib-2.0.so.0 + 0x52939)#012#2 0x00007f3220bc4c82 g_main_loop_run (libglib-2.0.so.0 + 0x52c82)#012#3 0x00007f3221208c86 n/a (libgio-2.0.so.0 + 0x115c86)#012#4 0x00007f3220bedf5e n/a (libglib-2.0.so.0 + 0x7bf5e)#012#5 0x00007f32209596ea start_thread (libpthread.so.0 + 0xa6ea)#012#6 0x00007f3220671a6f __clone (libc.so.6 + 0x117a6f)#012#012Stack trace of thread 22119:#012#0 0x00007f32206651c9 __poll (libc.so.6 + 0x10b1c9)#012#1 0x00007f3220bc4939 n/a (libglib-2.0.so.0 + 0x52939)#012#2 0x00007f3220bc4a4c g_main_context_iteration (libglib-2.0.so.0 + 0x52a4c)#012#3 0x00007f3220bc4a91 n/a (libglib-2.0.so.0 + 0x52a91)#012#4 0x00007f3220bedf5e n/a (libglib-2.0.so.0 + 0x7bf5e)#012#5 0x00007f32209596ea start_thread (libpthrea d.so.0 + 0xa6ea)#012#6 0x00007f3220671a6f __clone (libc.so.6 + 0x117a6f) How can I find out which of the limits, in any, are being hit? Say, "ulimit -a" prints all the limits. Can I also print the current number used, somehow? man ulimit doesn't seem to say. There is also no entry in syslog about a limit being hit, one has to guess. - -- Cheers Carlos E. R. (from 15.3 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCY0GmFBwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfV7UsAn02y/CaKSawVEyTP2Wmt TNV59qTuAJ45vDQFXRtHi60VtfQeLH3szxInKw== =4SB4 -----END PGP SIGNATURE-----