I suffer from insomnia, not quite as badly as some of the other responses on here, but I was following a 26 hour clock for a while, adding two hours ontothe day each day, waking up at 3am, going to sleep in the mid afternoon... my best remedy for it so far has been improving my diet, eating oily fish, drinking green tea and eating fruits with high vitamin c contents and loads of antioxidants. helps with my depression and all... haven't tried melatonin or SSRI's or anything like that.. I'm not willing to, even for things like anxiety attacks and stress, which I had a bit of last year. Then again, last year I was using marijuana, getting pissed off my face and going to McDonalds. Healthy eating, exercise (hauling cabinets up four flights on my own counts as exercise, right?) and optimism seem to be the best panacea for everything.
Good luck with beating your insomnias....