2017-05-03 17:52 GMT+03:00 Christer Solskogen <[email protected]> :
> On May 3, 2017 15:34, "Renaud Allard" <[email protected]> wrote: > > Hello, > > Since I installed all the new patches with syspatch I get this in the logs: > May 3 15:30:22 isildur dhcpd[79314]: pf pipe closed > May 3 15:30:22 isildur dhcpd[79314]: pf pipe error: Broken pipe > May 3 15:30:22 isildur dhcpd[11508]: pf pipe error: Broken pipe > May 3 15:30:22 isildur dhcpd[79314]: pf pipe error: Broken pipe > May 3 15:30:22 isildur last message repeated 2 times > > This happens many times per second and of course fills the logs partition. > I don't see anything obvious in the patch code which would cause this > tough. > I got the same problem here. 2Gb of /var/log/ was filled in few seconds. from /src/usr.sbin/dhcpd/pfutils.c for (;;) { pfd[0].fd = pfpipe[0]; pfd[0].events = POLLIN; if ((nfds = poll(pfd, 1, -1)) == -1) if (errno != EINTR) log_warn("poll"); /* Maybe we should break from infinite loop??? */ if (nfds > 0 && (pfd[0].revents & POLLHUP)) log_warnx("pf pipe closed"); if (nfds > 0 && (pfd[0].revents & POLLIN)) { memset(&cmd, 0, l); r = atomicio(read, pfpipe[0], &cmd, l); if (r != l) log_warn("pf pipe error"); -- /unk

