icatproject-contrib / ijp.server

The server component of the ICAT Job Portal
Other
0 stars 1 forks source link

Intermittent problems getting job output #13

Open fisherab opened 9 years ago

fisherab commented 9 years ago
When viewing job output, I have intermittently seen the following errors:

Server error: class java.nio.file.NoSuchFileException reports /home/batch/jobs/wlytzjkwss.sh.o202_tmp
Server error: No output file available at the moment

and also another one beginning "Temporary problem..." which I haven't been able to
grab the full message for yet.

These errors can appear when you click the Display Job Output button or when you leave
the output window to refresh itself every 10 seconds.

At the time I had at least 2 jobs running and was changing frequently between viewing
the output of each of them.

Original issue reported on code.google.com by kevin.phipps13 on 2013-05-15 13:51:33

fisherab commented 9 years ago
The "Temporary problem..." error I was getting is:

Temporary? problem getting output /home/batch/xervvwehly.sh.o211: No such file or directory

Original issue reported on code.google.com by kevin.phipps13 on 2013-05-15 13:55:57

fisherab commented 9 years ago
This could be a synchronization problem. Temporary files are written with a fixed file
name, then read and deleted. One solution might be to write to a randomly chosen file
name then conflicts should not arise.

Original issue reported on code.google.com by dr.s.m.fisher on 2013-05-15 16:26:01

fisherab commented 9 years ago
(No text was entered with this change)

Original issue reported on code.google.com by dr.s.m.fisher on 2013-05-15 16:27:31

brianritchie1312 commented 7 years ago

Update: exceptions when getting temporary output from a running job are now logged but not reported back to the user; the user only sees a "no output available" message. We still see exceptions in the logs (though conflicts should no longer be an issue), so this issue should remain open.