/[smeserver]/rpms/smeserver-clamav/sme8/smeserver-clamav-2.2.0-MemLimit2.patch
ViewVC logotype

Annotation of /rpms/smeserver-clamav/sme8/smeserver-clamav-2.2.0-MemLimit2.patch

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


Revision 1.1 - (hide annotations) (download)
Sun Apr 18 17:22:57 2010 UTC (14 years, 1 month ago) by snetram
Branch: MAIN
CVS Tags: smeserver-clamav-2_2_0-14_el5_sme, smeserver-clamav-2_2_0-12_el5_sme, smeserver-clamav-2_2_0-13_el5_sme, smeserver-clamav-2_2_0-10_el5_sme, smeserver-clamav-2_2_0-11_el5_sme, smeserver-clamav-2_2_0-15_el5_sme, HEAD
* Sun Apr 18 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-10.sme
- Increase MemLimit to 600M for clamav-0.96 [SME: 5868]

1 snetram 1.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     }

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