I've seeing this for a while now, but I can't figure out why it happens.

I have several tasks (around 150) that run once per day (at different 
hours, maybe some of them run simultaneously). 
They always run successfully with no problems. However, once every time, 
one of them fail with this traceback:

Traceback (most recent call last): File 
"/var/www/medios/gluon/scheduler.py", line 481, in executor 
extra_request={'is_scheduler': True}) File 
"/var/www/medios/gluon/shell.py", line 175, in env sys.exit(1) SystemExit: 1



Other times it fails with this traceback:

Traceback (most recent call last): File 
"/var/www/medios/gluon/scheduler.py", line 501, in executor result = 
dumps(_function(*args, **vars)) File "applications/thetimes/compiled/
models.db.py", line 517, in newsletter File 
"applications/thetimes/modules/globales.py", line 1008, in 
enviar_newsletter sleep(1+throttle_count*3) File 
"/var/www/medios/gluon/scheduler.py", line 901, in 
signal.signal(signal.SIGTERM, lambda signum, stack_frame: sys.exit(1)) 
SystemExit: 1


It doesn't happen very often, but still I would like to know if there is 
something in my code that I should fix, or is something related to the 
scheduler itself.
Any observation or suggestion will be appreciated. Thanks!

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to