On Sun, 4 Apr 2004, Stas Bekman wrote:
Cool, can you patch it so that it'll check first whether it can do that, before it does that? We get users reporting problems when ulimit fails. I don't have an access to Solaris, so if you can fix that, that would be great. Thanks.
I guess it needs to check the output of 'ulimit -c' and do the decision based on that. But I'll leave it to you to get the right logic.
That assumes I have a working test environment on my Solaris machines. ;) I'll see what I can whip up tomorrow.
not really, you don't need the whole testing environment. just copy that subroutine into a script and feed it with a command like 'echo foo', or 'perl -edump' :) all that sub does is re-running any command, by first setting the ulimit.
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com