SYSTEM INFORMATION | |
---|---|
OS type and version | debian11 |
Webmin version | 2.105 |
Virtualmin version | 7.8.2 |
Related packages | SUGGESTED |
Hello everyone,
I have migrated a virtualmin domain from an old server to a new one server with new webmin and virtualmin versions, I have synced the maildirs with rsync. When I go to my domain → edit users it takes a lot of time, a few minutes in fact.
I have straced the /usr/share/webmin/virtual-server/list_users.cgi and I have seen it’s reading all users maildirs, for example
787078 stat(“/home/domain/homes/user/Maildir/cur/1704810496.25406_0.domain:2,Sc”, {st_mode=S_IFREG|0600, st_size=22311, …}) = 0
787078 lstat(“/home/domain/homes/user/Maildir/cur/1704369532.4979_0.domain:2,Sc”, {st_mode=S_IFREG|0600, st_size=943333, …}) = 0
787078 stat(“/home/domain/homes/user/Maildir/cur/1704369532.4979_0.domain:2,Sc”, {st_mode=S_IFREG|0600, st_size=943333, …}) = 0
787078 stat(“/home/domain/homes/user/Maildir/cur/1704369532.4979_0.domain:2,Sc”, {st_mode=S_IFREG|0600, st_size=943333, …}) = 0
787078 lstat(“/home/domain/homes/user/Maildir/cur/1709554719.25027_0.domain:2,RSc”, {st_mode=S_IFREG|0600, st_size=24236, …}) = 0
787078 stat(“/home/domain/homes/user/Maildir/cur/1709554719.25027_0.domain:2,RSc”, {st_mode=S_IFREG|0600, st_size=24236, …}) = 0
787078 stat(“/home/domain/homes/user/Maildir/cur/1709554719.25027_0.domain:2,RSc”, {st_mode=S_IFREG|0600, st_size=24236, …}) = 0
787078 lstat(“/home/domain/homes/user/Maildir/cur/1705771439.12407_0.domain:2,Sb”, {st_mode=S_IFREG|0600, st_size=654559, …}) = 0
787078 stat(“/home/domain/homes/user/Maildir/cur/1705771439.12407_0.domain:2,Sb”, {st_mode=S_IFREG|0600, st_size=654559, …}) = 0
787078 stat(“/home/domain/homes/user/Maildir/cur/1705771439.12407_0.domain:2,Sb”, {st_mode=S_IFREG|0600, st_size=654559, …}) = 0
Why is list_users doing this? Here are millions of mails and I guess this is the problem with the slowdown in edit users.
Thank you.