diff options
author | lantw44 <lantw44.bbs@sony.tfcis.org> | 2017-10-05 21:49:40 +0800 |
---|---|---|
committer | BBS Administrator <bbs@sony.tfcis.org> | 2017-10-05 21:49:40 +0800 |
commit | 6c4c34eea5ee6c99feecd41e92f9998f1150713b (patch) | |
tree | 92b7070e5f4374f163cca79bb08e6113595151fe | |
parent | 5f2f04888dc9c1ffa8ea1abef23a9815b454ab4d (diff) | |
download | sonybbs-6c4c34eea5ee6c99feecd41e92f9998f1150713b.tar.gz sonybbs-6c4c34eea5ee6c99feecd41e92f9998f1150713b.tar.zst sonybbs-6c4c34eea5ee6c99feecd41e92f9998f1150713b.zip |
允許 bbsd 產生 core dump
這對解決使用者回報的斷線問題很有幫助。
-rw-r--r-- | maple/bbsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/maple/bbsd.c b/maple/bbsd.c index 130a70c..4c5abf2 100644 --- a/maple/bbsd.c +++ b/maple/bbsd.c @@ -1376,7 +1376,7 @@ start_daemon(port) setrlimit(RLIMIT_RSS, &limit); - limit.rlim_cur = limit.rlim_max = 0; + limit.rlim_cur = limit.rlim_max = RLIM_INFINITY; setrlimit(RLIMIT_CORE, &limit); limit.rlim_cur = limit.rlim_max = 60 * 20; |