The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cpanel load slow and repquota 100% with high load

Discussion in 'General Discussion' started by aqjedd, Dec 3, 2009.

  1. aqjedd

    aqjedd Member

    Joined:
    Oct 6, 2009
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    my cpanel loading is very slow,

    i check top under ssh,

    the repquota get 100%,i use kill -9 can not kill it,

    is any wayto fix the iuuse ?


    thanks
     
  2. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    You can kill the process ID (PID) of it but if it's updating the quota of the users, leave the process as it is. The quota update process does use up the resources but after all it's necessary to have quota updated.
     
  3. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    It will help to know additional details to more accurately diagnose the issue.

    1.) Via root SSH access please run the following commands and let us know the displayed output:
    Code:
    # cat /etc/*release
    # grep '' /usr/local/cpanel/version
    # mount
    # ps afuxww | grep -i quota
    2.) Other than attempting to kill the process, have there been any other corrective measures performed, including any steps used after a reboot?
     
  4. TDD

    TDD Active Member

    Joined:
    Dec 21, 2002
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Hi!

    We are facing same issue and here is the output.

    cat /etc/*release
    CentOS release 4.8 (Final)

    grep '' /usr/local/cpanel/version
    11.25.0-RELEASE_42401

    mount
    /dev/sda7 on / type ext3 (rw,usrquota)
    none on /proc type proc (rw)
    none on /sys type sysfs (rw)
    none on /dev/pts type devpts (rw,gid=5,mode=620)
    usbfs on /proc/bus/usb type usbfs (rw)
    /dev/sda1 on /boot type ext3 (rw)
    none on /dev/shm type tmpfs (rw)
    /dev/sda8 on /home type ext3 (rw,usrquota)
    /dev/sda6 on /tmp type ext3 (rw,noexec,nosuid)
    /dev/sda3 on /usr type ext3 (rw,usrquota)
    /dev/sda2 on /var type ext3 (rw,usrquota)
    none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
    /tmp on /var/tmp type none (rw,noexec,nosuid,bind)
    sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
    /dev/sdb1 on /backup type ext3 (rw)



    ps afuxww | grep -i quota
    root 13714 0.0 0.0 4492 648 pts/0 S+ 05:21 0:00 \_ grep -i quota
    root 5489 0.0 0.0 4864 1892 ? S 04:59 0:00 | \_ /usr/bin/perl /usr/local/cpanel/bin/safe_fetch_repquota 60
    root 5491 0.0 0.0 2448 528 ? D 04:59 0:00 | \_ /usr/sbin/repquota -auv
    root 8575 0.0 0.1 4572 3100 ? Ss 05:09 0:00 \_ /usr/local/cpanel/bin/update_quota_cache --quiet
    root 8591 0.0 0.0 3984 1880 ? S 05:09 0:00 | \_ /usr/bin/perl /usr/local/cpanel/bin/safe_fetch_repquota 60
    root 8592 0.0 0.0 3284 528 ? D 05:09 0:00 | \_ /usr/sbin/repquota -auv
    root 10042 0.0 0.0 4996 1892 ? S 05:11 0:00 | \_ /usr/bin/perl /usr/local/cpanel/bin/safe_fetch_repquota 60
    root 10043 0.0 0.0 2792 528 ? D 05:11 0:00 | \_ /usr/sbin/repquota -auv
    root 10608 0.0 0.0 4540 1892 ? S 05:13 0:00 | \_ /usr/bin/perl /usr/local/cpanel/bin/safe_fetch_repquota 60
    root 10609 0.0 0.0 2788 528 ? D 05:13 0:00 | \_ /usr/sbin/repquota -auv
    root 10965 0.0 0.0 3652 1892 ? S 05:14 0:00 | \_ /usr/bin/perl /usr/local/cpanel/bin/safe_fetch_repquota 60
    root 10966 0.0 0.0 3276 528 ? D 05:14 0:00 | \_ /usr/sbin/repquota -auv
    root 10556 0.0 0.0 3280 644 ? D 05:13 0:00 | \_ quota -v
    root 10646 0.0 0.0 2916 644 ? D 05:13 0:00 | \_ quota -v
    root 10745 0.0 0.0 1948 644 ? D 05:14 0:00 | \_ quota -v
    root 10814 0.0 0.0 3284 640 ? D 05:14 0:00 | \_ quota -v
    root 11119 0.0 0.0 4636 1892 ? S 05:15 0:00 | \_ /usr/bin/perl /usr/local/cpanel/bin/safe_fetch_repquota 60
    root 11120 0.0 0.0 3212 532 ? D 05:15 0:00 | \_ /usr/sbin/repquota -auv
    root 11157 0.0 0.0 3416 640 ? D 05:15 0:00 | \_ quota -v
    root 11635 0.0 0.0 3900 1892 ? S 05:17 0:00 | \_ /usr/bin/perl /usr/local/cpanel/bin/safe_fetch_repquota 60
    root 11636 0.0 0.0 2756 528 ? D 05:17 0:00 | \_ /usr/sbin/repquota -auv
    root 11454 0.0 0.0 4444 1896 ? S 05:16 0:00 | \_ /usr/bin/perl /usr/local/cpanel/bin/safe_fetch_repquota 60
    root 11455 0.0 0.0 3408 528 ? D 05:16 0:00 | \_ /usr/sbin/repquota -auv
    root 11395 0.0 0.0 2128 640 ? D 05:16 0:00 | \_ quota -v
    root 12712 0.0 0.0 4656 1892 ? S 05:18 0:00 | \_ /usr/bin/perl /usr/local/cpanel/bin/safe_fetch_repquota 60
    root 12713 0.0 0.0 2776 528 ? D 05:18 0:00 | \_ /usr/sbin/repquota -auv
    root 12706 0.0 0.0 2904 644 ? D 05:18 0:00 | \_ quota -v
    root 13198 0.0 0.0 3352 640 ? D 05:19 0:00 | \_ quota -v
    root 10990 0.0 0.0 3312 632 ? DN 05:15 0:00 \_ quota -v nancy
    root 31166 0.0 0.0 4296 1120 ? S 04:37 0:00 | \_ /usr/bin/perl /scripts/quota_auto_fix
    root 31167 0.0 0.0 4296 456 ? S 04:37 0:00 | \_ /usr/bin/perl /scripts/quota_auto_fix
    root 31168 100 0.0 3364 724 ? R 04:37 44:07 | \_ /usr/sbin/repquota -a
    root 1506 0.0 0.0 3632 644 ? D 04:46 0:00 quota -v
    root 1707 0.0 0.0 3368 644 ? D 04:47 0:00 quota -v
    root 1709 0.0 0.0 3228 640 ? D 04:47 0:00 quota -v
    root 2614 0.0 0.0 2856 640 ? D 04:49 0:00 quota -v
    root 3064 0.0 0.0 2924 644 ? D 04:51 0:00 quota -v
    root 3812 0.0 0.0 2912 640 ? D 04:53 0:00 quota -v
    root 3973 0.0 0.0 2864 644 ? D 04:54 0:00 quota -v
    root 4854 0.0 0.0 2744 644 ? D 04:57 0:00 quota -v
    root 5819 0.0 0.0 2664 640 ? D 05:00 0:00 quota -v
    root 6177 0.0 0.0 3568 644 ? D 05:01 0:00 quota -v
    root 6241 0.0 0.0 2900 640 ? D 05:02 0:00 quota -v
    root 6325 0.0 0.0 3304 640 ? D 05:02 0:00 quota -v
    root 6425 0.0 0.0 3280 640 ? D 05:02 0:00 quota -v
    root 6500 0.0 0.0 2408 644 ? D 05:02 0:00 quota -v
    root 6751 0.0 0.0 3124 640 ? D 05:03 0:00 quota -v
    root 6782 0.0 0.0 2568 640 ? D 05:03 0:00 quota -v
    root 6835 0.0 0.0 2916 644 ? D 05:03 0:00 quota -v
    root 6973 0.0 0.0 2924 644 ? D 05:04 0:00 quota -v
    root 7014 0.0 0.0 2832 644 ? D 05:04 0:00 quota -v
    root 7070 0.0 0.0 3468 640 ? D 05:04 0:00 quota -v
    root 7158 0.0 0.0 3324 644 ? D 05:04 0:00 quota -v
    root 7243 0.0 0.0 2848 644 ? D 05:05 0:00 quota -v
    root 7333 0.0 0.0 3740 640 ? D 05:05 0:00 quota -v
    root 7773 0.0 0.0 2492 644 ? D 05:06 0:00 quota -v
    root 9487 0.0 0.0 3560 644 ? D 05:10 0:00 quota -v
    root 9814 0.0 0.0 3252 640 ? D 05:11 0:00 quota -v
    root 10003 0.0 0.0 2576 644 ? D 05:11 0:00 quota -v
    root 10153 0.0 0.0 2764 644 ? D 05:12 0:00 quota -v
    root 10276 0.0 0.0 2516 644 ? D 05:12 0:00 quota -v

    Process not getting killed, any advise?

    Thanks
     
  5. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    The issue could be related to a read-only file system or file system corruption.

    The following should help to determine if there is a read-only file-system (for the root and home partitions):
    Code:
    # touch /testfile /home/testfile
    # stat /testfile /home/testfile
    If there is no error with the above, I would consider rebooting normally.

    If the "touch" command fails to create the files it should display an error, such as indicating there is a read-only file system.

    If the file system is read-only or if corruption is suspected I would escalate the issue to on-site data center personnel to perform hardware diagnostic testing and a file system check. Extreme caution should be practiced when performing a file system check and this should only be done by experienced, on-site personnel via physical console access to the server at boot-time (with the affected file system unmounted). Do not attempt to run a file system check remotely; this is extremely dangerous.
     
  6. TDD

    TDD Active Member

    Joined:
    Dec 21, 2002
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Hi!

    Last time manual filesystem check was done and today again it happened.

    [root@xxx~]# touch /testfile /home/testfile
    [root@xxx~]# stat /testfile /home/testfile
    File: `/testfile'
    Size: 0 Blocks: 0 IO Block: 4096 regular empty file
    Device: 807h/2055d Inode: 105 Links: 1
    Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
    Access: 2010-01-28 00:33:15.000000000 -0600
    Modify: 2010-01-28 00:33:15.000000000 -0600
    Change: 2010-01-28 00:33:15.000000000 -0600
    File: `/home/testfile'
    Size: 0 Blocks: 0 IO Block: 4096 regular empty file
    Device: 808h/2056d Inode: 638 Links: 1
    Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
    Access: 2010-01-28 00:33:15.000000000 -0600
    Modify: 2010-01-28 00:33:15.000000000 -0600
    Change: 2010-01-28 00:33:15.000000000 -0600


    This helps ?

    Thanks
     
  7. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    The output appears normal. If the problem is frequently recurring I would consider escalating the issue via a support request (ticket submission); the issue may require more in-depth investigation. If submitting a support request, when available, please let me know the ticket ID number (e.g, via a PM) so I may follow-up internally. For reference, the links in my forums signature may be used to initiate a ticket submission, such as via one of the following: (Support Options & Additional Support Options).
     
  8. zigzam

    zigzam Well-Known Member

    Joined:
    May 9, 2005
    Messages:
    206
    Likes Received:
    0
    Trophy Points:
    16
    Was this ever resolved? What was the issue?
     
  9. aqjedd

    aqjedd Member

    Joined:
    Oct 6, 2009
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    i reboot it and it works,you may try it.
     
  10. ikillbill

    ikillbill Well-Known Member

    Joined:
    Feb 18, 2008
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    16
    we have the exactly same issue

    any solution to cron it to early monring??
     
  11. zigzam

    zigzam Well-Known Member

    Joined:
    May 9, 2005
    Messages:
    206
    Likes Received:
    0
    Trophy Points:
    16
    You need to run fsck. Its caused due to the file system going read only.
     
Loading...

Share This Page