• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

slow usermng

A

AleksM

Guest
hello!
we have ~ 24k users on the one server
we create new accounts with plesk api
all steps is very fast except psa/admin/bin/usermng --add-user
this command eats 100% CPU and work ~2 min
(simple useradd linux command works very fast)
when I tried to attach to usermng process with strace it shows

open("/etc/passwd", O_RDONLY|0x80000 /* O_??? */) = 3
lseek(3, 0, SEEK_CUR) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=1713592, ...}) = 0
mmap(NULL, 1713592, PROT_READ, MAP_SHARED, 3, 0) = 0x7ffb814f0000
lseek(3, 1713592, SEEK_SET) = 1713592
munmap(0x7ffb814f0000, 1713592) = 0
close(3)

a lot of times

I can't determinate for what this
so question : is it possible to speed up this step ?
 
Ubuntu server 8.04 (latest updates)
Parallels Plesk Panel version 9.5.3
 
Back
Top