Repairman skrev, on 16-10-2007 22:04:
I have no idea how to research this problem, so any suggestion you offer will
be appreciated!
I'm running Dspam 3.8.0 in daemon mode on CentOS 4.5 along with Postfix 2.2.10
& MySQL 4.1.20.
I've been bombed for writing this in the past, but I'll do it again
anyway: That's pretty old stuff, apart from dspam.
I don't normally go "bleeding-edge" on my projects. I'll wait for a version to
be out awhile and see what happens before I install it first on a test platform then I
put it on my production server. The system was running Dspam 3.6.8 until I upgraded to
3.8.0 at the end of August.
Just like Debian people are encouraged to do ...
While I was running 3.6.8 I never noticed this problem, but with 3.8.0 my Dspam
process has started taking up large amounts of memory. And it's started taking
up this memory at a faster rate.
I don't have hard data points to go by yet, but in general my servers average
load has not changed over the past 2 months.
I would see that Dspam was taking around 2 gig's of memory and I would stop the
process and restart it to get the memory cleared up. This would be around every
2 weeks.
But for the last 2 weeks the need to restart Dspam is more frequent. It's only
been 3 days and Dspam is already at 1.5 gig's today.
I've seen prior posts where a different database was used and it would cause
Dspam to use large amounts of memory, but I'm using MySQL and I've run checks
on my database just to be sure and there are no problems with it.
1027 [root:mercurius.intern] /root # uname -a
Linux mercurius.intern 2.6.18-8.1.10.el5 #1 SMP Thu Aug 30 20:43:15 EDT
2007 i686 i686 i386 GNU/Linux
1028 [root:mercurius.intern] /root # ps aux|grep dspam|grep -v grep
root 3088 0.0 3.7 289460 117664 ? S Sep21 1:54 dspam
--daemon
> Any suggestions where to go from here?
Various people have pointed out in the past that dspam has consumed huge
amounts of memory. My site upgraded from RHAS4 to RHEL5 in August last,
after 3 years on 4. I never had this problem. I don't have it on my
home/test FC6 machine, either, but that tends to have shorter uptimes.
But I do not use Red Hat's Postfix, OpenLDAP or a couple of other
things. E.g. I use Simon J. Mudd's Postfix-for-Red Hat 2.4.5 rpm, I use
Buchan Milnes' OpenLDAP-for-Red Hat 2.3.38 rpms and I make my own dspam
3.8.0 rpm - *everything* that gets put on any of my rigs *has* to be
installed as an rpm, if there isn't one, I write my own spec.
You could try rebuilding my dspam FC6 or RHEL5 srpm to see if it helps:
ftp://ipd50aa34e.speed.planet.nl/
Try not to use the RHAS4 stuff, it's all old and often reflects immature
builds. Build from FC6 or RHL5 srpms, It'll build on CentOS4, *if* you
have the right libraries; it'll tell you if you don't.
Best,
--Tonni
--
Tony Earnshaw
Email: tonni at hetnet dot nl