I have always had sleep issues and over a long period of time and experimenting, found that I could calm the bacteria by giving them the right amount of fiber and simple proteins to work on, while avoiding sugar. If I deprive them of nutrients, they release something into my blood that increases anxiety. I have yet to figure out what this chemical is.
I used to think it was a blood sugar problem, but after a lot of testing, determined my blood sugar was fine. It turns out that 700 trillion life forms in the gut can wreak havoc if they are not taken care of.
And to think ... I said I don't want any pets. Turns out, I have 700 trillion of them.