Performance problem...
 
Notifications
Clear all

Performance problems responding to mail threads

8 Posts
2 Users
0 Reactions
497 Views
(@sistemak-imh)
Joined: 10 months ago
Posts: 36
Topic starter  

Hi

When you reply to an email containing a thread with many messages, typing becomes very very slow. You keep hitting the keys and the text takes a long time to appear in the body of the message. Replying to the message becomes very difficult.

You also find that the browser starts consuming a lot of computer resources.

After several tests, we have detected that this happens with threads of 5 or more messages. The more messages you have, the slower it gets.

Thanks !


   
Quote
(@stefanodavid)
Joined: 3 years ago
Posts: 227
 

@sistemak-imh: I never experienced this behaviour, I think it might depend on the length of the e-mails in the thread. Can you add some information about:

* OS version

* carbonio version

* version of package carbonio-mails-ui

* Are there attachments in the e-mails? What's their size?

 

Thanks!


   
ReplyQuote
(@sistemak-imh)
Joined: 10 months ago
Posts: 36
Topic starter  

Hi @stefanodavid 

* Server OS version: Ubuntu 22.04.4 LTS
* carbonio version: 24.3.0
* version of package carbonio-mails-ui: 1.14.2-1ubuntu

There are not many attachments in these emails. In some cases a 2MB PDF, or maybe the signature of the emails, but nothing special.

The repeated pattern is that the emails accumulate in the thread, and that the older the user's computer, the earlier the symptoms appear, as the user's browser is the one with the performance problems.

We have tested it in Firefox and Chrome

Thanks !


   
ReplyQuote
(@stefanodavid)
Joined: 3 years ago
Posts: 227
 

@sistemak-imh Is this a CE Single-server? I checked on a test system (with latest carbonio-mails-ui package version 1.15.0-1ubuntu) I have at disposal and was not able to reproduce the issue, even with very large threads...

Can you share some details about the server(s) configuration? I guess this might be a problem with the system's resources, perhaps a high number of accounts and limited RAM.


   
ReplyQuote
(@sistemak-imh)
Joined: 10 months ago
Posts: 36
Topic starter  

Yes, it's a CE Single-server, virtualized on a Proxmox VE Server.

The VM has 32GB RAM and 16 Processors (2 sockets, 8 cores)

This happens even when the server has almost no load. I just played it right now, and the server has 17GB of memory occupied and 15GB free.

The CPU is also quiet, with very little load.

 


   
ReplyQuote
(@sistemak-imh)
Joined: 10 months ago
Posts: 36
Topic starter  

Hi @stefanodavid

After reading your comment in which you say that you have not been able to reproduce the problem, I have been doing different tests to find a repeating pattern, and I think I have found a clue: the problem is due to the email signature.

I have removed my mail signature and generated a 50 mail thread with an external account. The problem did not appear.

Then I have added my signature back, and the problem arises again.

In our signature we do not embed images, instead we reference the image located on our web site, and in this way we do not add weight to the message. This has always worked for us before, in fact these are the signatures we had in Zimbra.

My first suspicion was that the problem might arise when rendering the image we link to on our website, so I created a version of the signature without the “img src” tags, leaving only “a href” web links, but the problem does not go away. My feeling is that it slows down more slowly (it takes more posts in the thread for degradation), but the problem doesn't go away.

I have modified the signature again, removing also the “a href” links, leaving just text, but this doesn't solve the problem either. Trying a new thread with about 30 mails, the problem starts to appear.

I have checked the html syntax of the table, and I would say that it is correct, I insert it in the post.

Could you do your tests again using this code in the signature ?

Thanks !

 

<div><br><br>
<table border="0" width="670" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<table border="0" width="670" cellspacing="0">
<tbody>
<tr>
<td colspan="3"><br><br></td>
</tr>
<tr valign="top">
<td style="font-family: 'arial' , 'helvetica' , sans-serif; font-size: 13px; color: #101010; text-decoration: none; padding-left: 12px;" align="left" width="300px">
<p><br>Mike Smith</p>
<p>IT Department &nbsp;<br><br></p>
</td>
<td rowspan="2">&nbsp;</td>
<td style="font-family: 'arial' , 'helvetica' , sans-serif; font-size: 13px; color: #101010; text-decoration: none;" align="left" width="320px"><strong>IMH</strong> Campus<br>Azkue auzoa, 1<br>20870 Elgoibar, Gipuzkoa <br>+34 943 74 41 32 <br><strong>www.imh.eus</strong></td>
</tr>
<tr valign="bottom">
<td style="font-family: 'arial' , 'helvetica' , sans-serif; font-size: 13px; color: #101010; text-decoration: none; padding-left: 12px;" align="left"><span style="font-size: 16px;">mike@smith.com<br>+34 943 744 132 <br></span></td>
<td style="font-family: 'arial' , 'helvetica' , sans-serif; font-size: 13px; color: #101010; text-decoration: none;" colspan="2" align="left" width="200">&nbsp;</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>

 

 

 

 


   
ReplyQuote
(@stefanodavid)
Joined: 3 years ago
Posts: 227
 

@sistemak-imh Hmm... this would be one of the, well, can I say funniest?! bugs I ever stumbled upon in my career. For sure, one of the most unexpected. 🙂

But many, many thanks for the further analysis and feedback, I'll give it a try as soon as I find some time, hopefully within this week.


   
ReplyQuote
(@sistemak-imh)
Joined: 10 months ago
Posts: 36
Topic starter  

Hello

Have you had the opportunity to analyze this bug ?

Some users tell me that it is very difficult for them to communicate with their contacts with Carbonio because of this problem.

Thanks


   
ReplyQuote