I think to some extent the answer depends on what has caused the sleeplessness.
When I was a student - arriving home very late after a night out drinking and talking and laughing and philosophising with friends - I remember being unable to sleep through sheer intellectual effervescence and bubbling good humour; being cheerfully intoxicated helped, too. Those days, music (played on headphones) allowed descent from the summit of undimished exuberant joy at the intensely felt pleasure of knowing that you are living life.
Latterly, when I cannot sleep, it is on account of stress, and that is something that comes in different forms. There is the personal, private and domestic one, the one you feel you cannot escape, as when dealing with a parent who suffers from dementia (a situation I am familiar with), where one ear is permanently cocked for the nocturnal wanderer (who might be prone to falls) and who has inexplicably forgotten that night and day are different, forgotten too, that a cherished spouse is dead as they wander the house, having flicked all of the lights on, as they roam, seeking their deceased partner in room after room. That is a sleepless night.
Then there are the sleepless nights where the stress is external, public, and impersonal. It is the sort of sleepless night when you have been roused out of bed at 4 a.m. in a foreign city, ordered to the bunkers, because this is a world where bombs are a daily occurrence, and because there there has been an attack nearby. The funny thing is that true sleeplessness only occurred on the nights subsequent to the alarms, not the night where the initial disruption occurred.
I have been reading and participating in these threads for quite some time; sometimes, reading them, the glib responses, the US centric world view, the utter lack of critical analysis, the effortless mastery of a vocabulary describing the sexual but used to mask and deflect rather than interrogate and think, I wonder whether I am on the same planet as some of the other posters and conclude that I am not......
Anyway, most nights I sleep. And, on the stressful ones, when I don't, a racing mind can be calmed by reading, or listening to music, or browsing the web, or, sometimes, drinking alcohol in surprising quantities (a well-worn remedy I am surprised nobody has mentioned thus far....)
Well, the complicated tapestry that makes up the universe is of a rich and varied and tangled weave.......
----------
I can't really tell you, but it involves a bag of rock salt, a fountain pen, a lit cigar, and a duck.
Don't try this at home!
I'm a professional!
I meant to mention that I really like this post; inexplicably, for some reason, it has me chuckling insanely.....