Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Problem with jailed /proc mount and quota [case 68037]

Discussion in 'General Discussion' started by Alfa-Host, May 14, 2013.

  1. Alfa-Host

    Alfa-Host Registered

    Joined:
    May 14, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    About 4 days ago i upgdare to cPanel 11.38 , a day after update i saw login to cPanel take more time more than usual , i checked this and found the problem was /usr/bin/quota command .

    When a user want login to cPanel "/usr/bin/quota -v username" try to get quota for this commad and getting quota done after about 15sec !!

    After that with strace i check process of "/usr/bin/quota -v username" and see someting like this :

    A part of result :
    Code:
    statfs("/home/virtfs/appdemoi/home2/appdemoi", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=57687349, f_bfree=26883274, f_bavail=23952918, f_files=14655488, f_ffree=9926755, f_fsid={1484693606, -809830478}, f_namelen=255, f_frsize=4096}) = 0
    stat("/dev/sdc1", {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 33), ...}) = 0
    read(3, "er=1,data=ordered 0 0\n/dev/sda3 "..., 1024) = 1024
    read(3, " /home/virtfs/rankafza/var/spool ext4"..., 1024) = 1024
    lstat("/virtfs", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat("/home/virtfs/appdemoi", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
    lstat("/home/virtfs/appdemoi/home2", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat("/home/virtfs/appdemoi/home2/appdemoi", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
    statfs("/home/virtfs/appdemoi/home2/appdemoi", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=57687349, f_bfree=26883274, f_bavail=23952918, f_files=14655488, f_ffree=9926755, f_fsid={1484693606, -809830478}, f_namelen=255, f_frsize=4096}) = 0
    stat("/dev/sdc1", {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 33), ...}) = 0
    read(3, "tmp ext3 rw,seclabel,nosuid,noex"..., 1024) = 1024
    lstat("/virtfs", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat("/home/virtfs/rankafza", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
    lstat("/home/virtfs/rankafza/home2", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat("/home/virtfs/rankafza/home2/rankafza", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
    statfs("/home/virtfs/rankafza/home2/rankafza", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=57687349, f_bfree=26883274, f_bavail=23952918, f_files=14655488, f_ffree=9926755, f_fsid={1484693606, -809830478}, f_namelen=255, f_frsize=4096}) = 0
    stat("/dev/sdc1", {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 33), ...}) = 0
    read(3, "/sdc1 /home/virtfs/appdemoi/home2/app"..., 1024) = 1024
    lstat("/virtfs", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat("/home/virtfs/appdemoi", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
    lstat("/home/virtfs/appdemoi/home2", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat("/home/virtfs/appdemoi/home2/appdemoi", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
    statfs("/home/virtfs/appdemoi/home2/appdemoi", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=57687349, f_bfree=26883274, f_bavail=23952918, f_files=14655488, f_ffree=9926755, f_fsid={1484693606, -809830478}, f_namelen=255, f_frsize=4096}) = 0
    stat("/dev/sdc1", {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 33), ...}) = 0
    read(3, "osuid,relatime,barrier=1,data=or"..., 1024) = 1024
    lstat("/virtfs", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat("/home/virtfs/rankafza", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
    lstat("/home/virtfs/rankafza/home2", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat("/home/virtfs/rankafza/home2/rankafza", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
    statfs("/home/virtfs/rankafza/home2/rankafza", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=57687349, f_bfree=26883274, f_bavail=23952918, f_files=14655488, f_ffree=9926755, f_fsid={1484693606, -809830478}, f_namelen=255, f_frsize=4096}) = 0
    stat("/dev/sdc1", {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 33), ...}) = 0
    I rebooted the server and problem solved , but after a day i see the problem again !!

    Thanks.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,161
    Likes Received:
    370
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi Alfa-Host, do you have a ticket open on this issue?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,561
    Likes Received:
    42
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    We are currently working on a fix to the issue. You might find some temporary relief by running scripts/clear_orphaned_virtfs_mounts periodically.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice