/[smeserver]/rpms/smeserver-dovecot/sme9/smeserver-dovecot-1.4.0-process_limits.patch
ViewVC logotype

Contents of /rpms/smeserver-dovecot/sme9/smeserver-dovecot-1.4.0-process_limits.patch

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


Revision 1.1 - (show annotations) (download)
Tue Dec 24 15:04:56 2013 UTC (10 years, 11 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-dovecot-1_4_0-17_el6_sme, smeserver-dovecot-1_4_0-21_el6_sme, smeserver-dovecot-1_4_0-15_el6_sme, smeserver-dovecot-1_4_0-19_el6_sme, smeserver-dovecot-1_4_0-20_el6_sme, smeserver-dovecot-1_4_0-18_el6_sme, smeserver-dovecot-1_4_0-16_el6_sme, HEAD
* Tue Dec 24 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-15.sme
- Apply process limits [SME: 8082]

1 diff -Nur smeserver-dovecot-1.4.0/root/etc/e-smith/templates/etc/dovecot/dovecot.conf/27Limits smeserver-dovecot-1.4.0_bz8082/root/etc/e-smith/templates/etc/dovecot/dovecot.conf/27Limits
2 --- smeserver-dovecot-1.4.0/root/etc/e-smith/templates/etc/dovecot/dovecot.conf/27Limits 1970-01-01 01:00:00.000000000 +0100
3 +++ smeserver-dovecot-1.4.0_bz8082/root/etc/e-smith/templates/etc/dovecot/dovecot.conf/27Limits 2013-12-24 10:51:59.776494538 +0100
4 @@ -0,0 +1,18 @@
5 +{
6 +
7 +my $ConcurrencyLimit = $imap{ConcurrencyLimit} || '400';
8 +my $ConcurrencyLimitPerIP = $imap{ConcurrencyLimitPerIP} || '12';
9 +my $ProcessMemoryLimit = $imap{ProcessMemoryLimit} || '256000000';
10 +
11 +$OUT .=<<"END";
12 +
13 +service imap {
14 + process_limit = $ConcurrencyLimit
15 + vsz_limit = $ProcessMemoryLimit
16 +}
17 +protocol imap {
18 + mail_max_userip_connections = $ConcurrencyLimitPerIP
19 +}
20 +END
21 +
22 +}

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