Parent Directory | Revision Log | Revision Graph
* 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 |