in reply to Re^3: How to debug "Too Many Open Files" Error
in thread How to debug "Too Many Open Files" Error

Thanks! When I have observed the failure, I have noted a couple of processes where failure seems more frequent. I can put this into those modules. Does the output go to the logs only? Or will the user see something? My script still includes the line:
use CGI::Carp qw(fatalsToBrowser);
Will that affect what the user sees when the script encounters the warn statement? Thanks, Tony

Replies are listed 'Best First'.
Re^5: How to debug "Too Many Open Files" Error
by betterworld (Curate) on Sep 17, 2008 at 11:06 UTC

    See "Making warnings appear as HTML comments" in CGI::Carp.

      Thanks very much. CGI::Carp has a number of useful options. Printing warnings to browser will help me debug; I might prefer to print them to the error log. Recently I find "Too Many Open Files" in my error log, but the application has not crashed. I prefer my users are not disturbed unneccesarily. Thank you very much. Tony