Subject: Re: mkfontdir hangs on OpenBSD; how to investigate?
To: Lasse Kliemann <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 02/04/2005 11:57:52
On Sat, 15 Jan 2005, Lasse Kliemann wrote:

> /usr/pkg/xorg/bin/mkfontdir -x bdf .
> The mkfontdir process (actually, top shows mkfontscale running) takes up
> about 95% of CPU and won't exit. The same goes for if I just call
> mkfontdir without any parameter. For parameter -h, it prints a usage
> information, but it looks weird; there are lots of additional spaces in
> the output.
> I am unsure how to investigate this further. Any hints are welcome!

Maybe try using ktrace.

Use ktrace to run mkfontdir.

And then use kdump to view the trace file. Maybe it is looping on same
files over and over again. Don't send all the output to this list, but
maybe send some relevant lines.

Or post the kdump output to a URL and let us retrieve it.


 Jeremy C. Reed

 	  	 	 technical support & remote administration