sql_print_error("Warning: Could not increase number of max_open_files to more than %u (request: %u)",files,wanted_files);
}
}
open_files_limit=files;
open_files_limit=files;
}
}
#else
open_files_limit=0;/* Can't set or detect limit */
#endif
unireg_init(opt_specialflag);/* Set up extern variabels */
unireg_init(opt_specialflag);/* Set up extern variabels */
if(init_errmessage())/* Read error messages from file */
if(init_errmessage())/* Read error messages from file */
return1;
return1;
...
@@ -4512,7 +4511,7 @@ The minimum value for this variable is 4096.",
...
@@ -4512,7 +4511,7 @@ The minimum value for this variable is 4096.",
{"open_files_limit",OPT_OPEN_FILES_LIMIT,
{"open_files_limit",OPT_OPEN_FILES_LIMIT,
"If this is not 0, then mysqld will use this value to reserve file descriptors to use with setrlimit(). If this value is 0 then mysqld will reserve max_connections*5 or max_connections + table_cache*2 (whichever is larger) number of files.",
"If this is not 0, then mysqld will use this value to reserve file descriptors to use with setrlimit(). If this value is 0 then mysqld will reserve max_connections*5 or max_connections + table_cache*2 (whichever is larger) number of files.",