Hi all,
I'm using WeBWorK-2.0.1 on apache 1.3.29 with mod_perl 1.29, running on
a Solaris 8 box with two processors and 8GB of memory. The WeBWorK
installation is on a partition that's about 30GB big. I've set the
system up to use image mode for previewing and equation display. And I
have two classes with a total of about 1500 students.
I've now had two occasions where image display and previewing (in
image mode) start failing. The error message that shows up when viewing
a problem is the following:
Warning messages * cd /opt/www/webwork2/webwork-2.0.1/tmp/ImageGenerator.feYu2Ve5 && [latex command] equation > latex.out 2> latex.err returned non-zero status -1: Not enough space at /opt/www/webwork2/pg-2.0/lib/WeBWorK/PG/ImageGenerator.pm line 340. [some messages snipped] * Warning: something's wrong at /opt/www/webwork2/pg-2.0/lib/WeBWorK/PG/ImageGenerator.pm line 345. * Unable to read logfile /.../tmp/ImageGenerator.feYu2Ve5/equation.log at /opt/www/webwork2/pg-2.0/lib/WeBWorK/PG/ImageGenerator.pm line 351. [other similar messages snipped]
At first sight I thought "drat, I filled up the filesystem." But
that doesn't seem to be a problem. df reported that I had 25GB free,
and on the order of 3 million inodes available for use. When I got
these errors before I restarted the webserver, that didn't help, and so
I cleaned out some files and things started working again. I was also
working pretty fast, so I didn't stop to figure out what happened
exactly. I was a little more careful this time.
What I did: I cleaned out the webwork WeBWorK_home/tmp directory,
and deleted all files in WeBWorK_home/htdocs/tmp/equations that were
over two weeks old. This increased the amount of space available in the
filesystem to almost 28GB and the number of free inodes by about
33,000. I was still getting the errors, however, but after restarting
the webserver they went away.
Does anyone have insight on what's going on here? Has anyone seen
similar errors? Has anyone used image mode for this number of (or more)
students?
Thanks,
Gavin
<| Post or View Comments |>
|