/[smeserver]/rpms/e-smith-mysql/sme8/e-smith-mysql-2.2.0-too-many-open-files-error.patch
ViewVC logotype

Contents of /rpms/e-smith-mysql/sme8/e-smith-mysql-2.2.0-too-many-open-files-error.patch

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


Revision 1.1 - (show annotations) (download)
Tue Mar 1 20:00:12 2011 UTC (13 years, 9 months ago) by snetram
Branch: MAIN
CVS Tags: e-smith-mysql-2_2_0-7_el5_sme, e-smith-mysql-2_2_0-6_el5_sme, HEAD
* Tue Mar 1 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-6.sme
- Cater for open_files_limit option my.cnf through database and template [SME: 6438]

1 diff -up e-smith-mysql-2.2.0/root/etc/e-smith/templates/etc/my.cnf/012open_files_limit.too-many-open-files-error e-smith-mysql-2.2.0/root/etc/e-smith/templates/etc/my.cnf/012open_files_limit
2 --- e-smith-mysql-2.2.0/root/etc/e-smith/templates/etc/my.cnf/012open_files_limit.too-many-open-files-error 2011-03-01 20:57:12.000000000 +0100
3 +++ e-smith-mysql-2.2.0/root/etc/e-smith/templates/etc/my.cnf/012open_files_limit 2011-03-01 21:01:01.000000000 +0100
4 @@ -0,0 +1,9 @@
5 +{
6 + $OUT = '';
7 +
8 + my $limit = ${'mysqld'}{OpenFilesLimit} || 0;
9 + return if $limit eq 0;
10 +
11 + $OUT .= "open_files_limit=$limit\n";
12 +
13 +}

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