Hello,

  Per the comments preceding the db_send_message_lines() function:
/*
   this function writes "lines" to fstream.
   if lines == -2 then the whole message is dumped to fstream

And there are a couple checks for a -2 value which look to handle
just that, so I would guess the debug message saying it's -2 is
simply misleading, not a problem.  (Another place having #defines
with symbolic names would be nice.)



---- Original Message ----
From: Bret Baptist <[email protected]>
To: Roel Rozendaal - IC&S <[EMAIL PROTECTED]>, Eelco van Beek - IC&S <[EMAIL 
PROTECTED]>
Subject: Re: [Dbmail] 100% cpu usage with dbmail-pop3d
Sent: Wed, 8 Oct 2003 13:50:26 -0500

> On Tuesday 07 October 2003 2:53 am, Roel Rozendaal - IC&S wrote:
> > >>>>> Does anyone have any clues?  This is where the logs are at when it
> > >>>>> is
> > >>>>> taking 100% cpu:
> > >>>>> Oct  6 12:02:52 destiny dbmail/pop3d[20773]: pop3():RETR command,
> > >>>>> retrieving message
> > >>>>> Oct  6 12:02:52 destiny dbmail/pop3d[20773]: pop3(): RETR command,
> > >>>>> selecting message
> > >>>>> Oct  6 12:02:52 destiny dbmail/pop3d[20773]:
> > >>>>> db_send_message_lines():
> > >>>>> request for [-2] lines
> > >>>>> Oct  6 12:02:52 destiny dbmail/pop3d[20773]:
> > >>>>> db_send_message_lines():
> > >>>>> executing query [SELECT * FROM messageblks WHERE
> > >>>>> message_idnr=2458388
> > >>>>> ORDER BY messageblk_idnr ASC]
> > >>>>> Oct  6 12:02:52 destiny dbmail/pop3d[20773]: db_query(): executing
> > >>>>> [SELECT * FROM messageblks WHERE message_idnr=2458388 ORDER BY
> > >>>>> messageblk_idnr ASC] Oct  6 12:02:52 destiny dbmail/pop3d[20773]:
> > >>>>> db_send_message_lines(): sending [-2] lines from message [2458388]
> > >>>>> Oct  6 12:02:52 destiny dbmail/pop3d[20773]:
> > >>>>> db_send_message_lines():
> > >>>>> getting nextblock [1]
> >
> > looking at these last log lines i would bet on the following as the
> > problem: "sending [-2] lines" - using an unsigned integer loop this
> > would imply about 2^32 iterations.
> >
> 
> So do we have a fix for this then?
> 
> Bret.
> 
> 
> 
> > _________________________
> > R.A. Rozendaal
> > IC&S
> > T: +31 30 2322878
> > F: +31 30 2322305
> > www.ic-s.nl
> 
> -- 
> Bret Baptist
> Systems and Technical Support Specialist
> [EMAIL PROTECTED]
> Internet Exposure, Inc.
> http://www.iexposure.com
>  
> (612)676-1946 x17
> Web Development-Web Marketing-ISP Services
> ------------------------------------------
> 
> 
> Today is the tomorrow you worried about yesterday.
> 
> _______________________________________________
> Dbmail mailing list
> [email protected]
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
> 
-- End Original Message --


--
Jesse Norell
jesse (at) kci.net


Reply via email to