[CP] print core file size when CRASH ERROR
This commit is contained in:
@ -348,6 +348,9 @@ static void print_limit(const char *name, const int resource)
|
||||
_OB_LOG(INFO, "[%s] %-24s = %ld", __func__, name, limit.rlim_cur);
|
||||
}
|
||||
}
|
||||
if (RLIMIT_CORE == resource) {
|
||||
g_rlimit_core = limit.rlim_cur;
|
||||
}
|
||||
}
|
||||
|
||||
static void print_all_limits()
|
||||
|
||||
Reference in New Issue
Block a user