# Tidb Server Oom Diagnostics (A)
+ Client apps
+ logs
  + `dmesg -T | grep tidb-server` The results have a log of the OOM-killer at a time near the incident
  + `tidb.log` 
  + `tidb_stderr.log` 

```
ERROR 2013 (HY000): Lost connection to MySQL server during query
```
------------------------------------------------------------
  - tidb_stderr.log 
    - grep to fatal error: “runtime: out of memory” or “cannot allocate memory”.
