--- In milter-greylist@yahoogroups.com, Matthias Scheler <tron@...>
wrote:
>
> On Tue, Sep 05, 2006 at 12:51:51PM +0000, Emmanuel Dreyfus wrote:
> > On Tue, Sep 05, 2006 at 07:40:48AM -0500, Jim Hermann - UUN
Hostmaster wrote:
> > > Any word on this problem?
> >
> > Never seen such a problem. Did you tried tracing it? Do you get a
> > SIGALRM? Anyone has an idea of where it comes from?
>
> Does it use sleep(3)? Some platforms implement that via SIGALRM.
>
Like this code from dump.c?
for (;;) {
/* XXX Not really dynamically adjustable */
switch (conf.c_dumpfreq) {
case -1:
sleep(DUMPFREQ);
break;
case 0:
if ((error = pthread_cond_wait
(&dump_sleepflag,
&mutex)) != 0)
syslog(LOG_ERR, "pthread_cond_wait
failed: %s\n",
strerror(error));
break;
default:
sleep(conf.c_dumpfreq);
break;
}
/*
* If there is no change to dump, go back to sleep
*/
if ((conf.c_dumpfreq == -1) || (dump_dirty == 0))
continue;
dump_perform();
}Message
Re: Running milter-greylist in Debug Mode - Crashing
2006-09-06 by Jim Hermann
Attachments
- No local attachments were found for this message.