Skip to content

Commit

Permalink
add ulimit in default profile.
Browse files Browse the repository at this point in the history
  • Loading branch information
kkkgo committed May 18, 2024
1 parent f07d627 commit c531cd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion FILES/etc/profile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export HOME=$(grep -e "^${USER:-root}:" /etc/passwd | cut -d ":" -f 6)
export HOME=${HOME:-/root}
export PS1='\u@\h:\w\$ '
export ENV=/etc/shinit

ulimit -SHn 1048576
case "$TERM" in
xterm*|rxvt*)
export PS1='\[\e]0;\u@\h: \w\a\]'$PS1
Expand Down
1 change: 1 addition & 0 deletions FILES/etc/sysctl.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fs.file-max = 9223372036854775807

0 comments on commit c531cd9

Please sign in to comment.