what are you using between nginx and web2py? uwsgi? if that's the case check the uwsgi logs for clues
mic 2015-03-19 19:12 GMT+01:00 Dave S <[email protected]>: > > > On Thursday, March 19, 2015 at 5:17:21 AM UTC-7, Toby wrote: >> >> Hi, >> >> I'm having issues using subprocess.call from within a module file in >> web2py. >> > > >> [...] >> > The funny thing is that if I use an imagemagick command that's faster to >> run (e.g. a lower resolution image) then it works fine. It's only once the >> command is so long that it takes about 5 seconds or more that it starts >> failing when called from within web2py. >> > >> Any advice on what's going wrong and what to do? I tried using os.system >> instead but it doesn't work either. I'm running web2py 2.9.5 with nginx on >> ubuntu 13. It's crossed my mind that nginx might be shutting down the >> subprocess when it runs too long, but I don't know how to check that. >> > > That is my (naive) thought. Does nginx have log files? > > /dps > > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

