This seems to be related to NFS, or maybe some interaction between docker and NFS.
I set up django to do its own logging, and saw the same behavior. Next I connected to the docker node with "webservice --backend=kubernetes python3.7 shell" and append directly to the log file with "echo foo >> django.log". It still took 30 seconds or so to show up while I was tailing the file on the bastion. > On Jun 25, 2020, at 2:12 AM, YiFei Zhu <zhuyifei1...@gmail.com> wrote: > > My guess is output stream buffering, at either the libc level or the > python level. > > Which tool is this? I can probably strace and see if that is the case. > > YiFei Zhu > > > On Wed, Jun 24, 2020 at 10:16 PM Roy Smith <r...@panix.com> wrote: >> >> I'm running a web server with "webservice --backend=kubernetes python3.7". >> As I tail the uwsgi.log file, requests to my server get logged with very >> long delays. I just timed one at about a minute and a half between when the >> request was served (03:07:57 UTC 2020) and when it showed up in the log file >> (03:09:23 UTC 2020). >> >> What is going on here? Is there some way to make it not do this? >> _______________________________________________ >> Wikimedia Cloud Services mailing list >> Cloud@lists.wikimedia.org (formerly lab...@lists.wikimedia.org) >> https://lists.wikimedia.org/mailman/listinfo/cloud > > _______________________________________________ > Wikimedia Cloud Services mailing list > Cloud@lists.wikimedia.org (formerly lab...@lists.wikimedia.org) > https://lists.wikimedia.org/mailman/listinfo/cloud _______________________________________________ Wikimedia Cloud Services mailing list Cloud@lists.wikimedia.org (formerly lab...@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/cloud