scanimage: infinite loop hogs CPU and fills up disk

Fernando Fernandez (ferdez@despodata.pt)
Mon, 17 May 1999 14:23:07 +0100

Hi!

I've just experienced o couple of problems that filled some
hundred megabytes of disk on our server. Let me explain...

I'm using two linuxes (one server and one workstation).
The user uses the workstation simply as a X-Terminal with
a scanner. All software (including scanimage invocations)
run on the server and the scanner is accessed via network
and saned.

I'v been using a HP Scanjet IIp and a Tecram SCSI controller
with kernel 2.2.7 and it has worked fine. Today I switched
to a Future Domain TMC-1800 controller and the kernel
started to hang. So, the workstation hanged completely.
It seems it was some kind of conflict with a PnP sound
card installed in the workstation. It works now.

Scanimage is being called from a Perl/tk program in a X session
running on the server, so all error messages go to a file
called .xsession-errors. The problem was that, when the
workstation hanged, the messages of scandisk rapidly filled
up the disk because it kept repeating "scanimage: stopping
scanner" or something like that. It only stopped when the
users complained about disk space and I killed the scanimage
process (that was also hogging all the CPU cicles it managed
to grab).

I hope this problem can be worked out although it's not
very serious.

Let me also thank everybody in the SANE team for the good
work!

Fernando

-- 
Fernando Fernandez
http://despodata.pt/ddata/pessoal/ferdez.htm

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com