Fantastic! I saw it come through the contributions list internally. I'll
start working on getting your patch merged this week.
Thanks a lot!
Monty
Paul Veldema wrote:
> I have entered the agreement and recieved the automated 'contribution'
> reply:
>
> 'Signed Contributor Agreement #54 from
I have entered the agreement and recieved the automated 'contribution' reply:
'Signed Contributor Agreement #54 from Paul Veldema'.
With regards,
Paul Veldema
On Fri Jul 27 01:33:39 CEST 2007 Monty Taylor <[EMAIL PROTECTED]> wrote:
...
Ok. I haven't walked through it all yet, but on fi
Paul Veldema wrote:
>> - your suggestion isn't mutually exclusive from the previous one i
>> made. it could be made optional to specify a timeout value, and if
>> not specified, use the heuristic you provide, which would be the default.
>
> Monty's script does that, but gives a realy large defaul
From sean:
- /proc/meminfo is linux specific and less general. perhaps you could write
something with "free" or some other generic utility instead?
Just for fun, here the version using 'free':
mysql_startup_timeout() {
memtotal="`free -k | head -2 | tail -1| cut -d ':' -f 2 | tr -s
sean finney wrote:
> On Wednesday 27 June 2007 15:52:02 Paul Veldema wrote:
>
>> mysql_startup_timeout() {
>> memtotal="`cat /proc/meminfo | grep MemTotal | cut -d ':' -f 2 |
>> sed 's/ //g' | cut -d 'k' -f 1`"
>> # round memory royally upward for calc in gigabytes.
>>
On Wednesday 27 June 2007 15:52:02 Paul Veldema wrote:
> mysql_startup_timeout() {
> memtotal="`cat /proc/meminfo | grep MemTotal | cut -d ':' -f 2 |
> sed 's/ //g' | cut -d 'k' -f 1`"
> # round memory royally upward for calc in gigabytes.
> memtotal=`expr $memtotal + 7
Hello,
Here some more suggestions and a flexible solution that does not need an
extra configuration setting.
Since there is a relation between the timeout and the memory to be
allocated by mysql, a timeout setting is not nescessary.
Simply calculate the the timeout, there are two options:
7 matches
Mail list logo