View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006014 | SOGo | Backend Address Book | public | 2024-08-29 11:19 | 2024-08-29 11:19 |
Reporter | elnone | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | [Server] Linux | OS | Ubuntu | OS Version | 16.04 LTS |
Product Version | 5.9.1 | ||||
Summary | 0006014: CardDAV client and for each contact DML SELECT to DB | ||||
Description | Hello, The issue case is related to Global Address Book and CardDAV client. So, here is a configuration in sogo.conf
The client Thunderbird is configured with CardDAV URL: https://post.domain.com/SOGo/dav/cody.zuniga@domain.com/Contacts/gal/
So as result if SOGo service is behind some load balancer, like HAProxy, there must be set timeout of 30 and more minutes for frontend and backend to remain the TCP session. Also there was a test with 250.000 contacts. After one hour the WatchDog killed the process... By default Thunderbird has 30 minutes contacts synchronization interval. So, if there are 10.000 users and more, the SOGo, like to say, DDoS'es the database with thousands of SELECT DML. | ||||
Steps To Reproduce | To reproduce, we need a configured database with data. Attached you can find a file with fake users to populate a database table "gal". | ||||
Tags | CardDAV, sql | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2024-08-29 11:19 | elnone | New Issue | |
2024-08-29 11:19 | elnone | Tag Attached: CardDAV | |
2024-08-29 11:19 | elnone | Tag Attached: sql | |
2024-08-29 11:19 | elnone | File Added: gal.7z.001 | |
2024-08-29 11:19 | elnone | File Added: gal.7z.002 | |
2024-08-29 11:19 | elnone | File Added: Archive.zip | |
2024-08-29 11:19 | elnone | File Added: Screenshot_20240829_141755.bmp |