With this patch I'm getting: Mar 6 13:15:19 a115 uwsgi: [uwsgi-fastrouter client_addr: 0.0.0.0 client_port: 0] fr_recv_uwsgi_header(): Bad address [plugins/fastrouter/fastrouter.c line 231]
but no "[BUG] while reading from file descriptor ...", so it's something else. 2013/3/6 Roberto De Ioris <[email protected]> > > > 2013/3/6 Roberto De Ioris <[email protected]> > > > >> how many nodes are connected to that fastrouter ? > >> > > > > 7 nodes and 89 subscription keys. > > > > > >> are you periodically calling the stats subsystem ? > > > > > > Yes, at least once a minute. > > > > > > can you add that code > > if (main_peer->in == NULL) { > uwsgi_log("[BUG] while reading from file descriptor %d\n", > main_peer->fd); > } > > soon after that line ? > > // called soon after accept() > static ssize_t fr_recv_uwsgi_header(struct corerouter_peer *main_peer) { > > it should recognize the bad address case > > -- > Roberto De Ioris > http://unbit.it > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi > -- Łukasz Mierzwa
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
