I'm an insomniac myself and i can understand your frustration.
You want to sleep but you can't, and youre neither here nor there,
so you can't actually get up and do anything productive. It makes
one feel really angry (or least I did).
Drinking milk and taking certain supplements seem to have helped
me, but they don't work if I got stuff on my mind or there's
something happening the next day.
They say regular exercise helps, but I've had insomnia problems
since secondary school when I was active.