mysql-proxy-discuss team mailing list archive
-
mysql-proxy-discuss team
-
Mailing list archive
-
Message #00002
New option --max-open-files
Hi!
FYI, I've just pushed a change to increase the max open files to 8192
if possible.
This also introduces a new option --max-open-files which you can use
to set it to whatever value you want (assuming the OS let's you).
Results are being logged on debug.
For Windows there seems to be a hard limit of 2048, so I'm clamping
the value and give a warning about it.
Oh, I've noticed that the startup script is missing, I'll try to add
that back tomorrow.
In the meantime you can copy the following stuff into bin/mysql-proxy:
---------snip------------
#!/bin/sh
scriptdir=`dirname $0`
scriptname=`basename $0`
scriptdir=`(cd "$scriptdir/"; pwd)`
scriptdir=`dirname "$scriptdir"`
DYLD_LIBRARY_PATH="$scriptdir"/lib/mysql-proxy
LUA_PATH="$scriptdir"/share/mysql-proxy/?.lua
LUA_CPATH="$scriptdir"/lib/mysql-proxy/?.so
export DYLD_LIBRARY_PATH LUA_PATH LUA_CPATH
exec "$scriptdir/sbin/$scriptname" "$@"
---------snip------------
cheers,
-k
--
Kay Roepke
Software Engineer, MySQL Enterprise Tools
Sun Microsystems GmbH Sonnenallee 1, DE-85551 Kirchheim-Heimstetten
Geschaeftsfuehrer: Thomas Schroeder, Wolfang Engels, Dr. Roland Boemer
Vorsitz d. Aufs.rat.: Martin Haering HRB MUC 161028
Follow ups