I've changed a Catalyst application to use FastMmap session stores instead of Files, because I am using OpenID which already requires it.
All tests pass, and the server runs fine manually: sudo -u myappuser /opt/perl/bin/perl -I /opt/myapp/lib/perl5 /opt/myapp/bin/myapp_server.pl -d --host 127.0.0.1 --port 3001 --keepalive --fork --pidfile /var/opt/myapp/run/starman.pid But when run it with the --background option, it fails with the error: Caught exception in engine "Lock failed: Bad file descriptor at /opt/myapp/lib/perl5/i686-linux/Cache/FastMmap.pm line 1189." <at /opt/myapp/lib/perl5/Catalyst.pm line 1968> I am using CentOS 6.2 (2.6.32-220.el6.i686). I can't seem to find anything about this error by Googling. Any idea what the problem could be? _______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
