Date: Wed, 15 Oct 2003 12:34:23 -0400 (EDT) From: Daniel Eischen <eischen@vigrid.com> To: Alexander Motin <mav@alkar.net> Cc: David Xu <davidxu@freebsd.org> Subject: Re: KSE & MySQL & rc.d Message-ID: <Pine.GSO.4.10.10310151231450.20881-100000@pcnet5.pcnet.com> In-Reply-To: <3F8D65E2.2090605@alkar.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 15 Oct 2003, Alexander Motin wrote: > David Xu wrote: > > Alexander Motin wrote: > >> This patch did not fix the problem. On the 4th boot system hang with > >> same symptoms. > >> > >> Daniel Eischen wrote: > >> > >>>> I have P4 system with SMP kernel and HyperThreading enabled. > >>>> I have one strange problem with mysql 4.1.0 when using KSE on > >>>> 5.1-CURRENT. > >>> > >>> > > I have been running MySQL 4.1.0 on my SMP machine for monthes, it is > > not P4 HyperThreading, > > but a dual P3 machine, it just works fine for me. > > Do you have 5.1-CURRENT on your machine? Do you using KSE? Yes, he is a KSE developer and runs -current. > > > >>>> After building mysql server with libkse as thread library and adding > >>>> its start script into /usr/local/etc/rc.d, system hangs on boot > >>>> without any error message when mysql trying to start. > >>> > >>> > > Did kernel lock up or can you press ctrl+c to see if you can interrupt it ? > > After that computer do not respond on Ctrl+C, Ctrl+Alt+Del, Enter or any > other key. > > > >>>> If I trying to start mysql by hands after system completely boot > >>>> then everything works just fine. > >>>> If I add delay into mysql start script and run it in backgroud from > >>>> rc.d - everything is fine > >>> > >>> > > If you build mysql from ports, it should install script mysql-server.sh > > under /usr/local/etc/rc.d, > > the default script will run mysqld_safe in background, I am confused > > that you need to > > manually turn it into background, the work should be done atomically by > > the script. > > I had built mysql by hands from sources with options: Please use the port and use libmap.conf to change the threads library from libc_r to libkse. You may be unknowingly missing freebsd-specific patches or linking to both libc_r and libkse. -- Dan Eischen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10310151231450.20881-100000>