pup_seba wrote:Hi,
It is 'only' 30 minutes and the mail ends up being delivered, If I had to guess, I would put my money on performance bottleneck. Please share with us this info:
- number of CPUs or vCPUs
- Amount of RAM
- Number of users
- Number of mails in spool (adminUI > monitoring > spool).
- Output of these commands:
- du -sh /opt/zimbra/db/data
- free -m
- df -lh
- cat /opt/zimbra/conf/my.cnf
- zmlocalconfig | grep -i mailboxd_java_heap_size
Also, does it always have delays or is it only during specific times of the day?
If you are using a VM, does your host suffers of memory/cpu contention of any kind?
txs, i send to you the requested info
No VMs, this is a single instalaltion in a HP Proliant Server
Delays ocurrs randomly, but in a incrising number of users. Began with one user recibing dalyed mail, now are 3 users in 6 months app
lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 6
On-line CPU(s) list: 0-5
Thread(s) per core: 1
Core(s) per socket: 6
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 79
Model name: Intel(R) Xeon(R) CPU E5-2603 v4 @ 1.70GHz
Stepping: 1
CPU MHz: 1400.000
CPU max MHz: 1700,0000
CPU min MHz: 1200,0000
BogoMIPS: 3395.89
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 15360K
NUMA node0 CPU(s): 0-5
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm rdseed adx smap xsaveopt cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm arat pln pts
free -m
total used free shared buff/cache available
Mem: 15921 9487 818 148 5616 5909
Swap: 953 262 691
cat /etc/passwd | cut -d":" -f1
root
daemon
bin
sys
sync
games
man
lp
mail
news
uucp
proxy
www-data
backup
list
irc
gnats
nobody
systemd-timesync
systemd-network
systemd-resolve
systemd-bus-proxy
syslog
_apt
lxd
messagebus
uuidd
dnsmasq
sshd
zimbra
postfix
bind
snmp
ntp
jorge
zmprov -l gaa | wc -l
36
/opt/zimbra/libexec/zmqstat
corrupt=0
active=0
hold=0
incoming=0
deferred=0
/opt/zimbra/common/sbin/postqueue -p
Mail queue is empty
du -sh /opt/zimbra/db/data
5,0G /opt/zimbra/db/data
df -lh
Filesystem Size Used Avail Use% Mounted on
udev 7,8G 0 7,8G 0% /dev
tmpfs 1,6G 149M 1,5G 10% /run
/dev/sda2 1,8T 243G 1,5T 14% /
tmpfs 7,8G 0 7,8G 0% /dev/shm
tmpfs 5,0M 0 5,0M 0% /run/lock
tmpfs 7,8G 0 7,8G 0% /sys/fs/cgroup
tmpfs 1,6G 0 1,6G 0% /run/user/1001
cat /opt/zimbra/conf/my.cnf
[mysqld]
bind-address = 127.0.0.1
basedir = /opt/zimbra/common
datadir = /opt/zimbra/db/data
socket = /opt/zimbra/data/tmp/mysql/mysql.sock
pid-file = /opt/zimbra/log/mysql.pid
port = 7306
user = zimbra
tmpdir = /opt/zimbra/data/tmp
external-locking
slow_query_log = 1
slow_query_log_file = /opt/zimbra/log/myslow.log
general_log_file = /opt/zimbra/log/mysql-mailboxd.log
long_query_time = 1
log_queries_not_using_indexes
thread_cache_size = 110
max_connections = 110
# We do a lot of writes, query cache turns out to be not useful.
query_cache_type = 0
sort_buffer_size = 1048576
read_buffer_size = 1048576
# (Num mailbox groups * Num tables in each group) + padding
table_open_cache = 1200
innodb_data_file_path = ibdata1:10M:autoextend
innodb_buffer_pool_size = 5008626892
innodb_log_file_size = 524288000
innodb_log_buffer_size = 8388608
innodb_file_per_table
# Value is: 200 + max_connections + 2 * table_open_cache
innodb_open_files = 2710
innodb_max_dirty_pages_pct = 30
innodb_flush_method = O_DIRECT
innodb_flush_log_at_trx_commit = 0
max_allowed_packet = 16777216
[mysqld_safe]
log-error = /opt/zimbra/log/mysqld.log
pid-file = /opt/zimbra/log/mysql.pid
zmlocalconfig | grep -i mailboxd_java_heap_size
mailboxd_java_heap_size = 3968