Help please - gnuplot runaway processes
Hello,
I'm using gnuplot to create webplots on the fly. I call gnuplot
from a perl cgi file using the command:
gnuplot $gpfile | ppmtogif 2> /dev/null > $imagedir/$giffile
However, every now and again (about 1 in 5 times), the
gnuplot process does not terminate and starts using huge amounts of
cpu.
Here is an example from top:
13513 www 20 1 1016 1016 728 R N 0 45.9 0.1 1:20 gnuplot
13589 www 18 1 1016 1016 728 R N 0 44.3 0.1 0:03 gnuplot
13568 www 17 1 1016 1016 728 R N 0 44.1 0.1 0:08 gnuplot
13402 www 14 1 1016 1016 728 R N 0 42.7 0.1 3:19 gnuplot
There have been times when the gnuplot process had been running for
hours before I killed it.
The version is:
G N U P L O T
Linux version 3.7
patchlevel 1
last modified Fri Oct 22 18:00:00 BST
1999
This system is a Debian Potato (Stable) GNU/Linux box.
Any help would be really appreciated.
Regards,
Cyrus
--
Cyrus Patel - cyrus@linuxfan.com
Dept. of Computer Engineering Debian GNU/Linux
University of New South Wales (Woody)
Sydney, Australia. ICQ: 50738541
http://www.cyrusp.com Mobile: +61 0402 266 731 cyrusmobile@linuxfreak.com
Reply to: