/[smeserver]/rpms/smeserver-mysql/sme10/smeserver-mysql-2.7.0-bz12417-OpenFilesLimit.patch
ViewVC logotype

Contents of /rpms/smeserver-mysql/sme10/smeserver-mysql-2.7.0-bz12417-OpenFilesLimit.patch

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


Revision 1.1 - (show annotations) (download)
Fri Nov 24 04:12:56 2023 UTC (11 months, 1 week ago) by jpp
Branch: MAIN
CVS Tags: smeserver-mysql-2_7_0-21_el7_sme, smeserver-mysql-2_7_0-19_el7_sme, smeserver-mysql-2_7_0-18_el7_sme, smeserver-mysql-2_7_0-20_el7_sme, HEAD
* Thu Nov 23 2023 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-18.sme
- fix OpenFilesLimit too low preventing backup [SME: 12417]
- deleting extra folder in /home/e-smith/db/mysql/ for mariadb10*

1 diff -Nur --no-dereference smeserver-mysql-2.7.0.old/root/etc/e-smith/templates/etc/my.cnf/012open_files_limit smeserver-mysql-2.7.0/root/etc/e-smith/templates/etc/my.cnf/012open_files_limit
2 --- smeserver-mysql-2.7.0.old/root/etc/e-smith/templates/etc/my.cnf/012open_files_limit 2022-03-11 10:32:13.000000000 -0500
3 +++ smeserver-mysql-2.7.0/root/etc/e-smith/templates/etc/my.cnf/012open_files_limit 2023-11-23 23:03:57.319000000 -0500
4 @@ -1,7 +1,7 @@
5 {
6 $OUT = '';
7 -
8 - my $limit = ${'mariadb'}{OpenFilesLimit} || 0;
9 + # changed 0 to 32186 for mariadb 5.5 see BZ 12417
10 + my $limit = ${'mariadb'}{OpenFilesLimit} || 32186;
11 return if $limit eq 0;
12
13 $OUT .= "open_files_limit=$limit\n";

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