Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Sep 2005
    Posts
    25

    Default Jailshell ulimit issue

    I'm trying to raise the limit on the number of open files for a user... I entered them in /etc/security/limits.conf and did ulimit -n as root but the user still has a limit of only 100 open files.

  2. #2
    Member
    Join Date
    Sep 2005
    Posts
    25

    Default

    I even edited the limit in /etc/profile but still can't seem to get above the 100 max.

  3. #3
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    It's a chroot environment, hence will not read the global configuration files. Try setting the limits in /home/virtfs/user/etc/security/limits.conf or /home/virtfs/user/etc/profile

  4. #4
    Member
    Join Date
    Aug 2003
    Posts
    17

    Default

    I had a similiar problem, and after editing /etc/profile and /etc/bashrc to remove the ulimit of 100 or to increase the ulimit on certain users, I was still finding problems. Security Center -> Shell Fork Bomb Protection -> Disable it, was what I had to go with. It would be nice to be able to add "trusted" users who can go beyond the usual limits.
    Last edited by Babylon; 02-21-2008 at 10:28 PM.

  5. #5
    Member This forum account has been confirmed by cPanel staff to represent a vendor.
    Join Date
    Apr 2004
    Posts
    621

    Default

    Please, refer to this post where I have written patches needed to completely resolve issue on permanent basis (note that using your way would be erases if you disable/enable protection via WHM!):

    http://forums.cpanel.net/showpost.ph...3&postcount=23
    Reliable web-hosting, good resellers plans, web-design.
    ISProHosting.com

Similar Threads & Tags
Similar threads

  1. Memory issue running PHP scripts from Jailshell account
    By Sindre in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 08-09-2011, 10:37 AM
  2. Ulimit issue with BF2 :
    By zipodind in forum cPGS Discussions
    Replies: 1
    Last Post: 02-24-2011, 12:08 PM
  3. ulimit -n above 1024?
    By demine0 in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 03-22-2005, 10:47 AM
  4. ulimit + whm
    By PyRoAcIdK in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-20-2005, 10:53 PM
  5. Replies: 10
    Last Post: 04-22-2004, 07:28 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube