Some java optimizations to add in red5.sh : export JAVA_OPTS="-Xrs -Xms128M -Xmx256M -Dsun.rmi.dgc.client.gcInterval=300000 -Dsun.rmi.dgc.server.gcInterval=360000 -Djava.net.preferIPv4Stack=true -XX:+ExplicitGCInvokesConcurrent -XX:+UseConcMarkSweepGC -Xverify:none" Assuming red5 was installed in /opt/red5/dist admin will often need to restart it or check if it's running. Make sure Red5 restarts: restart.sh #!/bin/bash #Restart the process #First see if running PID=`ps -eo 'tty pid args' | […]
↧