Server problems

I’m sure some of you have noticed that I’m experiencing occassional server problems. The host I’m on has been overtaxed, mostly due to spammer activity (both web and email varieties). There are times when the server load spikes up into the 20s, which is ridiculously high. To combat the problem, I set up a cron job which monitors the load level, and restarts apache and mysql when it goes above a certain threshold. However, for some reason, the mysql database server sometimes fails to restart properly. I’ve just added another monitor program which should fix that, so the database should never stay down for more than a couple of minutes. I still need to put something in place to do something more proactive about the email spam, though. Part of the problem there is that the volume of spam email is causing SpamAssassin and procmail to hog the CPU. I may need to enable some of the more aggressive SpamAssassin features.

I’ve been told that we’ll be getting some new hardware soon, so hopefully things will settle down more when that happens. It should also give me an opportunity to do some better performing tuning for the server.

Other Posts of Interest

5 Comments

  1. Posted 4/22/2005 at 10:45 am | Permalink

    What SA features would you be considering using, Dougal? Sometimes I have the same problem [although I run off a dual-CPU box, so this isn't so much a problem anymore ...].

  2. Posted 4/22/2005 at 11:30 am | Permalink

    To be honest, I’m not sure. I’m not the person who set SA up on the box originally, so I’m still trying to get a handle on how it’s configured right now. Basically, though, I think all it’s doing now is tagging messages. I’m thinking that I should consider rejecting messages from RBL blacklisted sites outright, at the SMTP level.

  3. Mark
    Posted 4/22/2005 at 1:47 pm | Permalink

    SA was killing my server so often that I stopped using it. Performance has not been a problem since.

  4. Posted 4/22/2005 at 2:58 pm | Permalink

    Right now, most of the problem stems from trackback spammers. The trackbacks don’t get through, due to a good blacklist. But the horsepower required to process trackbacks coming in so fast is what’s killing the server most of the time.

    I’ve modified my system monitoring scripts so that when the load threshold is triggered, it temporarily renames the trackback module, then re-enables it after a five minute sleep.

  5. Posted 6/23/2005 at 7:43 pm | Permalink

    all sent mail is being daemon server and not sent

    what should I do

3 Trackbacks

  1. [...] Spam Assassin One of the WordPress gurus posted a blog entry about server problems he’s been having, relating to huge SPAM load. Looks like the same [...]

  2. By The War on Spam on 4/22/2005 at 3:38 pm

    Server problems

  3. By Spam Assassin - Habari on 8/30/2008 at 4:42 pm

    [...] of the WordPress gurus posted a blog entry about server problems he’s been having, relating to huge SPAM load. Looks like the same problems I was having that [...]

Post a Comment

Your email is never published nor shared. Comments or website URLs deemed to be off-topic or inappropriate may be deleted at the site owner's discretion.