Ticket #9398 (closed defect: fixed)
Sage meddles with soft rlimits
| Reported by: | nbruin | Owned by: | jason |
|---|---|---|---|
| Priority: | major | Milestone: | sage-4.5.2 |
| Component: | misc | Keywords: | |
| Cc: | Work issues: | ||
| Report Upstream: | N/A | Reviewers: | William Stein |
| Authors: | Nils Bruin | Merged in: | sage-4.5.2.alpha1 |
| Dependencies: | Stopgaps: |
Description
Sage currently removes any soft resource limits set. If those limits are set, it's probably with good reason, so it would be better if it kept limits in place
sh-3.2$ ulimit -S -v 1000000
sh-3.2$ ulimit -v
1000000
sh-3.2$ sage
----------------------------------------------------------------------
| Sage Version 4.4.4, Release Date: 2010-06-23 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: import os
sage: os.system("ulimit -v")
unlimited
0
Attachments
Change History
Changed 3 years ago by nbruin
-
attachment
preserve_rlimits.patch
added
comment:1 Changed 3 years ago by nbruin
- Status changed from new to needs_review
- Authors set to Nils Bruin
comment:2 Changed 3 years ago by was
- Status changed from needs_review to positive_review
I can't remember why this was added to Sage in 2005, so... positive review.
Note: See
TracTickets for help on using
tickets.

change all.py to not touch rlimits