First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 118274
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Perl Devs @ Gentoo <perl@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andreas Klauer <Andreas.Klauer@metamorpher.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
spamd spamd init script that adds --nicelevel to the start-stop-daemon call. text/plain Andreas Klauer 2006-10-17 15:07 0000 790 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 118274 depends on: Show dependency tree
Show dependency graph
Bug 118274 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-01-08 03:32 0000
I'm using SpamAssassin (spamd/spamc via fetchmail/procmail), and noticed that
even with default config, it can cause quite a heavy cpu load at times. Since I
receive a lot of mails (or rather, spam) but want my system to be responsive
nevertheless, I decided to simply lower the spamd priority using nice.

I "implemented" this by adding a SPAMD_NICELEVEL setting to /etc/conf.d/spamd,
and passing this value to start-stop-daemon --nicelevel in /etc/init.d/spamd.
I'm not attaching a patch because this change is trivial. If you want a patch
nevertheless, please comment.

I think it'd be nice to offer such a configuration setting for all daemons that
are likely to be CPU intensive.

------- Comment #1 From Michael Cummings (RETIRED) 2006-03-12 12:23:05 0000 -------
thanks for the tip, commented into the conf.d file that gets installed
post-emerge.

------- Comment #2 From Rajiv Aaron Manglani 2006-10-17 14:15:49 0000 -------
looks like the conf.d file was updated, but no changes to the init script were
made.

Andreas.Klauer @ metamorpher.de: please attach your patched /etc/init.d/spamd
file. thanks.

------- Comment #3 From Andreas Klauer 2006-10-17 15:07:18 0000 -------
Created an attachment (id=99903) [edit]
spamd init script that adds --nicelevel to the start-stop-daemon call.

Attached as requested.

------- Comment #4 From Rajiv Aaron Manglani 2006-10-18 08:57:31 0000 -------
in cvs. thanks.

First Last Prev Next    No search results available      Search page      Enter new bug