Koozali.org: home of the SME Server

Is my server running out steam?

Offline gbentley

  • ****
  • 482
  • +0/-0
  • Forum Lurker
    • Earth
Is my server running out steam?
« on: June 15, 2018, 11:03:35 AM »
Hi All,

Quick one for comment: I have an older dell server with about 45GB of email on IMAP with 35 staff with Outlook and phones. They are always sending quite large [15-20MB] drawings back / forth.

From time to time [once or twice a week] email stops working. I just reboot and all is good. I have never spent time tracking this down but did notice the other day that one of the bounce message during this period of 'error' contained a message to the effect of 'Cannot scan for Virus'

I have this feeling Clam is running out or RAM or something akin to that?

I did sometime ago increase the limit on attachments to 25MB.

Anyway this occurance seems to be on the increase. I have had a quick look in Clamd logs but only after a reboot and cant see any evidence etc

What would be the best way to try and track down the issue once it occurs?


"If you don't know what you want, you end up with a lot you don't."

Offline ReetP

  • *
  • 3,732
  • +5/-0
Re: Is my server running out steam?
« Reply #1 on: June 15, 2018, 01:35:15 PM »
What is the spec of the server? How much RAM? Have you checked your logs or run any monitoring on server load etc?

https://wiki.contribs.org/Sysmon

Sending large attachments is always a pain - email was never really designed for it.

You are better off re-educating them and using something like the DL Ticket service https://wiki.contribs.org/DownloadTicketService, or some other file sharing type of service (eg wetransfer, though I don't really like cloudy file services personally) or maybe say Pydio https://wiki.contribs.org/Pydio

...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Is my server running out steam?
« Reply #2 on: June 15, 2018, 02:00:06 PM »
gbentley

For starters check all those size limits. I would double them from ehat you have now.

https://wiki.contribs.org/SME_Server:Documentation:FAQ:Section04#Set_max_email_size

Before reboot running
htop
and or
top -i
may give you clues.

Also before rebooting look at the various log files ie in server manager View log files
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Jean-Philippe Pialasse

  • *
  • 2,762
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Is my server running out steam?
« Reply #3 on: June 15, 2018, 02:18:02 PM »
And the issue could also be related to huge IMAP folders slowling the connection and the server. I would start archiving data. Depeinding on your need you could archive older than 5years or 1 year.
I have seen tremendous improvement by doing so.

However you need to investigate what are the most time consuming process runing and it could be a mix of all the answers in this thread

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Is my server running out steam?
« Reply #4 on: June 15, 2018, 03:40:34 PM »
gbentley

Further to JPP......
A good policy with IMAP is to keep the Inbox empty, ie regularly (daily) move messages to other folders for storage if you receive big file attachments all the time.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline MSmith

  • *
  • 675
  • +0/-0
Re: Is my server running out steam?
« Reply #5 on: June 20, 2018, 12:19:20 AM »
You didn't lay out the specs of your "older Dell server" (WHY NOT?) but if it's got any sort of Xeon processor it should be able to handle the email load ... once you max out the RAM AND put in solid state drive(s).
...