Graphical console in stable/10 stuck on heavy writing

Marc Santhoff M.Santhoff at web.de
Tue Dec 24 22:19:33 UTC 2013


On So, 2013-12-22 at 21:29 -0800, Adrian Chadd wrote:
> I see this when the kernel is outputting debugging .. the console can
> quickly lock up exactly how you describe. I've never figured out why
> though. :(
> 
> 
> -a
> 
> On 22 December 2013 16:47, Mark Martinec <Mark.Martinec+freebsd at ijs.si> wrote:
> > FreeBSD amd64, recent stable/10:
> >
> > When running some task on a graphical console window
> > and that task writes lots of output to a console, the
> > console gets stuck after some time (like 20 minutes),
> > output stops, keyboard appears unresponsive, alt-ctrl-Fn
> > is unable to switch consoles - but the machine seems
> > otherwise sane: I can log in over ssh, file system and
> > processes are healthy, CPU not busy.

Long ago I had to fight a similar problem when using FreePascal on
FreeBSD - must have been a stable OS version of 2004 or so.

The solution was to switch the file descriptor in use from non blocking
to blocking i/o. IIRC this held true for stdout and stderr.

I have no idea what was going on and if that was a freebsd or fpc issue,
though.

HTH anyhow,
Marc

-- 
Marc Santhoff <M.Santhoff at web.de>



More information about the freebsd-stable mailing list