# FAQ

## What happens if I interrupt the Erigon synchronization?&#x20;

Interrupting the synchronization process is not recommended, but it doesn't cause any major problems. Erigon will resume synchronization after restart.

Anyhow, in some rare cases the database could get corrupted.

## How to get diagnostic for bug report?

* Get stack trace: `kill -SIGUSR1 <pid>`, get trace and stop: `kill -6 <pid>`
* Get CPU profiling: add `--pprof flag` run `go tool pprof -png http://127.0.0.1:6060/debug/pprof/profile\?seconds\=20 > cpu.png`
* Get RAM profiling: add `--pprof flag` run `go tool pprof -inuse_space -png http://127.0.0.1:6060/debug/pprof/heap > mem.png`

## How to run local devnet?

You can find a detailed explanation [here](https://docs.erigon.tech/erigon/v2/configure-erigon#dev-chain).

## Docker permissions error

Docker uses user Erigon with UID/GID 1000 (for security reasons). You can see this user being created in the Dockerfile. Can fix by giving a host's user ownership of the folder, where the host's user UID/GID is the same as the docker's user UID/GID (1000). More details in this [post](https://www.fullstaq.com/knowledge-hub/blogs/docker-and-the-host-filesystem-owner-matching-problem).
