[Catalyst] Catalyst/Starman server Cache::FastMmap problems when
running with --background option on CentOS 6
Robert Rothenberg
robrwo at gmail.com
Thu May 31 16:34:27 GMT 2012
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?
More information about the Catalyst
mailing list