> ----- Oryginalna wiadomoÅÄ ----- >> Od: "Roberto De Ioris" <[email protected]> >> Do: "uWSGI developers and users list" <[email protected]> >> WysÅane: poniedziaÅek, 6 luty 2012 10:54:29 >> Temat: Re: [uWSGI] harakiri >> >> on a 32bit system syscall 220 is getdents64. >> Your app was doing a readdir() >> >> on a 64bit system syscall 220 is clone(). >> Your app was creating a thread >> > > > Thank you. > > Is it possible to print a Traceback from the place where harakiri > interrupt request ? >
in 1.1 (tip) you get the backtrace (you can get it whenever you want with USR2). The problem is what you get is the low-level backtrace, not the python one, and i suppose this is what you want. The Charles Duffy trick (http://projects.unbit.it/uwsgi/wiki/TipsAndTricks) could be a good approach, we could start a dummy python thread for each worker, waiting for an event and printing tracebacks on demand. -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
