Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Port 25 inbound connection timeout and missing email

Port 25 inbound connection timeout and missing email

Scheduled Pinned Locked Moved Unsolved Support
emailperformancespamassassin
11 Posts 2 Posters 301 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • jamesJ Offline
    jamesJ Offline
    james
    Staff
    wrote last edited by
    #2

    Hello @p44

    I would assume this is not only a CPU/RAM issue but also an IOPS issue.
    A very high system load can also occur without the CPU and RAM being used too much.
    In this case it is almost always the IOPS. So the system storage can't keep up.
    Depending on your server setup and provider this might be worth looking into if your server is using HDD, SSD, NVMe drives or a shared storage from the provider.
    We had multiple reports of vServers showing this load / IOPS behaviour when there were underlying issues with the whole provider node.
    One time it was a netcup node failing RAID system that caused all vServers on that node to have massive IOPS and load issues.
    Which was also first denied by the first level support and only after providing detailed performance measurements they acknowledged that something must be wrong with their storage raid.

    Port 25 not being inaccessible could also hint towards the mail service crashing or running out of memory.
    Please check your mail service in Cloudron if you might need to increase the RAM and also check the logs of the mail service for crash reports.

    1 Reply Last reply
    1
    • P Offline
      P Offline
      p44
      translator
      wrote last edited by
      #3

      @james Thanks a lot, I didn’t have any crash of Mail service and also RAM is ok. I’ll take a proper look to IOPS. Thanks for your advices.

      1 Reply Last reply
      1
      • P p44 referenced this topic
      • P Offline
        P Offline
        p44
        translator
        wrote last edited by
        #4

        Hi @james I’m still managing this problem. There is a way to manage Haraka timeout to avoid this Connection timed out issue, eg. making longer timeout?

        1 Reply Last reply
        0
        • jamesJ Offline
          jamesJ Offline
          james
          Staff
          wrote last edited by
          #5

          Hello @p44
          Have you looked into the the IOPS stats?

          1 Reply Last reply
          1
          • P Offline
            P Offline
            p44
            translator
            wrote last edited by p44
            #6

            @james Thanks a lot for your question.

            IOPS it seems to be good...

            Block Size | 4k            (IOPS) | 64k           (IOPS)
              ------   | ---            ----  | ----           ---- 
            Read       | 510.82 MB/s (127.7k) | 870.43 MB/s  (13.6k)
            Write      | 512.17 MB/s (128.0k) | 875.01 MB/s  (13.6k)
            Total      | 1.02 GB/s   (255.7k) | 1.74 GB/s    (27.2k)
                       |                      |                     
            Block Size | 512k          (IOPS) | 1m            (IOPS)
              ------   | ---            ----  | ----           ---- 
            Read       | 595.93 MB/s   (1.1k) | 1.49 GB/s     (1.4k)
            Write      | 627.60 MB/s   (1.2k) | 1.59 GB/s     (1.5k)
            Total      | 1.22 GB/s     (2.3k) | 3.09 GB/s     (3.0k)
            
            
            1 Reply Last reply
            0
            • jamesJ Offline
              jamesJ Offline
              james
              Staff
              wrote last edited by
              #7

              Hello @p44
              A momentary view of the IOPS might not be good enough to evaluate this.
              Since you mentioned when the system is under high load the issue is present, you should observe / log the IOPS while the system is under load.

              1 Reply Last reply
              1
              • P Offline
                P Offline
                p44
                translator
                wrote last edited by p44
                #8

                Ok @james. I’ll do more accurate research

                1 Reply Last reply
                1
                • P p44 referenced this topic
                • P Offline
                  P Offline
                  p44
                  translator
                  wrote last edited by
                  #9

                  Thanks again @james for your cooperation.

                  I can confirm that after removing custom Spamassassin rules from Email > Settings > Spam Filtering > Custom Spamassassin rules problem has been solved.

                  However, further testing would be needed to determine which rules interacted negatively with emails, potentially causing false positives.

                  1 Reply Last reply
                  1
                  • jamesJ Offline
                    jamesJ Offline
                    james
                    Staff
                    wrote last edited by
                    #10

                    Hello @p44
                    That is an interesting find.
                    Could save the logs of the mail service when it was failing somewhere so we can request it later from you?

                    P 1 Reply Last reply
                    1
                    • jamesJ james

                      Hello @p44
                      That is an interesting find.
                      Could save the logs of the mail service when it was failing somewhere so we can request it later from you?

                      P Offline
                      P Offline
                      p44
                      translator
                      wrote last edited by
                      #11

                      @james Yes, this is a great find. Thanks a lot for your cooperation.

                      In email service’s logs no any log...

                      Whenever you want, I can reproduce issue and I can send you raw log.

                      Keep me posted.

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Bookmarks
                      • Search