Skip to content
Snippets Groups Projects

lloidhandler.py: add try except to catch stale file handle error in reading ranking stat input

Merged Rebecca Ewing requested to merge stale-files into master

One of the most common failure modes of gstlal_inspiral jobs observed in the MDCs is a stale file handle error while reading ranking stat files,

self.rankingstat, _ = far.parse_likelihood_control_doc(ligolw_utils.load_url(self.ranking_stat_input_url, verbose = self.verbose, contenthandler = far.RankingStat.LIGOLWContentHandler))
OSError: [Errno 116] Stale file handle

We have gotten around this by adding a try/except here for OSErrors and it retries after 1 second up to 10 times before failing out.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading