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

Contents of /rpms/smeserver-clamav/sme9/smeserver-clamav-2.4.0-double_mem_limit.patch

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


Revision 1.1 - (show annotations) (download)
Tue Sep 8 08:21:04 2015 UTC (8 years, 8 months ago) by vip-ire
Branch: MAIN
CVS Tags: 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
* Tue Sep 8 2015 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-4.sme
- Double the memory limit as we do not have enough room [SME: 8933]

1 diff -Nur smeserver-clamav-2.4.0/root/etc/e-smith/db/configuration/defaults/clamd/MemLimit smeserver-clamav-2.4.0_bz8933/root/etc/e-smith/db/configuration/defaults/clamd/MemLimit
2 --- smeserver-clamav-2.4.0/root/etc/e-smith/db/configuration/defaults/clamd/MemLimit 2015-09-08 10:12:02.320676369 +0200
3 +++ smeserver-clamav-2.4.0_bz8933/root/etc/e-smith/db/configuration/defaults/clamd/MemLimit 2015-09-08 10:13:34.704663492 +0200
4 @@ -1 +1 @@
5 -700000000
6 +1400000000
7 diff -Nur smeserver-clamav-2.4.0/root/etc/e-smith/db/configuration/migrate/clamdMemLimit smeserver-clamav-2.4.0_bz8933/root/etc/e-smith/db/configuration/migrate/clamdMemLimit
8 --- smeserver-clamav-2.4.0/root/etc/e-smith/db/configuration/migrate/clamdMemLimit 2015-09-08 10:12:02.321676369 +0200
9 +++ smeserver-clamav-2.4.0_bz8933/root/etc/e-smith/db/configuration/migrate/clamdMemLimit 2015-09-08 10:13:53.088660976 +0200
10 @@ -2,6 +2,6 @@
11 my $clamd = $DB->get('clamd');
12 return unless $clamd;
13
14 - my $size = 700000000;
15 + my $size = 1400000000;
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