Re: [Cloud] Slow uWSGI logging

2020-06-25 Thread Roy Smith
https://tools.wmflabs.org/spi-tools/spi/ To generate a request, click the "Sock Info" button or the "Index" link. The log file is /data/project/spi-tools/uwsgi.log Thanks. > On Jun 25, 2020, at 2:12 AM, YiFei Zhu wrote: > > My guess is output stre

Re: [Cloud] Slow uWSGI logging

2020-06-25 Thread YiFei Zhu
Looks like writev syscall does happen instantly, and tail on the host that is running the uwsgi process is also returning the newly written data instantly. Tail on a bastion host seems to see seconds of delay for me, whether I use `tail -f` `tail -F` or `watch tail`. However, the delay is gone if I

Re: [Cloud] Slow uWSGI logging

2020-06-25 Thread Roy Smith
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 >>

Re: [Cloud] Slow uWSGI logging

2020-06-25 Thread Roy Smith
Heh, my mail about NFS being involved cross paths with yours. Thanks for digging into this for me. Should I open a phab ticket on this? > On Jun 25, 2020, at 3:50 PM, YiFei Zhu wrote: > > Looks like writev syscall does happen instantly, and tail on the host > that is running the uwsgi proces

Re: [Cloud] Slow uWSGI logging

2020-06-25 Thread YiFei Zhu
> Should I open a phab ticket on this? Yes please. On Thu, Jun 25, 2020 at 2:55 PM Roy Smith wrote: > > Heh, my mail about NFS being involved cross paths with yours. Thanks for > digging into this for me. > > Should I open a phab ticket on this? > > > > On Jun 25, 2020, at 3:50 PM, YiFei Zhu

Re: [Cloud] Slow uWSGI logging

2020-06-25 Thread Roy Smith
https://phabricator.wikimedia.org/T256426 > On Jun 25, 2020, at 4:00 PM, YiFei Zhu wrote: > >> Should I open a phab ticket on this? > > Yes please. > > On Thu, Jun 25, 2020 at 2:55 PM Roy Smith wrote: >> >> Heh, my mail about NFS being involved cr