Opened 3 years ago

Last modified 2 years ago

#27412 new defect

Running out of file descriptors crashes sage

Reported by: sbrandhorst Owned by:
Priority: major Milestone:
Component: interfaces Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges


sage: from sage.env import SAGE_EXTCODE
sage: for k in range(10000):
....:     gp = Gp()
....: + "/pari/simon/")
....:     k

breaks at k = 1922 with

OSError                             Traceback (most recent call last)
/home/simon/sage/local/lib/python2.7/pty.pyc in fork()
    107     master_fd, slave_fd = openpty()
--> 108     pid = os.fork()
    109     if pid == CHILD:
    110         # Establish a new session.

OSError: [Errno 11] Resource temporarily unavailable

Oops, Sage crashed. We do our best to make it stable, but...

Change History (2)

comment:1 Changed 3 years ago by embray

  • Milestone changed from sage-8.7 to sage-8.8

Ticket retargeted after milestone closed (if you don't believe this ticket is appropriate for the Sage 8.8 release please retarget manually)

comment:2 Changed 2 years ago by embray

  • Milestone sage-8.8 deleted

As the Sage-8.8 release milestone is pending, we should delete the sage-8.8 milestone for tickets that are not actively being worked on or that still require significant work to move forward. If you feel that this ticket should be included in the next Sage release at the soonest please set its milestone to the next release milestone (sage-8.9).

Note: See TracTickets for help on using tickets.