Skip to main content

Max user processes for a specific user

Comments

6 comments

  • cPanelLauren
    Hi @doru1986 Are you using CloudLinux? If so their documentation on this might be helpful: CloudLinux Documentation If not more detail/information would be helpful Thanks!
    0
  • doru1986
    No, this is the thing that i don't have Cloud Linux.
    0
  • cPanelLauren
    Hi @doru1986 That would entail modifying the ulimit for the user which defaults to 4096 for most users. $ ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 7268 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 4096 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited
    You can read about modifying this here: How to set ulimit values - Red Hat Customer Portal
    0
  • APatchworkBoy
    Hi @cPanelLauren - instructions at that link appear to be ineffective for some reason... (see )
    0
  • Jarvis421
    If you have already modified ulimit for a user, then you have to logout and login again to apply the changes.
    0
  • cPanelLauren
    Hi @APatchworkBoy I was unaware you were running shell fork bomb protection. This would definitely cause customized ulimits to be overwritten. That doesn't make the red hat link invalid though, that is the proper way to modify ulimits when something else isn't interfering. Thanks!
    0

Please sign in to leave a comment.