[00:13:01] Hey folks! How should I make a flask tool to work with static files? Do we have instructions like https://wikitech.wikimedia.org/wiki/Help:Toolforge/Web#Making_a_Django_app_work for flask app? [07:09:54] !log quarry restarted uwsgi. nginx reports 502 [07:09:55] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Quarry/SAL [13:23:37] Hey, a friend of mine has webservice in toolforge that has memory leak and gets killed quite often, he doesn't have time to find a proper solution so he wrote a cron to restart the webservice every hour. Does it work this way? also the cron goes to grindengine and it can't find the webservice [13:26:54] Gridengine no longer exists iirc [13:27:59] Amir1: [13:29:21] I mean the grid: https://wikitech.wikimedia.org/wiki/Help:Toolforge#The_grid [14:00:14] !log quarry restarting uwsgi-quarry-web and nginx on quarry-web-01 [14:00:24] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Quarry/SAL [14:01:53] Amir1: I would expect that to work, it's not unusual to launch grid jobs from a cron. I haven't tried it though. [14:16:05] Amir1: does the webservice use Grid or Kubernetes? [14:16:25] restarting a k8s webservice from the grid is probably impossible :/ [14:44:17] Zppix: We have plenty of gridengine. We moved from Oracle Grid Engine to Son of Grid Engine so that it theoretically is sort of maintained upstream. [14:46:13] Amir1: if it gets killed, and that is noticed by the pod in Kubernetes, Kubernetes will restart it on its own [14:46:39] Gridengine would need that kind of restart cron, but k8s doesn't. Moving to k8s might help. [14:53:03] bstorm_: thanks. I think moving it to k8s will be hard but not that much [14:53:09] let me tell him [14:53:38] andrewbogott Lucas_WMDE Thanks! [16:37:55] bstorm_: ah ok