Mailing List Archive

Re: PATCH 100% cpu usage with dbmail-po<p3d -- SOLVED, for me at least
Hello,

I made a patch for this to be the default, available at:
https://sourceforge.net/tracker/index.php?func=detail&aid=836739&group_id=85894&atid=577644
See the notes there. If a few people could test that and make sure
there aren't any problems, that'd be nice. It runs clean on a couple
systems here.

Jesse

---- Original Message ----
From: Bret Baptist <dbmail@dbmail.org>
To: dbmail@dbmail.org
Subject: Re: [Dbmail] 100% cpu usage with dbmail-pop3d -- SOLVED, for me at least
Sent: Mon, 27 Oct 2003 17:08:55 -0500

> On Friday 24 October 2003 5:35 am, Shih Ming-Wei wrote:
> > hi,
> >
> > I have solve the 99% CPU usage on Linux/sparc systems that
> > we are using, apparently changing CFLAGS from "-O2 -pipe" to
> > "-march=v8 -mtune=v9 -O2 -pipe -fomit-frame-pointer" cahnges
> > the CPU usage from 99% to max 1.8% (avg 0.4 %). So my
> > conclusion is this is not a dbmail bug but dbmail must trigger
> > some bug in platform/compiler/glibc,
> >
> > Just my 2 cents
> >
> >
> > Hope this might help someone else
> >
> > Ming-Wei
>
> After more testing I have found that the important bit here is the
> -fomit-frame-pointer. If I define that I don't get the excessive CPU usage.
> Is there any reason for not making this a standard compile flag?
>
> I am running debian testing (sarge):
>
> Which has:
>
> gcc-3.3.1-2
> kernel: 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i686 GNU/Linux
> libc6-2.3.2-7
> mysql-client-4.0.13-3
>
> Anything else relevant?
>
> --
> Bret Baptist
> Systems and Technical Support Specialist
> bbaptist@iexposure.com
> 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
> Dbmail@dbmail.org
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>
-- End Original Message --


--
Jesse Norell
jesse (at) kci.net
Re: PATCH 100% cpu usage with dbmail-po<p3d -- SOLVED, for me at least [ In reply to ]
Hello,

I can't get the patch uploaded to the sourceforge page - you can
get it from http://www.kci.net/dbmail-20031104-omit-frame-pointer.patch

jn


---- Original Message ----
From: Jesse Norell <dbmail-dev@dbmail.org>
To: dbmail-dev@dbmail.org
Subject: Re: [Dbmail-dev] PATCH 100% cpu usage with dbmail-po<p3d -- SOLVED, for me at least
Sent: Wed, 5 Nov 2003 12:51:20 -0700 (MST)

&gt;
&gt; Hello,
&gt;
&gt; I made a patch for this to be the default, available at:
&gt; https://sourceforge.net/tracker/index.php?func=detail&aid=836739&group_id=85894&atid=577644
&gt; See the notes there. If a few people could test that and make sure
&gt; there aren't any problems, that'd be nice. It runs clean on a couple
&gt; systems here.
&gt;
&gt; Jesse
&gt;
&gt; ---- Original Message ----
&gt; From: Bret Baptist <dbmail@dbmail.org>
> To: dbmail@dbmail.org
> Subject: Re: [Dbmail] 100% cpu usage with dbmail-pop3d -- SOLVED, for me at least
> Sent: Mon, 27 Oct 2003 17:08:55 -0500
>
> > On Friday 24 October 2003 5:35 am, Shih Ming-Wei wrote:
> > > hi,
> > >
> > > I have solve the 99% CPU usage on Linux/sparc systems that
> > > we are using, apparently changing CFLAGS from "-O2 -pipe" to
> > > "-march=v8 -mtune=v9 -O2 -pipe -fomit-frame-pointer" cahnges
> > > the CPU usage from 99% to max 1.8% (avg 0.4 %). So my
> > > conclusion is this is not a dbmail bug but dbmail must trigger
> > > some bug in platform/compiler/glibc,
> > >
> > > Just my 2 cents
> > >
> > >
> > > Hope this might help someone else
> > >
> > > Ming-Wei
> >
> > After more testing I have found that the important bit here is the
> > -fomit-frame-pointer. If I define that I don't get the excessive CPU usage.
> > Is there any reason for not making this a standard compile flag?
> >
> > I am running debian testing (sarge):
> >
> > Which has:
> >
> > gcc-3.3.1-2
> > kernel: 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i686 GNU/Linux
> > libc6-2.3.2-7
> > mysql-client-4.0.13-3
> >
> > Anything else relevant?
> >
> > --
> > Bret Baptist
> > Systems and Technical Support Specialist
> > bbaptist@iexposure.com
> > 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
> > Dbmail@dbmail.org
> > https://mailman.fastxs.nl/mailman/listinfo/dbmail
> >
> -- End Original Message --
>
>
> --
> Jesse Norell
> jesse (at) kci.net
>
>
> _______________________________________________
> Dbmail-dev mailing list
> Dbmail-dev@dbmail.org
> http://twister.fastxs.net/mailman/listinfo/dbmail-dev
>
-- End Original Message --


--
Jesse Norell
jesse (at) kci.net