New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Carp::croak() replace user error message by own #8865
Comments
From powerman@powerman.asdfGroup.comCreated by powerman@powerman.asdfgroup.comLooks like when script doing heavy I/O use all 1024 file descriptors, I think Carp should avoid requesting more resources (memory, file Perl Info
|
From @smpetersOn Fri Apr 06 15:45:45 2007, powerman <!-- x --> at asdfGroup.com wrote:
I've pretty much only seen these errors when max open files for a user Steve Peters |
The RT System itself - Status changed from 'new' to 'open' |
From powerman@powerman.asdfGroup.comHi! On Fri, Jun 29, 2007 at 08:53:18AM -0700, Steve Peters via RT wrote:
1024 :) As I said, my script doing heavy I/O, and it really used about 1024 FD -- |
From p5p@spam.wizbit.be
Patch attached that: #!/usr/bin/perl -l use Carp; Now shows: Failed to load Carp::Heavy. Consider adding use Carp::Heavy in your Kind regards, Bram |
From p5p@perl.wizbit.beAny comments on this patch? Kind regards, Bram ----- Forwarded message from perlbug-followup@perl.org -----
Patch attached that: #!/usr/bin/perl -l use Carp; Now shows: Failed to load Carp::Heavy. Consider adding use Carp::Heavy in your Kind regards, Bram ----- End forwarded message ----- |
From p5p@spam.wizbit.beOn Wed Apr 30 03:52:52 2008, animator wrote:
Any feedback on this? (patch is in RT) Best regards, Bram |
From @powermanHi! On Sun, Jun 28, 2009 at 07:02:40AM -0700, Bram via RT wrote:
I think that's wrong way to solve this issue, but it's better that nothing. The problem is, right now all my scripts which doing heavy I/O contain line: require Carp::Heavy; # http://rt.perl.org/rt3/Public/Bug/Display.html?id=42329 and while I love to see this line removed from my scripts, with this patch Only I can do is try to explain again: error-reporting code like Carp MUST NOT I think correct solution will be to load Carp::Heavy together with Carp. -- |
From @rgs2009/6/29 Alex Efros <powerman@powerman.name>:
I tend to concur. Those days we have more CPU and memory resources, so |
From @jimc
By extension, this also applies to Config ? |
From @nwc10On Mon, Jun 29, 2009 at 08:31:06AM -0400, Jim Cromie wrote:
Rafael may well disagree with me, but I don't think it should apply to Config. My reasoning for splitting Config.pm apart was that a monolithic Config.pm Config doesn't fail catastrophically if it fails to load Config_heavy.pl, Additionally, the code needed to split Carp::Heavy out from Carp looks Nicholas Clark |
From @jimcOn Mon, Jun 29, 2009 at 8:46 AM, Nicholas Clark<nick@ccl4.org> wrote:
ack. very different in the details and tradeoffs. |
From @iabynOn Mon, Jun 29, 2009 at 12:29:54PM +0200, Rafael Garcia-Suarez wrote:
Just as a data point, Carp::Heavy seems to use about 250Kbyte, which is, (linux, 4K pagesize, 32-bit, blead, threaded, -O2): $ p -e 'system"ps -lfp $$"' -- |
From @rgs2009/6/29 Rafael Garcia-Suarez <rgarciasuarez@gmail.com>:
This is now done in blead. There's still a Carp::Heavy placeholder for |
@rgs - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#42329 (status was 'resolved')
Searchable as RT42329$
The text was updated successfully, but these errors were encountered: