1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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 New Member

    Joined:
    May 14, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    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:
    12,123
    Likes Received:
    33
    Trophy Points:
    48
    Location:
    Pennsylvania
    Hi Alfa-Host, do you have a ticket open on this issue?
     
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,318
    Likes Received:
    7
    Trophy Points:
    38
    We are currently working on a fix to the issue. You might find some temporary relief by running scripts/clear_orphaned_virtfs_mounts periodically.
     

Share This Page