>>>>> "MTO" == Matthew T O'Connor <matthew@zeut.net> writes:
MTO> Yeah, FreeBSD testing would have been nice, but I don't have access to
MTO> any FreeBSD boxes so.....
FWIW, with the fflush() added after that sleep, and the fix to the
long long computation of sleep time to keep it from overflowing,
pg_autovacuum has been working flawlessly on my FreeBSD 4.9 + PG 7.4.0
production server. I'm just still playing with tuning pg_autovacuum
to keep it from vacuuming my busy tables *too* often.
Just a question: will my test program show negative sleep 'diff' on
your linux box? I can't imagine that it would give different results
than on freebsd.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D. Khera Communications, Inc.
Internet: khera@kciLink.com Rockville, MD +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/