Re: MailScanner takes a very long time to initialize
Shawn Iverson via MailScanner <mailscanner-qhrM8SXbD5JTOyd/[email protected]> Thu, 29 Aug 2024 15:10:58 -0400
| Newsgroups | gmane.mail.virus.mailscanner |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--===============4342200663753923161==
Content-Type: multipart/alternative;
boundary="------------O8lOVRr9Jw8jJIrOT3k4dIFN"
Content-Language: en-US
This is a multi-part message in MIME format.
--------------O8lOVRr9Jw8jJIrOT3k4dIFN
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
On 8/29/24 05:54, Rick Wezenaar via MailScanner wrote:
> L.S.,
>
> Whenever I start MailScanner it takes a very long time to initialize.
> I can see it does some initial checks, like a lintlite and ms-peek to
> all work directories, but that takes a very long time, on average 8
> minutes:
>
> $> time systemctl start mailscanner
> systemctl start mailscanner 0.01s user 0.02s system 0% cpu 8:47.38 total
>
> In my humble opinion, this is not normal. Can anyone help ?
That isn't normal. This literally should only take seconds for the
master process to spawn.
You might try enabling debug in MailScanner and observing your
logs/journalctl to see if you can pinpoint the source of the lengthy start.
--------------O8lOVRr9Jw8jJIrOT3k4dIFN
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 8/29/24 05:54, Rick Wezenaar via
MailScanner wrote:<br>
</div>
<blockquote type="cite"
cite="mid:5fb854e5-9724-4e27-92d2-db201397f9ec-kLaSOWnPm7Vg9hUCZPvPmw@public.gmane.org">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
L.S.,<br>
<br>
Whenever I start MailScanner it takes a very long time to
initialize. I can see it does some initial checks, like a lintlite
and ms-peek to all work directories, but that takes a very long
time, on average 8 minutes:<br>
<br>
<font face="Courier New, Courier, monospace">$> time systemctl
start
mailscanner
<br>
systemctl start mailscanner 0.01s user 0.02s system 0% cpu
8:47.38 total</font><br>
<br>
In my humble opinion, this is not normal. Can anyone help ?</blockquote>
<p>That isn't normal. This literally should only take seconds for
the master process to spawn.</p>
<p><span style="white-space: pre-wrap">You might try enabling debug in MailScanner and observing your logs/journalctl to see if you can pinpoint the source of the lengthy start.</span></p>
<p><span style="white-space: pre-wrap">
</span></p>
</body>
</html>
--------------O8lOVRr9Jw8jJIrOT3k4dIFN--
--===============4342200663753923161==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--
MailScanner mailing list
mailscanner-qhrM8SXbD5JTOyd/[email protected]
http://lists.mailscanner.info/mailman/listinfo/mailscanner
--===============4342200663753923161==--