Forums

web2py scheduler tasks all failing

2023-04-24 16:42:46 Mon Apr 24 16:42:46 2023 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request /admin/default/edit/TargetTool/controllers/appadmin.py?id=controllers__appadmin__py (ip 10.0.0.83) !!! 2023-04-24 16:42:46 Mon Apr 24 16:42:46 2023 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /admin/default/edit/TargetTool/controllers/appadmin.py?id=controllers__appadmin__py (10.0.0.83) 2023-04-24 16:42:46 ERROR:root:OSError: write error

My guesses at the problem: - I saw a note that python is running without threading enabled.
does this need to be turned on? - your mercy for graceful operations on workers is 60 seconds.. needs more time?

Suggestions?

Sorry, that was badly formatted

023-04-24 16:42:46 Mon Apr 24 16:42:46 2023 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request /admin/default/edit/TargetTool/controllers/appadmin.py?id=controllers__appadmin__py (ip 10.0.0.83) !!!

2023-04-24 16:42:46 Mon Apr 24 16:42:46 2023 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /admin/default/edit/TargetTool/controllers/appadmin.py?id=controllers__appadmin__py (10.0.0.83)

2023-04-24 16:42:46 ERROR:root:OSError: write error

My guesses at the problem:

I saw a note that python is running without threading enabled. does this need to be turned on? 
Your mercy for graceful operations on workers is 60 seconds.. needs more time?

Suggestions?

Yes, there is no threading and 'OSError: write error' message is logged when a client disconnects from the server before the server has finished sending the response.