[pypy-dev] pypy sandbox

Dalius Dobravolskas dalius.dobravolskas at gmail.com
Fri Feb 20 10:13:11 CET 2009


On Fri, Feb 20, 2009 at 10:05 AM, Dalius Dobravolskas
<dalius.dobravolskas at gmail.com> wrote:
> Hello,
>
> On Fri, Feb 20, 2009 at 8:30 AM, Dalius Dobravolskas
> <dalius.dobravolskas at gmail.com> wrote:
>> 3. Is settimeout actually working? If I run following code (please
>> don't run it on my server):
> OK. Everything is OK in PyPy code. timeout works (at least log
> indicates that). There is something specific about mod_wsgi and Apache
> in this case.
That's what I have found out:
pypy-c when running behind Apache can't be SIGTERMed only SIGKILLed.
That's how I solved problem now (modifed pypy/tool/killsubprocess.py).
I will dig deeper of course but I will do that later.

HTH for other people who will run sandboxed pypy.

-- 
Dalius
http://blog.sandbox.lt



More information about the Pypy-dev mailing list