/[smeserver]/rpms/smeserver-clamav/sme9/smeserver-clamav-2.4.0-MemLimit-0.98.patch
ViewVC logotype

Contents of /rpms/smeserver-clamav/sme9/smeserver-clamav-2.4.0-MemLimit-0.98.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Jul 3 22:53:28 2014 UTC (10 years, 5 months ago) by wellsi
Branch: MAIN
CVS Tags: smeserver-clamav-2_4_0-3_el6_sme, smeserver-clamav-2_4_0-6_el6_sme, smeserver-clamav-2_4_0-5_el6_sme, smeserver-clamav-2_4_0-4_el6_sme, HEAD
* Thu Jul 3 2014 Ian Wells <esmith@wellsi.com> 2.4.0-3.sme
- Increase MemLimit to 700M for clamav-0.98 [SME: 8483]

1 diff -ruN smeserver-clamav-2.4.0.old/root/etc/e-smith/db/configuration/defaults/clamd/MemLimit smeserver-clamav-2.4.0/root/etc/e-smith/db/configuration/defaults/clamd/MemLimit
2 --- smeserver-clamav-2.4.0.old/root/etc/e-smith/db/configuration/defaults/clamd/MemLimit 2013-01-31 13:31:43.000000000 -0800
3 +++ smeserver-clamav-2.4.0/root/etc/e-smith/db/configuration/defaults/clamd/MemLimit 2014-07-03 15:42:32.000000000 -0700
4 @@ -1 +1 @@
5 -600000000
6 +700000000
7 diff -ruN smeserver-clamav-2.4.0.old/root/etc/e-smith/db/configuration/migrate/clamdMemLimit smeserver-clamav-2.4.0/root/etc/e-smith/db/configuration/migrate/clamdMemLimit
8 --- smeserver-clamav-2.4.0.old/root/etc/e-smith/db/configuration/migrate/clamdMemLimit 2013-01-31 13:31:43.000000000 -0800
9 +++ smeserver-clamav-2.4.0/root/etc/e-smith/db/configuration/migrate/clamdMemLimit 2014-07-03 15:42:19.000000000 -0700
10 @@ -2,6 +2,6 @@
11 my $clamd = $DB->get('clamd');
12 return unless $clamd;
13
14 - my $size = 600000000;
15 + my $size = 700000000;
16 $clamd->set_prop('MemLimit', $size) if $clamd->prop('MemLimit') < $size;
17 }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed