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

Discussion in 'General' started by optize, Jun 20, 2010.

  1. optize

    optize New Member

    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: Jun 23, 2010
  2. Tony

    Tony Member

    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.
  3. optize

    optize New Member

    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
  4. Tony

    Tony Member

  5. optize

    optize New Member

    That fixed it..

    Thanks!

Share This Page