*BSD News Article 63201


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!yarrina.connect.com.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!gatech!news.mathworks.com!uunet!in2.uu.net!fox.almaden.ibm.com!garlic.com!news.scruz.net!dei.calldei.com!not-for-mail
From: dave@dei.calldei.com (David A. Lee)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: msql causes time to 'stand still'!!!
Date: 27 Feb 1996 14:06:54 -0800
Organization: Dal Enterprises Inc.
Lines: 44
Message-ID: <4gvv9u$db@dei.calldei.com>
NNTP-Posting-Host: 205.179.37.1
Keywords: msql bsdi time

This is really strange.  I'm playing with msql (a mini-sql database)
that has a daemon process that is started from /etc/rc.local

When I run a query (talks to the daemon process via sockets)
time literally stands still !  The query in question takes about 15
seconds to run but date and time say it only takes about .5 seconds!

I then resync my clock and all is well  ... until the next time
I run the query ..

Now the strange part, If I kill of the msqld process and restart
it exactly with the same command line from /etc/rc (msqld &)
then time doesnt stand still anymore when I do queries.

Until ... I reboot then it starts over again !

Two obvious questions ...
1) How can any user proc (running as root) cause time to stand still
 (it does not run settimeofday - I checked the source)

2) If magically a process *can* cause this behaviour, how would
	it change by killing it and restarting it ?

Any suggestions ?  I've tried 3 versions of msql all twith the 
same results.  I think this must be a kernal bug but I cant prove it.

-David Lee
dave@calldei.com





-- 
-------------------------------------
Name: David Lee
E-mail: Dave@calldei.com (David Lee)

Dal Enterprises Inc.
P.O. Box 4032
Felton, CA 95018
Phone: 408-335-6890,  Fax: 408-335-6899
WWW: http://www.calldei.com
-------------------------------------