/[smecontribs]/rpms/smeserver-nextcloud/contribs9/smeserver-nextcloud-1.1.0-bz10695-memory-limit.patch
ViewVC logotype

Annotation of /rpms/smeserver-nextcloud/contribs9/smeserver-nextcloud-1.1.0-bz10695-memory-limit.patch

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


Revision 1.1 - (hide annotations) (download)
Tue Jan 8 00:10:56 2019 UTC (5 years, 9 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-nextcloud-1_1_0-19_el6_sme, smeserver-nextcloud-1_1_0-13_el6_sme, smeserver-nextcloud-1_1_0-15_el6_sme, smeserver-nextcloud-1_1_0-17_el6_sme, smeserver-nextcloud-1_1_0-14_el6_sme, smeserver-nextcloud-1_1_0-20_el6_sme, smeserver-nextcloud-1_1_0-18_el6_sme, smeserver-nextcloud-1_1_0-11_el6_sme, smeserver-nextcloud-1_1_0-21_el6_sme, smeserver-nextcloud-1_1_0-12_el6_sme, smeserver-nextcloud-1_1_0-16_el6_sme, HEAD
* Mon Jan 07 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-11.sme
- increase memory limit to new default from 128M to 512M [SME: 10695]
  add property to nextcloud db key MemoryLimit to set to local value if needed.

1 jpp 1.1 diff -Nur smeserver-nextcloud-1.1.0.old/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15Nextcloud smeserver-nextcloud-1.1.0/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15Nextcloud
2     --- smeserver-nextcloud-1.1.0.old/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15Nextcloud 2019-01-07 19:05:19.057000000 -0500
3     +++ smeserver-nextcloud-1.1.0/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15Nextcloud 2019-01-07 19:07:20.955000000 -0500
4     @@ -4,6 +4,8 @@
5     if (($nextcloud{'status'} || 'disabled') eq 'enabled'){
6     my $max_upload_size = ($nextcloud{MaxUploadSize} || '4096');
7     $max_upload_size .= 'M' if ($max_upload_size =~ m/^\d+$/);
8     + my $memory_limit = ($nextcloud{MemoryLimit} || '512M');
9     + $memory_limit .= 'M' if ($memory_limit =~ m/^\d+$/);
10     my $id = 'nextcloud';
11     $OUT .=<<_EOF;
12    
13     @@ -30,7 +32,7 @@
14     php_admin_flag[display_errors] = off
15     php_admin_flag[log_errors] = on
16     php_admin_value[error_log] = syslog
17     -php_admin_value[memory_limit] = 128M
18     +php_admin_value[memory_limit] = $memory_limit
19     php_admin_value[max_execution_time] = 3600
20     php_admin_value[post_max_size] = $max_upload_size
21     php_admin_value[upload_max_filesize] = $max_upload_size

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