AIX

 View Only
  • 1.  connections limits in AIX

    Posted Mon April 10, 2023 08:34 AM

    hello,
    A process allowed the maximum number of network connections in the AIX system?



    ------------------------------
    PENG LIU
    ------------------------------


  • 2.  RE: connections limits in AIX

    Posted Mon April 10, 2023 09:13 AM

    So I think you're asking how many network connections a process is allowed to have in AIX. The limit is more about file descriptors. Check the output of ulimit -a. On an AIX 7.1 system I use I get

    core file size              (blocks, -c) 2097151
    data seg size               (kbytes, -d) 262144
    file size                   (blocks, -f) unlimited
    max memory size             (kbytes, -m) unlimited
    open files                          (-n) 4000
    pipe size                (512 bytes, -p) 64
    stack size                  (kbytes, -s) 32768
    cpu time                   (seconds, -t) unlimited
    max user processes                  (-u) unlimited
    virtual memory              (kbytes, -v) unlimited

    You care about the "open files" limit. You can change this limit using ulimit -n <number>, e.g. ulimit -n 8000 or ulimit -n unlimited. Read the man page for ulimit on other ways to change the limits permanently or across multiple users.







    ------------------------------
    Dave Marquardt
    Sr. Software Engineer
    IBM
    Austin TX
    ------------------------------



  • 3.  RE: connections limits in AIX

    Posted Tue April 11, 2023 03:53 AM

    It seems like you're inquiring about the maximum number of network connections a process can have in AIX. However, the limit is mainly related to file descriptors. To check the limit, run the command "ulimit -a". Look for the "open files" limit. You can modify this limit using "ulimit -n <number>", such as "ulimit -n 8000" or "ulimit -n unlimited". For permanent or multi-user limit changes, refer to the ulimit man page.



    ------------------------------
    David Warner
    ------------------------------