Rav Dov Tzvi Karlenshtein, in Siach Tzedek, traces the custom of Rabbi Yehudah, son of Rabbi Ilai, who sat on the eve as one whose dead lies before him, to the midrash of a weeping of nothing that became a weeping for generations in the midbar, when 15,000 did not rise from the pits each year.