Re: [PATCH] Apache2::SizeLimit on Linux

2005-08-19 Thread Torsten Foertsch
On Friday 19 August 2005 18:59, Philip M. Gollucci wrote: > Can you combine your 2 e-mail patches into one patch set in one  e-mail > to make the life of who ever does easier?  At least I think this is the > second one. Here it is. Torsten --- mod_perl-2.0.1/lib/Apache2/SizeLimit.pm~ 2005-04-26 2

Re: [PATCH] Apache2::SizeLimit on Linux

2005-08-19 Thread Philip M. Gollucci
Torsten Foertsch wrote: On Monday 08 August 2005 01:30, Stas Bekman wrote: It corrects some podchecker errors and warnings as well. Hi, Great work. I'm not going to commit it as I don't have a linux bed readily available to test on... Pretty sad for a guy that works with LAMP stacks :) I'm

Re: [PATCH] Apache2::SizeLimit on Linux

2005-08-19 Thread Torsten Foertsch
On Monday 08 August 2005 01:30, Stas Bekman wrote: > Torsten Foertsch wrote: > > Hi, > > > > the attached patch allows Apache2::SizeLimit to use the new > > /proc/PID/smaps instead of /proc/PID/statm. This takes into account > > copy-on-write pages when counting shared memory. > > Torsten++! > > Co

Re: [PATCH] Apache2::SizeLimit on Linux

2005-08-08 Thread Perrin Harkins
On Sun, 2005-08-07 at 20:37 +0200, Torsten Foertsch wrote: > the attached patch allows Apache2::SizeLimit to use the new /proc/PID/smaps > instead of /proc/PID/statm. This takes into account copy-on-write pages when > counting shared memory. Thanks, Torsten. I saw your module hit CPAN and was t

Re: [PATCH] Apache2::SizeLimit on Linux

2005-08-07 Thread Stas Bekman
Torsten Foertsch wrote: Hi, the attached patch allows Apache2::SizeLimit to use the new /proc/PID/smaps instead of /proc/PID/statm. This takes into account copy-on-write pages when counting shared memory. Torsten++! Could you please submit a doc patch for Apache2/SizeLimit.pod http://svn.ap

Re: [PATCH] Apache2::SizeLimit on Linux

2005-08-07 Thread Philip M. Gollucci
Torsten Foertsch wrote: > --- mod_perl-2.0.1/lib/Apache2/SizeLimit.pm~ 2005-04-26 20:58:44.0 +0200 +++ mod_perl-2.0.1/lib/Apache2/SizeLimit.pm 2005-08-07 17:56:00.691361040 +0200 @@ -56,7 +56,11 @@ } elsif (LINUX) { -$HOW_BIG_IS_IT = \&linux_size_check; +i

[PATCH] Apache2::SizeLimit on Linux

2005-08-07 Thread Torsten Foertsch
Hi, the attached patch allows Apache2::SizeLimit to use the new /proc/PID/smaps instead of /proc/PID/statm. This takes into account copy-on-write pages when counting shared memory. The patch looks if /proc/PID/smaps exists and if Linux::Smaps is installed. If not it uses the old /proc/PID/stat