Skip to content

Commit

Permalink
Add size limit hs_err file
Browse files Browse the repository at this point in the history
  • Loading branch information
muratugureminoglu committed Dec 23, 2024
1 parent 60001d8 commit 386ca68
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/server/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
# If Memory usage is more than this value, server reports highResourceUsage and does not allow publish or play
# Example usage: ./start.sh -e 60

# Stop hs_err_pid.log if its size exceeds 1GB to prevent system issues.
ulimit -f 1048576

if [ -z "$RED5_HOME" ]; then
BASEDIR=$(dirname "$0")
cd $BASEDIR
Expand Down

0 comments on commit 386ca68

Please sign in to comment.