Il giorno 28/feb/2012, alle ore 08:40, Evgeny Turnaev ha scritto: > Ok. I will try to make mmaped posix semaphores in lock.c and > python_plugin.c soon.
i am rewriting a bit the locking api. Some user may want to have instances-aware locking (you can lock from multiple uWSGi instances) using files or ipc. I think i will commit it in an hour. > > 2012/2/28 Roberto De Ioris <[email protected]>: >> >>> No harakiri. >> >> Carefully reading FreeBSD kernel sources showed no userspace support >> for umtx shared by processes (even if some kernel code is ready for that). >> >> I will remove umtx support in 1.1, falling back to ipc or flock (the user >> will choose what to use at runtime). >> >> From the FreeBSD list, it looks like they want to use umtx to implement >> process-shared posix mutexes, as soon as they are ready i will re-enable >> it for FreeBSD >> >>> >>> 2012/2/28 Roberto De Ioris <[email protected]>: >>>> >>>>> Forgot to mention: >>>>> >>>>> to reproduce deadlock run python app from prev letter and >>>>> benchmark it wiith >>>>> ab -n 100 -c 100 url >>>>> or >>>>> openload url 150 >>>>> >>>>> this will open at least 2 connections almost at the same start time so >>>>> that the deadlock can appear. >>>> >>>> Have you noted if some harakiri has been triggered before the deadlock ? >>>> >>>> -- >>>> Roberto De Ioris >>>> http://unbit.it >>>> _______________________________________________ >>>> uWSGI mailing list >>>> [email protected] >>>> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi >>> >>> >>> >>> -- >>> -------------------------------------------- >>> Турнаев Евгений Викторович >>> +7 906 875 09 43 >>> -------------------------------------------- >>> _______________________________________________ >>> uWSGI mailing list >>> [email protected] >>> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi >>> >> >> >> -- >> Roberto De Ioris >> http://unbit.it >> _______________________________________________ >> uWSGI mailing list >> [email protected] >> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi > > > > -- > -------------------------------------------- > Турнаев Евгений Викторович > +7 906 875 09 43 > -------------------------------------------- > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi -- Roberto De Ioris http://unbit.it JID: [email protected] _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
