Results 1 to 9 of 9

Thread: IRCd and Ulimits

  1. #1
    Member
    Join Date
    Mar 2003
    Posts
    58

    Default IRCd and Ulimits

    I've had lots of problems with cpanel and ulimits. Im trying to run unreal IRCD 3.2 on my box from a shell. Im having problems b/c of the crapy ulimit cpanel sets up.

    with root:
    root@srv01 [~]# ulimit -u
    14335

    I su to the shell my ircd is on and i do the same.
    digtoxshell@srv01 [~/Unreal3.2]# ulimit -u
    20

    How can i change this to a perminate HIGH number? I created the account using adduser from root.

    I've also tryed ulimit -u 65535 from root
    then suing
    but that doesnt work.

    I get this error when i run the ircd.:
    The OS enforces a limit on max open files
    Hard Limit: 100 MAXCONNECTIONS: 1024
    Fix MAXCONNECTIONS
    Last edited by demine0; 10-07-2003 at 07:07 PM.

  2. #2
    Registered User
    Join Date
    Jun 2003
    Posts
    2

    Default

    well you could goto
    /etc/security/limits.conf
    and manually set the limits

    cPanel.net Support Ticket Number:

  3. #3
    Member
    Join Date
    Mar 2003
    Posts
    58

    Default

    Thanks for the reply.
    Any idea what i would put in there? What i want to set is not a domin. Its a shell account.

    I also dont see a option for ulimit ot sile dyceptors there.

    cPanel.net Support Ticket Number:

  4. #4
    Registered User
    Join Date
    Jun 2003
    Posts
    2

    Default

    if you read the commented text above it should give you a fairly good idea what to put

    domain can be a username

    ulimit -u shows the max amount of process aloud. thats why root is basically unlimited :P

    cPanel.net Support Ticket Number:

  5. #5
    Member
    Join Date
    Oct 2003
    Posts
    92

    Default

    Well, I tried everything on this topic . Nothing did it !

    Whe I change limits.conf I need to do what to it take efect ?


    Cause I need more processes per user , actually 20, and more oepn file , 100 now.

    I need to rise this . But I only can rise under root. I changed the /etc/profile to run a ulimit to rise it .... But simply didnt work.

    The I tried /etc/security/limis.conf ... I changed it .. What needs to be done to work ?

    Well, I need this. But I cant set thsio up ..

  6. #6
    Member
    Join Date
    Feb 2004
    Posts
    37

    Default

    Do the following,

    go into /etc/profile.d/ and edit the two files limits.csh and limits.sh.

    after that edit the file /etc/profile

    and all should work.

    greets Sven

  7. #7
    Member
    Join Date
    Jun 2004
    Posts
    5

    Cool This is the FD_SETSIZE fix

    Do the following,

    go into /etc/profile.d/ and edit the two files limits.csh and limits.sh.

    after that edit the file /etc/profile

    This has worked on my system today.

    Thanx Sven

  8. #8
    Member
    Join Date
    Mar 2006
    Location
    Brno, Czech Republic
    Posts
    511

    Default

    how did u edited them? i could not get it to work
    Not everything that is counted counts and not everything that counts can be counted

  9. #9
    Member
    Join Date
    Jul 2003
    Posts
    278

    Default

    I'm guessing that you visited the UnrealIRCD FAQ page, and checked up on ulimits there, and followed the directions that were given?
    http://www.vulnscan.org/UnrealIRCd/faq/#46

Similar Threads

  1. Ulimits
    By kenashkov in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 02-15-2011, 11:04 AM
  2. IRCD Limits
    By SiLeNt^^LuCiDiT in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 08-05-2007, 03:32 AM
  3. IRCD help
    By SiLeNt^^LuCiDiT in forum cPanel & WHM Discussions
    Replies: 6
    Last Post: 06-24-2007, 12:35 PM
  4. ircd help
    By liquidblaze in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 11-22-2003, 07:44 PM
  5. Ircd?
    By buy1orget1 in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 03-25-2003, 03:17 PM