[dancer-users] Lock session files with Dancer2::Session::YAML?
ivan at bessarabov.ru
Thu May 8 21:09:31 BST 2014
Yes, I had problems with Dancer1 yaml sessions. And there were not so
many visitors =)
On Thu, May 8, 2014 at 1:05 AM, Maxwell Carey <mcarey at ucar.edu> wrote:
> On 05/07/2014 02:43 PM, Иван Бессарабов wrote:
> By the way, It is not safe to use YAML sessions with production site.
> I used YAML sessions in Dancer1 app and pretty soon there appeared
> tons of files with sessions and evrything broke, because there was no
> free inodes.
> The documentation for Dancer2::Session::YAML, at least, says otherwise:
> This backend an [sic] perfectly be used in production environments, but two
> things should be kept in mind: The content of the session files is in plain
> text, and the session files should be purged by a CRON job.
> I haven't had any problems like you describe, so perhaps your issue was
> limited to Dancer::Session::YAML, which according to the docs is "not
> recommended...in production environments." Either that, or you just have too
> many visitors to your site ;)
> dancer-users mailing list
> dancer-users at dancer.pm
More information about the dancer-users