I'm sure plenty of IHers get insomnia from time to time. This is to be expected given the stress and uncertainty of entrepreneurship. It hits me about once per month - usually the stress flavor which is where you wake up after a couple of hours sleep and can't get back to sleep. This is manageable but a pain because I'm very unproductive the next day.
What has worked for you?
Here's what I've tried:
One other point to note is that when it hits I've learned to just get up and do something productive and accept that the next day is going to be a bit of a write-off. I've found this quite a useful mental hack.
A lot of these ideas come from Why We Sleep by Matthew Walker. I also recently came across this cool resource on HN
Would really like to hear what has worked well for others.