diff --git a/src/os/linux/src/tsystem.c b/src/os/linux/src/tsystem.c index fa41e8e6d0b077048daa339ca2704c8ae0688106..b01f0b7926993cf8eccee5390d5ccf5d87b6e1c1 100644 --- a/src/os/linux/src/tsystem.c +++ b/src/os/linux/src/tsystem.c @@ -608,6 +608,7 @@ void taosSetCoreDump() { pPrint("the new unlimited para: rlim_cur=%d, rlim_max=%d", rlim.rlim_cur, rlim.rlim_max); } +#ifndef _TD_ARM_ // 2. set the path for saving core file struct __sysctl_args args; int old_usespid = 0; @@ -649,9 +650,10 @@ void taosSetCoreDump() { } pPrint("The new core_uses_pid[%d]: %d", old_len, old_usespid); +#endif #if 0 - // 3. set the path for saving core file + // 3. create the path for saving core file int status; char coredump_dir[32] = "/var/log/taosdump"; if (opendir(coredump_dir) == NULL) {