1 |
diff -Naur smeserver-clamav-2.2.0-orig/root/etc/e-smith/db/configuration/defaults/clamd/MemLimit |
2 |
smeserver-clamav-2.2.0/root/etc/e-smith/db/configuration/defaults/clamd/MemLimit |
3 |
--- smeserver-clamav-2.2.0-orig/root/etc/e-smith/db/configuration/defaults/clamd/MemLimit 2008-10-07 17:34:18.000000000 +0200 |
4 |
+++ smeserver-clamav-2.2.0/root/etc/e-smith/db/configuration/defaults/clamd/MemLimit 2010-04-02 12:48:18.044259444 +0200 |
5 |
@@ -1 +1 @@ |
6 |
-300000000 |
7 |
+600000000 |
8 |
diff -up |
9 |
smeserver-clamav-2.2.0/root/etc/e-smith/db/configuration/migrate/clamdMemLimit.MemLimit2 |
10 |
smeserver-clamav-2.2.0/root/etc/e-smith/db/configuration/migrate/clamdMemLimit |
11 |
--- smeserver-clamav-2.2.0/root/etc/e-smith/db/configuration/migrate/clamdMemLimit.MemLimit2 2010-04-18 19:05:27.000000000 +0200 |
12 |
+++ smeserver-clamav-2.2.0/root/etc/e-smith/db/configuration/migrate/clamdMemLimit 2010-04-18 19:06:33.000000000 +0200 |
13 |
@@ -1,5 +1,7 @@ |
14 |
{ |
15 |
my $clamd = $DB->get('clamd'); |
16 |
return unless $clamd; |
17 |
- $clamd->set_prop('MemLimit', 300000000) if $clamd->prop('MemLimit') < 300000000; |
18 |
+ |
19 |
+ my $size = 600000000; |
20 |
+ $clamd->set_prop('MemLimit', $size) if $clamd->prop('MemLimit') < $size; |
21 |
} |