Opened 12 years ago

Closed 22 months ago

#9895 closed defect (invalid)

Doctest error raised by os.fork in sage/parallel/

Reported by: mpatel Owned by: drkirkby
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: porting: Solaris Keywords:
Cc: dimpase Merged in:
Authors: Reviewers: Markus Wageringel
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges


David Kirkby reported this previously at #9449:

sage -t  -long devel/sage/sage/parallel/
File "/tmp/kirkby/sage-4.5.alpha4/devel/sage-testing/sage/parallel/", line 152:
    sage: v = list(f([1,2,4])); v.sort(); v
Exception raised:
    Traceback (most recent call last):
      File "/tmp/kirkby/sage-4.5.alpha4/local/bin/", line 1231, in run_one_test
        self.run_one_example(test, example, filename, compileflags)
      File "/tmp/kirkby/sage-4.5.alpha4/local/bin/", line 38, in run_one_example
        OrigDocTestRunner.run_one_example(self, test, example, filename, compileflags)
      File "/tmp/kirkby/sage-4.5.alpha4/local/bin/", line 1172, in run_one_example
        compileflags, 1) in test.globs
      File "<doctest __main__.example_4[9]>", line 1, in <module>
        v = list(f([Integer(1),Integer(2),Integer(4)])); v.sort(); v###line 152:
    sage: v = list(f([1,2,4])); v.sort(); v
      File "/tmp/kirkby/sage-4.5.alpha4/local/lib/python/site-packages/sage/parallel/", line 64, in parallel_iter
        p = Pool(processes)
      File "/tmp/kirkby/sage-4.5.alpha4/local/lib/python2.6/multiprocessing/", line 227, in Pool
        return Pool(processes, initializer, initargs)
      File "/tmp/kirkby/sage-4.5.alpha4/local/lib/python2.6/multiprocessing/", line 104, in __init__
      File "/tmp/kirkby/sage-4.5.alpha4/local/lib/python2.6/multiprocessing/", line 104, in start
        self._popen = Popen(self)
      File "/tmp/kirkby/sage-4.5.alpha4/local/lib/python2.6/multiprocessing/", line 94, in __init__ = os.fork()
    OSError: [Errno 12] Not enough space

According to this page, insufficient free memory is the problem.

Change History (4)

comment:1 Changed 12 years ago by mpatel

Will adding swap space help?

comment:2 Changed 23 months ago by mkoeppe

  • Cc dimpase added
  • Milestone set to sage-duplicate/invalid/wontfix
  • Status changed from new to needs_review

Outdated, should be closed

comment:3 Changed 22 months ago by gh-mwageringel

  • Reviewers set to Markus Wageringel
  • Status changed from needs_review to positive_review

comment:4 Changed 22 months ago by chapoton

  • Resolution set to invalid
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.