Subject: | Server::XMLRPC fails to close filehandles |
Date: | Mon, 03 Dec 2007 11:48:23 +0000 |
To: | bug-catalyst-plugin-server [...] rt.cpan.org |
From: | Alex Page <alexp [...] transitive.com> |
Hi there,
I set up a Catalyst application which provides an XMLRPC backend. The
application runs on Apache 2 under mod_perl. Functionally it works fine,
but as it runs, it generates many files in /tmp which seem to contain
the raw XML of the XMLRPC queries.
Not only do these files take up disk space, but Apache rapidly collects
open file descriptors to these files. This causes my web server to fall
over in ~24 hours because it runs out of file descriptors.
Disabling Server::XMLRPC in my application's "use Catalyst" line means
that these files are not created and that Apache doesn't collect
filehandles.
Alex
--
Alex Page, Release Engineer, Transitive Limited
Maybrook House, 40 Blackfriars Street, Manchester M3 2EG, UK
Web: http://www.transitive.com/ | Phone: (+44) 161-214-0406