You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/03/23 14:18:34 UTC
[GitHub] [apisix] soulbird edited a comment on issue #6666: bug: openid-connect plugin causes nginx to crash on ARM64
soulbird edited a comment on issue #6666:
URL: https://github.com/apache/apisix/issues/6666#issuecomment-1075862043
When the process exits unexpectedly, you can use the following method to get coredump file
steup 1: adjust core file size
```bash
ulimit -c
unlimited
# If 0, use the following commands to lift the limit or set a custom size.
$ sudo ulimit -c unlimited
```
steup 2: change the default core file directory
```bash
$ sysctl -w kernel.core_pattern=/tmp/core-%e.%p.%t
$ sysctl -p /etc/syslctl.conf
```
You will see the coredump file in the `/tmp` directory, when a worker process exits unexpectedly.
```bash
$ ll /tmp
rw------- 1 root root 280 MiB Mon Mar 21 14:11:22 2022 core-openresty.29770.1647843081
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org