On Fri, Nov 18, 2005 at 04:14:16PM -0600, Ken Serrine wrote: >>Also, I figured out why the milter was crashing on reloading the >>greylist.conf. The timing was such that the milter was dumping the >>memory at the same time it noticed that I made changes to >>greylist.conf. In that case, the milter crashes. >> >> > >This suggests we miss a lock somewhere. I can't see how a config >reload can break a dump. Can you post a backtrace? > > > Yes, but I need some help with running the milter under gdb. I compiled it with debugging info, and tried running it 2 different ways, but sendmail complains that it cannot connect to the filter. I can see the filter running, but maybe I need to give certain gdb commands? The first way I tried was: gdb milter-greylist then, I ran it with (gdb) run <my arguments>, where <my arguments> were the arguments that I normally use. The second way was that I started the milter-greylist like normal, then ran gdb with the pid number like this: gdb milter-greylist 2265 Both ways seemed to work fine, but then when I started sendmail, it could not use the milter as usual.
Message
Re: [milter-greylist] crashing during config reload when db dumps
2005-11-21 by Ken Serrine
Attachments
- No local attachments were found for this message.