[Resolved] cPanel very slow when adding new accounts / domains

optize

Well-Known Member
#1
Has anyone else seen a time increase in adding domains to cPanel?

When new accounts are created, or when existing users add sub / add-on domains, it can take up to 5-10 minutes for it to complete. This happens on all of our servers.

We checked with cPanel, they won't touch it since it's Litespeed and when we switch back to Apache, things load instantly.

The only thing in /usr/local/cpanel/logs/error.log is

/usr/local/apache/bin/httpd: line 17: /usr/local/lsws/logs/ap_cmd_param.log: Permission denied
/usr/local/apache/bin/httpd: line 19: ulimit: virtual memory: cannot modify limit: Operation not permitted
/usr/local/apache/bin/httpd: line 17: /usr/local/lsws/logs/ap_cmd_param.log: Permission denied
/usr/local/apache/bin/httpd: line 19: ulimit: virtual memory: cannot modify limit: Operation not permitted

But that's fairly normal, we've seen it for months.
 
Last edited by a moderator:

Tony

Well-Known Member
#2
Do you see any process named safeaprestart in in the process list? If so then sounds like you grabbed 4.0.15 when wswatch was enabled. So just grab 4.0.15 again and kill any safeaprestart processes.
 

optize

Well-Known Member
#3
Do you see any process named safeaprestart in in the process list? If so then sounds like you grabbed 4.0.15 when wswatch was enabled. So just grab 4.0.15 again and kill any safeaprestart processes.
Hey Tony --

I do have wswatch, but no safeaprestart;

root@cp08 [~]# ps aux | grep safeaprestart
root 27172 0.0 0.0 61140 752 pts/0 S+ 15:43 0:00 grep safeaprestart
root@cp08 [~]# ps aux | grep wswatch
root 18802 0.0 0.0 65912 1212 ? S 13:18 0:00 /bin/sh ./wswatch.sh
 
Top