Opened 13 years ago
Last modified 7 years ago
#4538 new enhancement
write a python script that runs a subprocess and kills it after a while
Reported by: | was | Owned by: | cwitty |
---|---|---|---|
Priority: | major | Milestone: | sage-6.4 |
Component: | misc | Keywords: | |
Cc: | gfurnish | Merged in: | |
Authors: | Reviewers: | ||
Report Upstream: | Work issues: | ||
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
Create a script sage-walltimekill
SAGE_ROOT/local/bin/ that would run
a subprocess, wait a certain amount of time, then killing it.
sage-walltimekill 3600 sage
would kill the process it starts after 3600 wall seconds.
This will be useful both for doctesting and the notebook. It's the sort of thing ulimit "should" do, but doesn't.
Change History (8)
comment:1 Changed 13 years ago by
- Type changed from defect to enhancement
comment:2 Changed 13 years ago by
- Cc gfurnish added
comment:3 follow-up: ↓ 4 Changed 13 years ago by
comment:4 in reply to: ↑ 3 Changed 13 years ago by
comment:5 Changed 8 years ago by
- Milestone changed from sage-5.11 to sage-5.12
comment:6 Changed 7 years ago by
- Milestone changed from sage-6.1 to sage-6.2
comment:7 Changed 7 years ago by
- Milestone changed from sage-6.2 to sage-6.3
comment:8 Changed 7 years ago by
- Milestone changed from sage-6.3 to sage-6.4
Note: See
TracTickets for help on using
tickets.
Gary,
this is very interesting and would help to make -tp more robust.
Cheers,
Michael