Mysql tuning for SpamFilter |
Post Reply
|
| Author | |
Hillard
Guest Group
|
Post Options
Thanks(0)
Quote Reply
Topic: Mysql tuning for SpamFilterPosted: 28 November 2004 at 12:23am |
|
Hello, I have been trying to use Mysql with SF and I have gotten it to work; however, I have some problems. When I first tried it my database would get corrupted, I looked up some tuning information and have gotten it not to corrupt that database. Now my biggest problem is that Mysql spikes my CPU at 100% every second or so. This is on a Windows 2000 computer with 1GB memory. Does someone have a my.cnf they can share that works best with SF and Windows 2000?
|
|
![]() |
|
Hillard Sarver
Guest Group
|
Post Options
Thanks(0)
Quote Reply
Posted: 29 November 2004 at 10:29am |
|
Okay here is what I found out on my own so far. I have SF running on a Windows NT server with 512MB RAM with a 2.4Ghz processor. The MySQL server is a Windows 2000 with 1GB RAM with a 2.6Ghz processor. Both servers would spike to 100% CPU usage and sometimes stay at the 100% CPU and sometimes start consuming all RAM. I tried tuning the MySQL settings which made little to no difference. Even after optimizing the database did not help. I emptied the database tables (tblmsgs and tblquarantine) and both problems went away (once I stopped and restarted the SF service). The optimized database was 1.5GB before I emptied the tables. My quess would be a corrupted index or I need a better index in the database? Is there something that would help with this? A command I should run daily on the MySQL quarantine database or a setting on MySQL that I should have. This has happened several times now and emptying the database seems to be the only solution each time.
|
|
![]() |
|
Hillard Sarver
Guest Group
|
Post Options
Thanks(0)
Quote Reply
Posted: 29 November 2004 at 2:51pm |
Okay more information on MySQL going wacko with SF. In looking at the "Handler_read_rnd_next" status I find I get several million after only running for about an hour. I did a web search and this is what I found:
Handler_read_rnd_next
So my question is what can I do to either create an index that SF will use to make it better or some setting I need to change in SF?
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0.184 seconds.


Topic Options
Post Options
Thanks(0)


