--- loncom/interface/printout.pl 2008/03/10 10:24:49 1.130 +++ loncom/interface/printout.pl 2008/03/10 22:42:28 1.131 @@ -1,7 +1,7 @@ #!/usr/bin/perl # CGI-script to run LaTeX, dvips, ps2ps, ps2pdf etc. # -# $Id: printout.pl,v 1.130 2008/03/10 10:24:49 foxr Exp $ +# $Id: printout.pl,v 1.131 2008/03/10 22:42:28 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -43,7 +43,7 @@ use LONCAPA::Configuration; use strict; -my $busy_wait_timeout = 20; +my $busy_wait_timeout = 300; # Determine if a user is operating as a student for this course/domain. #Parameters: @@ -825,11 +825,11 @@ sub busy_wait_command { $unchanged_time++; if ($timeout && ($unchanged_time > $timeout)) { print "

Operation timed out!!!

\n"; - print "

Executing $command, The output file $output_file did not grow\n"; + print "

Executing $command, the output file $output_file did not grow\n"; print "after $timeout seconds. This may indicate $command\n"; - print "is in an infinite loop."; - print "See if printing fewer copies helps. Please contact LonCAPA\n"; - print "support about this in any event"; + print "is in an infinite loop.\n"; + print "See if printing fewer copies helps. Please contact LON-CAPA\n"; + print "support about this in any event."; print "

"; kill(9, $pid); # Reaper will do the rest...I hope there's errors in the log. }