Date: Sun, 2 Mar 1997 01:30:26 -0800 From: jmg@hydrogen.nike.efn.org (John-Mark Gurney) To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Cc: freebsd-hackers@freebsd.org (FreeBSD Hackers) Subject: Re: 2.2, 3.0 pkg_manage - where are you :-( Message-ID: <19970302013026.PR59577@hydrogen.nike.efn.org> In-Reply-To: <Mutt.19970302092744.j@uriah.heep.sax.de>; from J Wunsch on Mar 2, 1997 09:27:44 %2B0100 References: <17166.857231990@time.cdrom.com> <Pine.BSF.3.91.970301182757.3631C-100000@dolphin.inna.net> <Mutt.19970302092744.j@uriah.heep.sax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
J Wunsch writes: > As Jamie Bowden wrote: > > > Shame that seems to be broken. On three different installs now, two over > > ftp, and one from a cd I burned, sysinstall will freeze during package > > installation. Everything seems to be fine, and it starts installing > > packages okay, but it will freeze up after about 10 packages or so. > > Hmm. What says your console (Alt-F2)? If it says ``out of > processes'', i wouldn't be surprised. sysinstall runs as init, but > i've seen the above one time as well, due to there being many zombies > around. Apparently, sysinstall isn't very interested in the death of > its children. OTOH, it _sometimes_ is interested, and that was enough > to defeat the idea to install a global SIGCHILD handler. (Been there, > done that.) why not put a line like: wait4(-1, &dummy, WNOHANG, 0); at the end of the loop that does a package install... I have had this same problem with a daemon I wrote... so I simply added this line in the loop... seemed to fix my problems... also it would only clear the processes that have exited since you started the packet install... just a thought... ttyl.. -- John-Mark gurney_j@efn.org http://resnet.uoregon.edu/~gurney_j/ Modem/FAX: (541) 683-6954 (FreeBSD Box) Live in Peace, destroy Micro$oft, support free software, run FreeBSD (unix)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970302013026.PR59577>