<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — Amavis dies]]></title>
		<link>https://forum.iredmail.org/topic19700-amavis-dies.html</link>
		<atom:link href="https://forum.iredmail.org/feed-rss-topic19700.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Amavis dies.]]></description>
		<lastBuildDate>Fri, 31 Mar 2023 10:32:22 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Amavis dies]]></title>
			<link>https://forum.iredmail.org/post85937.html#p85937</link>
			<description><![CDATA[<div class="quotebox"><cite>Cthulhu wrote:</cite><blockquote><p>Kwowingly running a system at 25% of the system minimum requirements is provoking problems</p></blockquote></div><p>I added 4 GB of RAM now, its running stable. I am sorry for this.</p>]]></description>
			<author><![CDATA[null@example.com (drg)]]></author>
			<pubDate>Fri, 31 Mar 2023 10:32:22 +0000</pubDate>
			<guid>https://forum.iredmail.org/post85937.html#p85937</guid>
		</item>
		<item>
			<title><![CDATA[Re: Amavis dies]]></title>
			<link>https://forum.iredmail.org/post85934.html#p85934</link>
			<description><![CDATA[<p>Kwowingly running a system at 25% of the system minimum requirements is provoking problems</p>]]></description>
			<author><![CDATA[null@example.com (Cthulhu)]]></author>
			<pubDate>Thu, 30 Mar 2023 17:53:24 +0000</pubDate>
			<guid>https://forum.iredmail.org/post85934.html#p85934</guid>
		</item>
		<item>
			<title><![CDATA[Re: Amavis dies]]></title>
			<link>https://forum.iredmail.org/post85933.html#p85933</link>
			<description><![CDATA[<div class="quotebox"><cite>Cthulhu wrote:</cite><blockquote><p>Requirements are not a recommendation, and i doubt that you saw it, because giving it a try and then wondering why it crashes makes just no sense.<br />Provoking problems and then getting others to help you is not the intention of a support forum</p></blockquote></div><p>Please see that I did not intend to provoke any problems, its a low volume server, maximum 30 mails per day..its not a &quot;production&quot; machine. Also I did few other changes to the machine config too to work with lower ram and it seems to be working well until now.</p>]]></description>
			<author><![CDATA[null@example.com (drg)]]></author>
			<pubDate>Thu, 30 Mar 2023 17:22:38 +0000</pubDate>
			<guid>https://forum.iredmail.org/post85933.html#p85933</guid>
		</item>
		<item>
			<title><![CDATA[Re: Amavis dies]]></title>
			<link>https://forum.iredmail.org/post85931.html#p85931</link>
			<description><![CDATA[<p>Requirements are not a recommendation, and i doubt that you saw it, because giving it a try and then wondering why it crashes makes just no sense.<br />Provoking problems and then getting others to help you is not the intention of a support forum</p>]]></description>
			<author><![CDATA[null@example.com (Cthulhu)]]></author>
			<pubDate>Thu, 30 Mar 2023 17:04:25 +0000</pubDate>
			<guid>https://forum.iredmail.org/post85931.html#p85931</guid>
		</item>
		<item>
			<title><![CDATA[Re: Amavis dies]]></title>
			<link>https://forum.iredmail.org/post85928.html#p85928</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>To install iRedMail on Debian or Ubuntu Linux, you need:</p><p>A FRESH, working Debian/Ubuntu Linux. Supported releases are listed on Download page.</p><p>At least 4 GB memory is required for a low traffic production mail server with spam/virus scanning enabled.</p><p>Make sure 3 UID/GID are not used by other user/group: 2000, 2001, 2002.</p></blockquote></div><p>Thanks for help, I saw the recommendations but I wanted to give it a try with 1GB. Temporarily is working by disabling clamav.</p>]]></description>
			<author><![CDATA[null@example.com (drg)]]></author>
			<pubDate>Thu, 30 Mar 2023 11:58:43 +0000</pubDate>
			<guid>https://forum.iredmail.org/post85928.html#p85928</guid>
		</item>
		<item>
			<title><![CDATA[Re: Amavis dies]]></title>
			<link>https://forum.iredmail.org/post85922.html#p85922</link>
			<description><![CDATA[<p><a href="https://docs.iredmail.org/install.iredmail.on.debian.ubuntu.html">https://docs.iredmail.org/install.iredm … buntu.html</a></p><br /><p>To install iRedMail on Debian or Ubuntu Linux, you need:</p><p>A FRESH, working Debian/Ubuntu Linux. Supported releases are listed on Download page.</p><p>At least 4 GB memory is required for a low traffic production mail server with spam/virus scanning enabled.</p><p>Make sure 3 UID/GID are not used by other user/group: 2000, 2001, 2002.</p>]]></description>
			<author><![CDATA[null@example.com (Cthulhu)]]></author>
			<pubDate>Wed, 29 Mar 2023 19:27:10 +0000</pubDate>
			<guid>https://forum.iredmail.org/post85922.html#p85922</guid>
		</item>
		<item>
			<title><![CDATA[Re: Amavis dies]]></title>
			<link>https://forum.iredmail.org/post85921.html#p85921</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>- About &quot;amavis dies&quot;, do you mean Amavisd processes exited?<br />- How much memory does this server have?</p></blockquote></div><p>Yes, exits, 1 GB RAM + 4 GB swap. May it be due to low ram?</p>]]></description>
			<author><![CDATA[null@example.com (drg)]]></author>
			<pubDate>Wed, 29 Mar 2023 06:57:49 +0000</pubDate>
			<guid>https://forum.iredmail.org/post85921.html#p85921</guid>
		</item>
		<item>
			<title><![CDATA[Re: Amavis dies]]></title>
			<link>https://forum.iredmail.org/post85920.html#p85920</link>
			<description><![CDATA[<p>Had the exact same issue when installing in on a AWS instance with only 2G of memory. Increasing it to 4G solved it.</p>]]></description>
			<author><![CDATA[null@example.com (evlonden)]]></author>
			<pubDate>Wed, 29 Mar 2023 03:06:23 +0000</pubDate>
			<guid>https://forum.iredmail.org/post85920.html#p85920</guid>
		</item>
		<item>
			<title><![CDATA[Re: Amavis dies]]></title>
			<link>https://forum.iredmail.org/post85918.html#p85918</link>
			<description><![CDATA[<p>- About &quot;amavis dies&quot;, do you mean Amavisd processes exited?<br />- How much memory does this server have?</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Wed, 29 Mar 2023 01:13:25 +0000</pubDate>
			<guid>https://forum.iredmail.org/post85918.html#p85918</guid>
		</item>
		<item>
			<title><![CDATA[Amavis dies]]></title>
			<link>https://forum.iredmail.org/post85917.html#p85917</link>
			<description><![CDATA[<p>==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====<br />- iRedMail version (check /etc/iredmail-release): 1.6.2 MARIADB<br />- Deployed with iRedMail Easy or the downloadable installer? Downloadable installer<br />- Linux/BSD distribution name and version: Debian 11 5.10.0-21-cloud-amd64<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL<br />- Web server (Apache or Nginx): Nginx<br />- Manage mail accounts with iRedAdmin-Pro? No<br />- [IMPORTANT] Related original log or error message is required if you&#039;re experiencing an issue.<br />====<br />amavis process dies after maximum 1-2 hours of running.<br />syslog:</p><p>Mar 28 03:30:04 mail amavis[3049]: (03049-20) one_response_for_all &lt;root@mail.mydomain.com&gt;: success, r=0,b=0,d=0, ndn_needed=0, &#039;250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 4PlwDD2VtYz24LM&#039;<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) notif=N, suppressed=0, ndn_needed=0, exit=0, 250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 4PlwDD2VtYz24LM<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) get_deadline delivery-notification - deadline in 479.7 s, set to 288.000 s<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) prolong_timer delivery-notification: timer 288, was 288, deadline in 479.7 s<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) status counters: InMsgsStatus{Relayed,RelayedUntagged,RelayedUntaggedInternal,RelayedUntaggedOriginating}<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) get_deadline snmp-counters - deadline in 479.7 s, set to 288.000 s<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) prolong_timer snmp-counters: timer 288, was 288, deadline in 479.7 s<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) orcpt_encode rfc822, root@mail.mydomain.com, smtputf8<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) Passed CLEAN {RelayedInternal}, ORIGINATING LOCAL [127.0.0.1] /ESMTP &lt;root@mail.mydomain.com&gt; -&gt; &lt;root@mail.mydomain.com&gt;, (), Message-ID: &lt;4PlwDC6tNtz24LN@mail.linuxsquare.si<br />te&gt;, mail_id: sYd14royALGe, b: u8pKo5db3, Hits: 0, size: 1347, queued_as: 4PlwDD2VtYz24LM, Subject: &quot;Cron &lt;root@mail&gt; /bin/bash /var/vmail/backup/backup_mysql.sh&quot;, From: &lt;root@mail.mydomain.com&gt;, helo=, Tests: [NO_RELAYS=-0.0<br />01,TVD_SPACE_RATIO=0.001], autolearn=ham autolearn_force=no, autolearnscore=0.001, dkim_new=dkim:mydomain.com, 402 ms<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) get_deadline main_log_entry - deadline in 479.6 s, set to 288.000 s<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) prolong_timer main_log_entry: timer 288, was 288, deadline in 479.6 s<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) sql begin transaction<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) sql: executing clause (12 args): INSERT INTO msgrcpt (partition_tag, mail_id, rseqnum, rid, is_local, content, ds, rs, bl, wl, bspam_level, smtp_resp) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) save_info_final sYd14royALGe, orig=Y, chks=VSHB, cont.ty=C, q.type= , q.to=, dsn=N, score=0, Message-ID: &lt;4PlwDC6tNtz24LN@mail.mydomain.com&gt;, From: &#039;root@mail.mydomain.com (Cr<br />on Daemon)&#039;, Subject: &#039;Cron &lt;root@mail&gt; /bin/bash /var/vmail/backup/backup_mysql.sh&#039;<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) sql: executing clause (12 args): UPDATE msgs SET content=?, quar_type=?, quar_loc=?, dsn_sent=?, spam_level=?, message_id=?, from_addr=?, subject=?, client_addr=?, originating=? WHERE<br /> partition_tag=? AND mail_id=?<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) sql commit<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) TIMING-SA total 138 ms - parse: 1.22 (0.9%), extract_message_metadata: 8 (5.7%), get_uri_detail_list: 0.91 (0.7%), tests_pri_-2000: 4.1 (2.9%), tests_pri_-1000: 1.54 (1.1%), tests_pri<br />_-950: 1.33 (1.0%), tests_pri_-900: 0.82 (0.6%), tests_pri_-90: 0.89 (0.6%), tests_pri_0: 74 (53.5%), check_spf: 0.50 (0.4%), check_dkim_adsp: 13 (9.2%), tests_pri_20: 1.14 (0.8%), tests_pri_30: 1.70 (1.2%), check_pyzor: 0.20 (0.<br />1%), tests_pri_500: 10 (7.1%), poll_dns_idle: 3.6 (2.6%), learn: 22 (16.1%), b_learn: 20 (14.5%), b_count_change: 2.3 (1.7%), get_report: 0.24 (0.2%)<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) get_deadline check done - deadline in 479.6 s, set to 288.000 s<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) prolong_timer check done: timer 288, was 288, deadline in 479.6 s<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) sending SMTP response: &quot;250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 4PlwDD2VtYz24LM&quot;<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) ESMTP&gt; 250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 4PlwDD2VtYz24LM<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) switch_to_client_time 480 s, smtp response sent<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) TempDir::strip: /var/lib/amavis/tmp/amavis-20230328T011947-03049-mFy8B8Jy<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) rmdir_recursively: /var/lib/amavis/tmp/amavis-20230328T011947-03049-mFy8B8Jy/parts, excl=1<br />Mar 28 03:30:04 mail postfix/amavis/smtp[10216]: 4PlwDC6tNtz24LN: to=&lt;root@mail.mydomain.com&gt;, orig_to=&lt;root&gt;, relay=127.0.0.1[127.0.0.1]:10026, delay=0.45, delays=0.03/0/0/0.42, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smt<br />p:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 4PlwDD2VtYz24LM)<br />Mar 28 03:30:04 mail postfix/qmgr[1813]: 4PlwDC6tNtz24LN: removed<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) size: 1347, TIMING [total 427 ms] - SMTP greeting: 1.9 (0%)0, SMTP EHLO: 1.3 (0%)1, SMTP pre-MAIL: 1.2 (0%)1, SMTP MAIL: 1.4 (0%)1, lookup_sql: 3.4 (1%)2, SMTP pre-DATA-flush: 1.3 (0%<br />)2, SMTP DATA: 35 (8%)11, check_init: 0.9 (0%)11, digest_hdr: 0.9 (0%)11, digest_body_dkim: 0.4 (0%)11, collect_info: 1.3 (0%)12, gen_mail_id: 3.5 (1%)12, mime_decode: 9 (2%)14, get-file-type1: 21 (5%)19, parts_decode: 0.3 (0%)19<br />, check_header: 0.8 (0%)19, AV-scan-1: 71 (17%)36, lookup_sql: 1.6 (0%)37, spam-wb-list: 2.9 (1%)37, SA msg read: 0.4 (0%)37, SA parse: 2.2 (1%)38, SA check: 136 (32%)70, decide_mail_destiny: 3.0 (1%)71, notif-quar: 1.9 (0%)71, w<br />rite-header: 3.6 (1%)72, fwd-data-dkim: 23 (5%)77, fwd-connect: 17 (4%)81, fwd-mail-pip: 25 (6%)87, fwd-rcpt-pip: 0.2 (0%)87, fwd-data-chkpnt: 0.0 (0%)87, write-header: 0.3 (0%)87, fwd-data-contents: 0.0 (0%)87, fwd-end-chkpnt: 8<br /> (2%)89, prepare-dsn: 0.8 (0%)89, report: 1.2 (0%)90, main_log_entry: 32 (8%)97, sql-update: 11 ...<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) ...(3%)100, SMTP pre-response: 0.3 (0%)100, SMTP response: 0.2 (0%)100, unlink-1-files: 0.2 (0%)100, rundown: 0.7 (0%)100<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) idle_proc, 6: was busy, 428.4 ms, total idle 7797.388 s, busy 19.762 s<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) idle_proc, 5: was idle, 0.1 ms, total idle 7797.388 s, busy 19.762 s<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) ESMTP&lt; QUIT\r\n<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) get_deadline switch_to_my_time(rx SMTP QUIT) - deadline in 480.0 s, set to 288.000 s<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) prolong_timer switch_to_my_time(rx SMTP QUIT): timer 288, was 480, deadline in 480.0 s<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) ESMTP&gt; 221 2.0.0 [127.0.0.1] amavisd-new closing transmission channel<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) switch_to_client_time 480 s, smtp response sent<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) SMTP session over, timer stopped<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) Requesting process rundown after 20 tasks (and 20 sessions)<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) TempDir::DESTROY called<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) TempDir removal: empty tempdir is being removed: /var/lib/amavis/tmp/amavis-20230328T011947-03049-mFy8B8Jy<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) rmdir_recursively: /var/lib/amavis/tmp/amavis-20230328T011947-03049-mFy8B8Jy, excl=<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) rmdir_recursively: /var/lib/amavis/tmp/amavis-20230328T011947-03049-mFy8B8Jy/parts, excl=<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) exiting process_request<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) idle_proc, bye: was busy, 10.4 ms, total idle 7797.388 s, busy 19.773 s<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) load: 0 %, total idle 7797.388 s, busy 19.773 s<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) sd_notify (no socket): STOPPING=1\nSTATUS=Server rundown, notifying child processes.<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) Net::Server: 2023/03/28-03:30:04 Server closing!<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) sd_notify (no socket): STATUS=Child processes have been stopped.<br />Mar 28 03:30:04 mail postfix/cleanup[10213]: 4PlwDD3B0bz24LN: message-id=&lt;4PlwDC6tNtz24LN@mail.mydomain.com&gt;<br />Mar 28 03:30:04 mail postfix/local[10524]: 4PlwDD2VtYz24LM: to=&lt;root@mail.mydomain.com&gt;, relay=local, delay=0.11, delays=0.02/0.07/0/0.01, dsn=2.0.0, status=sent (forwarded as 4PlwDD3B0bz24LN)<br />Mar 28 03:30:04 mail postfix/qmgr[1813]: 4PlwDD3B0bz24LN: from=&lt;root@mail.mydomain.com&gt;, size=2824, nrcpt=1 (queue active)<br />Mar 28 03:30:04 mail postfix/qmgr[1813]: 4PlwDD2VtYz24LM: removed<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) Amavis::Out::SQL::Log DESTROY called<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) Amavis::Lookup::SQL DESTROY called<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) Amavis::Out::SQL::Connection DESTROY called<br />Mar 28 03:30:04 mail amavis[3049]: (03049-20) disconnecting from SQL<br />Mar 28 03:30:04 mail postfix/pipe[10221]: 4PlwDD3B0bz24LN: to=&lt;postmaster@mydomain.com&gt;, orig_to=&lt;root@mail.mydomain.com&gt;, relay=dovecot, delay=0.08, delays=0/0/0/0.08, dsn=2.0.0, status=sent (delivered via dovecot servic<br />e)</p><p>The only change for this machine was that I changed ipv4 IP after iredmail install, could this have affected amavis? What can be the cause?</p>]]></description>
			<author><![CDATA[null@example.com (drg)]]></author>
			<pubDate>Tue, 28 Mar 2023 20:12:09 +0000</pubDate>
			<guid>https://forum.iredmail.org/post85917.html#p85917</guid>
		</item>
	</channel>
</rss>
