On 02/17/2016 11:42 AM, Stephan Beal wrote: > On Wed, Feb 17, 2016 at 5:30 PM, Boruch Baum <boruch_b...@gmx.com> wrote: > >> One distro I'm using is Manjaro, and they've set $BROWSER in >> /etc/skel/.bashrc to xdg-open. In that situation, when a command line >> program tries to open a port on localhost, xdg-open tries and fails. >> fossil ui seems to persistly retry forever, causing a fork bomb. >> > > That's a new one. Fossil's probably trying each port in succession. I caught it at 4800+ processes to port 8080 (ps -aux |grep xdg-open and ps-aux|grep 8080) > >> So, the easy patch is to tell me to change my $BROWSER value, right? >> Done. But if my diagnosis of the situation is correct, fossil ui should >> be patched to fail gracefully. >> > > Try: > > [odroid@host:~/fossil/cwal/s2/mod/termbox]$ f help set | grep browser > web-browser A shell command used to launch your preferred > web browser when given a URL as an argument. > > fossil set web-browser /your/browser > > Pass the -global flag to set it globally (can be overridden per repo, if > you like). > > That ought to do it, i think. That's good to know. In the big picture, setting the $BROWSER value is the better solution for me, on the user side, because it avoids problems with other programs. On the vendor side, if fossil ui feels a need to spawn a second process to open the browser, it should make sure the first one has been killed first. From the system design side, I'm going to now check my general fork-bomb protection settings, and take up my findings with the distro maintainer.
-- hkp://keys.gnupg.net CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0 _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users