suriyopama wrote:Dhammanando Bhikku did recomend me to be aware only of my position when going to sleep, nothing else. After one week following his advice I could sleep normally again
Good advice. Another simple thing that helps with sleeplessness is to have a firm sleeping routine - going to bed and waking up every day at the same times. It usually takes the body a few days to get into the new routine, but once it does, falling asleep and waking up become automatic. Another helpful thing is to get completely off caffeine, nicotine, tea, etc. That was really helpful in my case. A little metta before sleep can also help.
As for meditating just before sleeping, I find it depends and varies over time - currently, if meditation session is more than 90 mins, there's no way I can fall asleep afterwards (so I usually meditate in the morning). But I heard that with practice this problem also disappears and that one can fall asleep with a simple determination like "go to sleep" or similar. If there's interest in developing jhana, then practicing determinations might be useful (e.g. "I'll meditate for 63 minutes and 27 seconds"), and this can be taken further for falling asleep/waking up (e.g. "I'll wake up exactly at 5:59am).
Another thing to observe is how much sleep is really needed - in certain periods, meditation tends to reduce the need for sleep, so the sleeping hours routine needs to be altered accordingly rather than trying to force oneself to sleep which just leads to tossing and turning. But this relationship between sleep time and mediation time keeps changing, so it's important to observe what's going on so as not to cut too much sleep time. Another thing, it seem that it's more restful sleeping earlier (10pm-4 am) than later (2am-8am), so accordingly it's easier to fall asleep and wake up. But, this might depend on people and other things, so again it's important to observe what's really going on.
As for jhanas while walking, I remember reading about Ven Sariputta that he would go all the way from first jhana to cessation of perception and feeling and then back through the jhanas, all that in the few moments when a housholder was putting food into his almsbowl so that the merit acquired by the householder would be the greatest. So, I guess that with mastery of jhanas, one can go through them very quickly in whatever posture, but for beginners, it's probably the best to choose the easiest posture, whichever that may be.