When I try to transfer a single webpage to the browser (via local 1GB Ethernet, it is not sending the CSS and icons, and I see lots of these errors in the webserver (www/uwsgi 2.0.20):
When I disable sendfile() in the uwsgi config, the errors go away.
reading sendfile(2), it talks about tuning and the sysctl knobs kern.ipc.nsfbufs, kern.ipc.nsfbufsused, kern.ipc.nsfbufspeak. But I don't have these, and the only kernel source that uses them seems not to be included in amd64 kernels.
The system has lots of free memory and does not experience serious network traffic.
Code:
uwsgi_response_sendfile_do(): Resource temporarily unavailable [core/writer.c line 655] during GET /pgadmin/static/favicon.ico?ver=60400
uwsgi_response_sendfile_do(): Resource temporarily unavailable [core/writer.c line 655] during GET /pgadmin/static/js/generated/pgadmin.css?ver=60400
uwsgi_response_sendfile_do(): Resource temporarily unavailable [core/writer.c line 655] during GET /pgadmin/static/js/generated/pgadmin.style.css?ver=60400
When I disable sendfile() in the uwsgi config, the errors go away.
reading sendfile(2), it talks about tuning and the sysctl knobs kern.ipc.nsfbufs, kern.ipc.nsfbufsused, kern.ipc.nsfbufspeak. But I don't have these, and the only kernel source that uses them seems not to be included in amd64 kernels.
The system has lots of free memory and does not experience serious network traffic.
Code:
16753/17912/34665 mbufs in use (current/cache/total)
12166/7966/20132/2033500 mbuf clusters in use (current/cache/total/max)
10/6568 mbuf+clusters out of packet secondary zone in use (current/cache)
0/845/845/1016750 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/301259 9k jumbo clusters in use (current/cache/total/max)
0/0/0/169458 16k jumbo clusters in use (current/cache/total/max)
28521K/23790K/52311K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for mbufs delayed (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters delayed (4k/9k/16k)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
977 sendfile syscalls
489 sendfile syscalls completed without I/O request
160 requests for I/O initiated by sendfile
621 pages read by sendfile as part of a request
3697 pages were valid at time of a sendfile request
0 pages were valid and substituted to bogus page
0 pages were requested for read ahead by applications
845 pages were read ahead by sendfile
0 times sendfile encountered an already busy page
0 requests for sfbufs denied
0 requests for sfbufs delayed