NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD 6.99.4/Xen4.1



I had Python 2.7 and I made it running by modifying MAXFILES and ulimit for 
xend.
However, being run the box freezes for 10-15 seconds each 10-15 seconds. :)

Will this patch help, or I met another problem of 6.99/4.1?

On Thu, Apr 19, 2012 at 07:40:27PM +0200, Matthias Drochner wrote:
> 
> > Exception thread.error: "can't allocate lock" in <module 'threading'
> > from '/usr/pkg/lib/python2.7/threading.pyc'> ignored
> > sem_init: Too many open files
> 
> I've also found that the new semaphore implementation doesn't work
> well with Python, in the ipython selftests.
> The appended patch (for python26) works around the problem for me.
> 
> best regards
> Matthias
> 
> 
> ------------------------------------------------------------------------------------------------
> ------------------------------------------------------------------------------------------------
> Forschungszentrum Juelich GmbH
> 52425 Juelich
> Sitz der Gesellschaft: Juelich
> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
> Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
> Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
> Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
> Prof. Dr. Sebastian M. Schmidt
> ------------------------------------------------------------------------------------------------
> ------------------------------------------------------------------------------------------------
> 
> Kennen Sie schon unsere app? http://www.fz-juelich.de/app



-- 
Sincerelly yours


Home | Main Index | Thread Index | Old Index