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.

Question about ulimit (Shell bomb proteccion)

Discussion in 'General Discussion' started by speckados, Jan 13, 2005.

  1. speckados

    speckados Well-Known Member

    Joined:
    May 21, 2003
    Messages:
    291
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Acequias :: Granada :: España
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    The Shell Fork Bomb/Memory Hog Protection Enabled it's a good tools, but with latest version of java get a problem
    Code:
    Error occurred during initialization of VM 
    Could not reserve enough space for object heap
    
    Well. I'm try to assign at one user a diferent value for ulimit command.

    Natural code for ulimit it's /etc/profile or /etc/bashrc

    In this files are located code added from Cpanel with this tools.

    Well.

    After several tries, we earse manually code on two files.

    C lose shell and reconnect.

    ulimit it's valid, and show limits imposed for Cpanel

    Who work exactly Shell bomb proteccion?
    There're more files afected for this utils?

    Where it's the best way for modify values assigned for Shell bomb proteccion?
     
  2. Sash

    Sash Well-Known Member

    Joined:
    Feb 18, 2003
    Messages:
    252
    Likes Received:
    0
    Trophy Points:
    16
    Same problem, ever find a fix?

    Mike
     
  3. thanatopsizer

    thanatopsizer Member

    Joined:
    Dec 5, 2003
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    The ulimit code is in several files...
    /etc/bashrc
    /etc/profile
    /etc/profile.d/limits.sh
    /etc/profile.d/limits.csh


    I haven't found much use for the shell fork bomb protection because I simply don't trust giving my users shell access.
     
Loading...

Share This Page