• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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