[syslog-ng]More information on time_reopen, continuous reconnects,
and syslog-ng1.4.10 - 1.4.12.
matthew.copeland@honeywell.com
matthew.copeland@honeywell.com
Thu, 6 Sep 2001 17:25:33 +0000 (UTC)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
---1768452832-1985525895-999797133=:16138
Content-Type: TEXT/PLAIN; charset=US-ASCII
I think that part of the problem with this patch is that fd->super.alive
doesn't get set to zero. I could be wrong, but I traced through the
original code using gdb and then I received your patch. So after trying
the patch and finding that it didn't work, I went back and looked at the
output of the script file. The first time the socket times out,
fd->super.alive gets set to 0 and the second poll doesn't happen. Then,
when you go into the for loop if continues back fd->super.alive is
zero. If this is the setup to get it to setup the callback for
reconnecting later, maybe we should do the POLLERR check when we do the
fd->super.alive check, and set fd->super.alive = 0 if we get into that if
statement. What do you think? (I have included the script output session
of my walk through the code using gdb.)
Matthew M. Copeland
>
> > Index: io.c
> > ===================================================================
> > RCS file: /var/cvs/libol/src/io.c,v
> > retrieving revision 1.25
> > diff -u -r1.25 io.c
> > --- io.c 2001/08/26 21:28:18 1.25
> > +++ io.c 2001/09/05 20:39:02
> > @@ -231,7 +231,7 @@
> > if (!fd->super.alive)
> > continue;
> >
> > - if (fds[i].revents & POLLHUP) {
> > + if (fds[i].revents & (POLLHUP|POLLERR|POLLNVAL)) {
> > if (fd->want_read && fd->read)
> > READ_FD(fd);
> > else if (fd->want_write && fd->write)
> > @@ -246,10 +246,12 @@
> > close_fd(fd, CLOSE_PROTOCOL_FAILURE);
> > continue;
> > }
> > + /*
> > if (fds[i].revents & (POLLNVAL | POLLERR)) {
> > close_fd(fd, CLOSE_POLL_FAILED);
> > continue;
> > }
> > + */
> > if (fds[i].revents & POLLOUT)
> > if (fd->want_write && fd->write)
> > WRITE_FD(fd);
> >
> >
>
>
--
You may be sure that when a man begins to call himself a "realist," he
is preparing to do something he is secretly ashamed of doing.
-- Sydney Harris
---1768452832-1985525895-999797133=:16138
Content-Type: TEXT/PLAIN; charset=X-UNKNOWN; name=smfd_typescript
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.21.0109061725330.16138@fisb.gaa.aro.allied.com>
Content-Description:
Content-Disposition: attachment; filename=smfd_typescript
U2NyaXB0IHN0YXJ0ZWQgb24gV2VkIFNlcCAgNSAyMTozODozMSAyMDAxDQob
XTA7cm9vdEBmaXNiOiAvdXNyL2xvY2FsL3N5c2xvZy9zYmluB1tyb290QGZp
c2Igc2Jpbl0jIGV4aXQICAgIZ2RiIHN5c2xvZy1uZw0NCkdOVSBnZGIgMTk5
OTEwMDQNDQpDb3B5cmlnaHQgMTk5OCBGcmVlIFNvZnR3YXJlIEZvdW5kYXRp
b24sIEluYy4NDQpHREIgaXMgZnJlZSBzb2Z0d2FyZSwgY292ZXJlZCBieSB0
aGUgR05VIEdlbmVyYWwgUHVibGljIExpY2Vuc2UsIGFuZCB5b3UgYXJlDQ0K
d2VsY29tZSB0byBjaGFuZ2UgaXQgYW5kL29yIGRpc3RyaWJ1dGUgY29waWVz
IG9mIGl0IHVuZGVyIGNlcnRhaW4gY29uZGl0aW9ucy4NDQpUeXBlICJzaG93
IGNvcHlpbmciIHRvIHNlZSB0aGUgY29uZGl0aW9ucy4NDQpUaGVyZSBpcyBh
YnNvbHV0ZWx5IG5vIHdhcnJhbnR5IGZvciBHREIuICBUeXBlICJzaG93IHdh
cnJhbnR5IiBmb3IgZGV0YWlscy4NDQpUaGlzIEdEQiB3YXMgY29uZmlndXJl
ZCBhcyAiaTM4Ni1yZWRoYXQtbGludXgiLi4uDQ0KKGdkYikgc2V0IC0tCCAI
CCAIYXJncyAtLWRlYnVnIC0tdmVyYm9zZSAtZiAvZXRjL3N5c2xvZy1uZy9z
eXNsbwdnLW5nLmNvbmYNDQooZ2RiKSBiIGlvLmM6aW9faXRlcg0NCkJyZWFr
cG9pbnQgMSBhdCAweDgwNTQ4NzA6IGZpbGUgaW8uYywgbGluZSA5Ni4ND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