<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — Every now and then roundcube stops loading]]></title>
		<link>https://forum.iredmail.org/topic20495-every-now-and-then-roundcube-stops-loading.html</link>
		<atom:link href="https://forum.iredmail.org/feed-rss-topic20495.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Every now and then roundcube stops loading.]]></description>
		<lastBuildDate>Fri, 12 Jul 2024 09:02:10 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Every now and then roundcube stops loading]]></title>
			<link>https://forum.iredmail.org/post89038.html#p89038</link>
			<description><![CDATA[<p>I had experience with similar mysterious performance issue few times before, but unfortunately i didn&#039;t figure out the cause and solution. <img src="https://forum.iredmail.org/img/smilies/sad.png" width="15" height="15" alt="sad" /></p><p>One time upgrading Debian OS fixed it, but most times i have no idea.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Fri, 12 Jul 2024 09:02:10 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89038.html#p89038</guid>
		</item>
		<item>
			<title><![CDATA[Every now and then roundcube stops loading]]></title>
			<link>https://forum.iredmail.org/post89037.html#p89037</link>
			<description><![CDATA[<p>==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====<br />- iRedMail version (check /etc/iredmail-release): 1.6.5<br />- Deployed with iRedMail Easy or the downloadable installer? installer<br />- Linux/BSD distribution name and version: Ubuntu 20.04<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? yes<br />- [IMPORTANT] Related original log or error message is required if you&#039;re experiencing an issue.<br />====</p><p>Hi, I have a problem with iredmail&#039;s webmailer, but I&#039;m not sure if it&#039;s roundcube itself, dovecot or php.</p><p>The problem is (at least for me) reconstructable, and cannot be limited to individual mailboxes, but affects all mailboxes, regardless of whether they contain 1000 mails or only 10.</p><p>If you perform actions in the roundcube, such as reading e-mails, then a new imap and a new imap-login process is executed for each mail called up in dovecot.<br />If you now click from mail to mail, it will happen at some point that the mail no longer loads in a fraction of a second, but the gray bar with &quot;loading&quot; is displayed at the bottom right of the roundcube all the time.</p><p>In the meantime, the php-fpm slow log recognizes this and displays the following in the log:<br /></p><div class="codebox"><pre><code>[12-Jul-2024 09:45:41]  [pool www] pid 262614
script_filename = /opt/www/roundcubemail/index.php
[0x00007fc091013ce0] fgets() /opt/www/roundcubemail-1.3.0/program/lib/Roundcube/rcube_imap_generic.php:212
[0x00007fc091013c40] readLine() /opt/www/roundcubemail-1.3.0/program/lib/Roundcube/rcube_imap_generic.php:332
[0x00007fc091013b50] readReply() /opt/www/roundcubemail-1.3.0/program/lib/Roundcube/rcube_imap_generic.php:780
[0x00007fc0910139c0] authenticate() /opt/www/roundcubemail-1.3.0/program/lib/Roundcube/rcube_imap_generic.php:991
[0x00007fc0910138c0] connect() /opt/www/roundcubemail-1.3.0/program/lib/Roundcube/rcube_imap.php:172
[0x00007fc091013790] connect() /opt/www/roundcubemail-1.3.0/program/lib/Roundcube/rcube_imap.php:248
[0x00007fc091013720] check_connection() /opt/www/roundcubemail-1.3.0/program/lib/Roundcube/rcube_imap.php:1890
[0x00007fc091013660] get_message_headers() /opt/www/roundcubemail-1.3.0/program/lib/Roundcube/rcube_imap.php:1935
[0x00007fc091013560] get_message() /opt/www/roundcubemail-1.3.0/program/lib/Roundcube/rcube_message.php:106
[0x00007fc091013470] __construct() /opt/www/roundcubemail-1.3.0/program/actions/mail/show.php:63
[0x00007fc091013300] run() /opt/www/roundcubemail-1.3.0/program/include/rcmail.php:282
[0x00007fc0910131d0] action_handler() /opt/www/roundcubemail-1.3.0/index.php:278</code></pre></div><p>In the /var/log/mail.log I see the following:<br /></p><div class="codebox"><pre><code>Jul 12 09:46:08 mailserver roundcube: &lt;ppds2t3c&gt; IMAP Error: Login failed for postmaster@example.org against 127.0.0.1 from *myip*. AUTHENTICATE LOGIN:  in /opt/www/roundcubemail-1.3.0/program/lib/Roundcube/rcube_imap.php on line 211 (GET /mail/?_task=mail&amp;_caps=pdf%3D1%2Cflash%3D0%2Ctiff%3D0%2Cwebp%3D1%2Cpgpmime%3D0&amp;_uid=135&amp;_mbox=INBOX&amp;_framed=1&amp;_action=preview)</code></pre></div><p>Debugging becomes more difficult here, because fail2ban is triggered by the alleged failed logins (I don&#039;t log in myself, the roundcube process does this for every mail called up).</p><p>No errors are displayed in the php-fpm.log, except for the slow-log messages.<br />Roundcube is on version 1.6.7, I upgraded from 1.6.2 (or 1.6.3, not really sure), but that didn&#039;t fix it.</p>]]></description>
			<author><![CDATA[null@example.com (lug)]]></author>
			<pubDate>Fri, 12 Jul 2024 07:58:40 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89037.html#p89037</guid>
		</item>
	</channel>
</rss>
