GNOME Bugzilla – Bug 787633
gvfsd-trash crashed with signal 5 in g_main_context_new()
Last modified: 2017-12-19 14:13:42 UTC
Hello, Open bug in launchpad.net https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1716940 "I do not know how this happened." BackTrace:
+ Trace 237955
Regards, -- Cristian
*** Bug 787636 has been marked as a duplicate of this bug. ***
It fails with "Creating pipes for GWakeup: Too many open files". It might mean that we are leaking file descriptors somewhere, but I don't see anything unusual using "lsof -c gvfs". You reported two bugs for different processes at the same time, so I suppose that system limit was reached, so it can be caused by whatever process... Please let me know if you see some enormous file descriptor usage by gvfs processes: printf " count\tpid\tname\n"; lsof -c gvfs | awk '{ if (NR > 1) print $2 "\t" $1; }' | sort | uniq -c | sort -rn But I suppose it was caused by something else, you can show the top 10 file descriptor consumers: printf " count\tpid\tname\n"; lsof | awk '{ if (NR > 1) print $2 "\t" $1; }' | sort | uniq -c | sort -rn | head -10 (I hope the commands are ok, I wrote them in hurry.)
Just a note that you can check the limits using the following: - per process limit: ulimit -n - system limit: cat /proc/sys/fs/file-max
Hello, $ ulimit -n 1024 $ cat /proc/sys/fs/file-max 1198066 Regards, -- Cristian
Thanks, those limits looks ok. Do you see some enormous file descriptor usage by gvfs processes (Comment #2)? Do you see those crashes regularly?
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment. Thanks!