storj.io/minio@v0.0.0-20230509071714-0cbc90f649b1/docs/debugging/README.md (about) 1 # MinIO Server Debugging Guide [](https://slack.min.io) [](https://hub.docker.com/r/minio/minio/) 2 3 ### HTTP Trace 4 HTTP tracing can be enabled by using [`mc admin trace`](https://github.com/minio/mc/blob/master/docs/minio-admin-complete-guide.md#command-trace---display-minio-server-http-trace) command. 5 6 Example: 7 ```sh 8 minio server /data 9 ``` 10 11 Default trace is succinct only to indicate the API operations being called and the HTTP response status. 12 ```sh 13 mc admin trace myminio 14 ``` 15 16 To trace entire HTTP request 17 ```sh 18 mc admin trace --verbose myminio 19 ``` 20 21 To trace entire HTTP request and also internode communication 22 ```sh 23 mc admin trace --all --verbose myminio 24 ``` 25 26 27 ### Subnet Health 28 Subnet Health diagnostics help ensure that the underlying infrastructure that runs MinIO is configured correctly, and is functioning properly. This test is one-shot long running one, that is recommended to be run as soon as the cluster is first provisioned, and each time a failure scenario is encountered. Note that the test incurs majority of the available resources on the system. Care must be taken when using this to debug failure scenario, so as to prevent larger outages. Health tests can be triggered using `mc admin subnet health` command. 29 30 Example: 31 ```sh 32 minio server /data 33 ``` 34 35 The command takes no flags 36 ```sh 37 mc admin subnet health myminio 38 ``` 39 40 The output printed will be of the form 41 ```sh 42 ● Admin Info ... ✔ 43 ● CPU ... ✔ 44 ● Disk Hardware ... ✔ 45 ● Os Info ... ✔ 46 ● Mem Info ... ✔ 47 ● Process Info ... ✔ 48 ● Config ... ✔ 49 ● Drive ... ✔ 50 ● Net ... ✔ 51 ********************************************************************************* 52 WARNING!! 53 ** THIS FILE MAY CONTAIN SENSITIVE INFORMATION ABOUT YOUR ENVIRONMENT ** 54 ** PLEASE INSPECT CONTENTS BEFORE SHARING IT ON ANY PUBLIC FORUM ** 55 ********************************************************************************* 56 mc: Health data saved to dc-11-health_20200321053323.json.gz 57 ``` 58 59 The gzipped output contains debugging information for your system