• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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