1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

fix bug #72, also need stream_id for send_and_free_message. 0.9.101

This commit is contained in:
winlin 2014-05-17 17:53:27 +08:00
parent 952abbee03
commit 2c059d3a80
10 changed files with 19 additions and 15 deletions

View file

@ -76,9 +76,9 @@ start() {
# TODO: FIXME: set limit by, for instance, "ulimit -HSn 10000"
if [[ -z $log_file ]]; then
(cd ${ROOT}; ${APP} -c ${CONFIG} >/dev/null 2>&1)
(ulimit -c unlimited && cd ${ROOT}; ${APP} -c ${CONFIG} >/dev/null 2>&1)
else
(cd ${ROOT}; ${APP} -c ${CONFIG} >> $log_file 2>&1)
(ulimit -c unlimited && cd ${ROOT}; ${APP} -c ${CONFIG} >> $log_file 2>&1)
fi
# check again after start server