Re: trying to change wait_timeout

2011-09-10 Thread Bruce Ferrell
sman wrote: - Original Message - From: "Bruce Ferrell" To: mysql@lists.mysql.com Sent: Thursday, 8 September, 2011 3:10:16 AM Subject: trying to change wait_timeout I've read the documentation on MySQL for version 5.1 and it says all I have to do is to place the followin

Re: trying to change wait_timeout

2011-09-08 Thread Suresh Kuna
Set the variable wait_timeout=xxx value under the mysqld section of the configuration file and restart the mysqld server. Now check show global variables like 'wait_timeout"; It should be you xxx value what ever you set. On Thu, Sep 8, 2011 at 7:25 PM, Andrew Moore wrote: > Chec

Re: trying to change wait_timeout

2011-09-08 Thread Andrew Moore
gt; From: "Bruce Ferrell" >>> To: mysql@lists.mysql.com >>> Sent: Thursday, 8 September, 2011 3:10:16 AM >>> Subject: trying to change wait_timeout >>> >>> I've read the documentation on MySQL for version 5.1 and it says all >>> I have

Re: trying to change wait_timeout

2011-09-08 Thread Bruce Ferrell
On 09/08/2011 02:56 AM, Johan De Meersman wrote: - Original Message - From: "Bruce Ferrell" To: mysql@lists.mysql.com Sent: Thursday, 8 September, 2011 3:10:16 AM Subject: trying to change wait_timeout I've read the documentation on MySQL for version 5.1 and it says all

Re: trying to change wait_timeout

2011-09-08 Thread Johan De Meersman
- Original Message - > From: "Bruce Ferrell" > To: mysql@lists.mysql.com > Sent: Thursday, 8 September, 2011 3:10:16 AM > Subject: trying to change wait_timeout > > I've read the documentation on MySQL for version 5.1 and it says all > I

trying to change wait_timeout

2011-09-07 Thread Bruce Ferrell
Hi all, I've read the documentation on MySQL for version 5.1 and it says all I have to do is to place the following: wait_timeout=xxx under [mysqld] did it and show variable like '%wait%' still show wait_timeout at 28800 as it does when I do a set global wait_timeout=10 Wh

Re: Query on wait_timeout

2011-06-16 Thread Claudio Nanni
problem. >> >> Thanks >> >> >> Suresh Kuna wrote: >> >>> Good question Yogesh, I can say the best solution is >>> >>> Create a deadlock and test it, you will come to know more about it. >>> >>> On Wed, Jun 15, 2011 at 3:3

RE: Query on wait_timeout

2011-06-16 Thread Martin Gainty
adarsh.sha...@orkash.com > To: mysql@lists.mysql.com > Subject: Re: Query on wait_timeout > > Thanks Suresh but I find it very difficult to implement it :- > > Suresh Kuna wrote: > > > > Try this out:-) > > > > Below are the steps to generate a deadlock so that the

Re: Query on wait_timeout

2011-06-16 Thread Adarsh Sharma
ll doubt for wait_timeout. If my wait_timeout is set for 180 seconds and if any deadlock occures and both query are waiting to execute. What wil happen in that case? 1. Do the connection will wait till deadlock is removed or 2

Re: Query on wait_timeout

2011-06-15 Thread Suresh Kuna
ome to know more about it. >> >> On Wed, Jun 15, 2011 at 3:38 PM, Yogesh Kore >> wrote: >> >> >> >>> Hi, >>> >>> Small doubt for wait_timeout. >>> >>> If my wait_timeout is set for 180 seconds and if any deadlock occures a

Re: Query on wait_timeout

2011-06-15 Thread Adarsh Sharma
wait_timeout. If my wait_timeout is set for 180 seconds and if any deadlock occures and both query are waiting to execute. What wil happen in that case? 1. Do the connection will wait till deadlock is removed or 2. Connection will close after 180 seconds as both queries are ideal and waiting for each

Re: Query on wait_timeout

2011-06-15 Thread Suresh Kuna
Good question Yogesh, I can say the best solution is Create a deadlock and test it, you will come to know more about it. On Wed, Jun 15, 2011 at 3:38 PM, Yogesh Kore wrote: > Hi, > > Small doubt for wait_timeout. > > If my wait_timeout is set for 180 seconds and if any deadl

Query on wait_timeout

2011-06-15 Thread Yogesh Kore
Hi, Small doubt for wait_timeout. If my wait_timeout is set for 180 seconds and if any deadlock occures and both query are waiting to execute. What wil happen in that case? 1. Do the connection will wait till deadlock is removed or 2. Connection will close after 180 seconds as both queries are

Re: wait_timeout help

2006-11-08 Thread Sayed Hadi Rastgou Haghi
on probably because of 'wait_timeout' expired. For others, the mysql gets reconnected with 'reconnect flag' set to 1 in the MySQL structure... Thanks ViSolve DB Team - Original Message - *From:* Sayed Hadi Rastgou Haghi <[EMAIL PROTECTED]> *To:* Visolve DB

Re: wait_timeout help

2006-11-08 Thread Visolve DB Team
Hi Actually I don't get any idle processes listed.. but have came across such mails.. On which platform you are running mysql? I guess this might be: If Windows, the server will drop the connection probably because of 'wait_timeout' expired. For others, the mysql gets r

Re: wait_timeout help

2006-11-07 Thread Sayed Hadi Rastgou Haghi
Hi I set the wait_timeout in my.cnf. Sometimes it works well and there is no idle process 120 seconds time. But sometimes there are idle processes with 1900s time. What the reason can be? On 11/7/06, Visolve DB Team <[EMAIL PROTECTED]> wrote: Hi According to the VARIABLE "w

Re: wait_timeout help

2006-11-07 Thread Visolve DB Team
Hi According to the VARIABLE "wait_timeout" [default: 28800 seconds] a running MySQL daemon clears up idle connections if their "idle period" > "wait_timeout".so the sleeping threads will be automatically cleared if the time exceeds 'wait_timeout&#x

Re: wait_timeout help

2006-11-07 Thread Sayed Hadi Rastgou Haghi
idle? If yes why MySQL doesn't kill them? 2- If I set wait_timeout variable, will they be killed on that time? 3- If I set interactive_timeout, what will happen to queries that take time longer than interactive_timeout? On 11/7/06, Visolve DB Team <[EMAIL PROTECTED]> wrote: Hi Try

Re: wait_timeout help

2006-11-07 Thread Visolve DB Team
nt: Tuesday, November 07, 2006 3:21 PM Subject: Re: wait_timeout help Thanks But this sets. GLOBAL wait_timeout variable. Cab be seen by SHOW GLOBAL VARIABLES not by SHOW VARIABLES; On 11/7/06, Visolve DB Team <[EMAIL PROTECTED]> wrote: Hi specify it in the .cnf file in the mysqld op

Re: wait_timeout help

2006-11-07 Thread Christian Hammers
On 2006-11-07 Sayed Hadi Rastgou Haghi wrote: > Thanks > But this sets. GLOBAL wait_timeout variable. > Cab be seen by SHOW GLOBAL VARIABLES not by SHOW VARIABLES; Ah, yes, MySQL is very confusing about this special variable: You have to use "interactive_timeout = XXX" to ch

Re: wait_timeout help

2006-11-07 Thread Sayed Hadi Rastgou Haghi
Thanks But this sets. GLOBAL wait_timeout variable. Cab be seen by SHOW GLOBAL VARIABLES not by SHOW VARIABLES; On 11/7/06, Visolve DB Team <[EMAIL PROTECTED]> wrote: Hi specify it in the .cnf file in the mysqld options: wait_timeout=x or specify it at the command line : set wait_t

Re: wait_timeout help

2006-11-07 Thread Visolve DB Team
Hi specify it in the .cnf file in the mysqld options: wait_timeout=x or specify it at the command line : set wait_timeout=x or start mysqld with --wait_timeout=x along with other options. Thanks ViSolve DB Team - Original Message - From: "Sayed Hadi Rastgou Haghi" <[EM

Re: wait_timeout help

2006-11-07 Thread Christian Hammers
On 2006-11-07 Sayed Hadi Rastgou Haghi wrote: > Dear All, > > I want to set wait_timeout variable on mysqld startup. > Is there any way to do that? Put "wait_timeout = XXX" into the "[mysqld]" stanza of your /etc/mysql/my.cnf (or wherever your global co

wait_timeout help

2006-11-07 Thread Sayed Hadi Rastgou Haghi
Dear All, I want to set wait_timeout variable on mysqld startup. Is there any way to do that? -- Sincerely, Hadi Rastgou A Google Account is the key that unlocks the world of Google. http://www.spreadfirefox.com/?q=affiliates&id=0&t=1";> Get FireFox!

Re: wait_timeout

2005-04-18 Thread Gleb Paharenko
Hello. Set the interactive_timeout variable to this value. I recommend you to upgrade to the latest release (4.1.11 now). >I have the following in the mysqld section of my.cnf: > set-variable = wait_timeout=360 >everything else in the conf file seems to take but my wai

wait_timeout

2005-04-18 Thread Rob Brooks
I have the following in the mysqld section of my.cnf: set-variable = wait_timeout=360 everything else in the conf file seems to take but my wait_timeout variable stays at the default of 28800 my version is 4.0.20 for apple-darwin6.8 Any thoughts?

Re: Possible bug with wait_timeout

2004-12-03 Thread Gleb Paharenko
Hello. The value of wait_timeout is initialized from wait_timeout variable or from the global interactive_timeout variable, depending on the type of client. Put interactive_timeout=10 in your config file. See: http://dev.mysql.com/doc/mysql/en/Server_system_variables.html "A

Possible bug with wait_timeout

2004-12-02 Thread Andrew Braithwaite
Hi all, In version 4.0.18 when setting the wait_timeout variable to 10 in my.cnf, it seems to work when looking at 'mysqladmin variables' as it is indeed showing up as 10. However, when in the mysql client and I do a 'show variables' it is showing up with the default value of

MySQL 4.0.18/Dual AMD64 thread zombie even when wait_timeout is set to 60 seconds! Bug?

2004-08-26 Thread Prana
were fine under the same load. I have set the wait_timeout to 60 seconds, and it appears to be fine within 10 minutes, all the threads that are in "sleep" mode disappeared after 60 seconds. After a few minutes though, it's back like it was before. Is this Mandrake problem? MySQ

Session wait_timeout and interactive_timeout variables

2004-07-07 Thread Aaron Jacobs
Do the following commands, when run from an already-established connection, actually have any bearing on anything? SET SESSION wait_timeout=10; SET SESSION interactive_timeout=10; I am working on an application using the C API that needs to lock tables while doing updates. This works fine

wait_timeout

2004-06-08 Thread Seth Brundle
The manual describes wait_timeout thusly: "The number of seconds the server waits for activity on a non-interactive connection before closing it. On thread startup, the session wait_timeout value is initialized from the global wait_timeout value or from the global interactive_timeout

Re: [Re: Re: set wait_timeout]

2004-05-21 Thread Victoria Reznichenko
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > If you check wait_timeout value using mysql command-line client, it > > takes value for 'wait_timeout' from 'interactive_timeout' variable > > which is 28800 by default. > > thanks, now

[Re: Re: set wait_timeout]

2004-05-21 Thread [EMAIL PROTECTED]
> If you check wait_timeout value using mysql command-line client, it > takes value for 'wait_timeout' from 'interactive_timeout' variable > which is 28800 by default. thanks, now i see. this behaviour is rather strange, isn't it? why are there two differe

Re: set wait_timeout

2004-05-20 Thread Victoria Reznichenko
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > hi, > i have problem with automatic setting of variable wait_timeout. > mysql version 4.0.20 (and 4.0.18) on slackware linux. > i've tried to set it in several ways: > > 1) in startup script as a parame

set wait_timeout

2004-05-20 Thread [EMAIL PROTECTED]
hi, i have problem with automatic setting of variable wait_timeout. mysql version 4.0.20 (and 4.0.18) on slackware linux. i've tried to set it in several ways: 1) in startup script as a parameter to mysql_safe: -O wait_timeout=30 2a) in configuration file /etc/my.cnf, section [mysqld]

Re: disabling wait_timeout?

2004-02-03 Thread Mark Matthews
Neale Banks said: > > Can it be done? > > I tried to disable this timer with wait_timeout = 0 in my.cnf. > > That changed the timeout (as reported by mysqladmin variables) from the > default 28800 to 1. Tested, it was definitely a one-second timeout :-( > > As a hack

disabling wait_timeout?

2004-02-02 Thread Neale Banks
Can it be done? I tried to disable this timer with wait_timeout = 0 in my.cnf. That changed the timeout (as reported by mysqladmin variables) from the default 28800 to 1. Tested, it was definitely a one-second timeout :-( As a hack-around, I've currently got it set to ten days. Alternat

RE: Setting wait_timeout in my.cnf?

2003-11-11 Thread Hoeven, Maarten van der
tsss, how about that :) yes, I can set interactive_timeout to a value in my.cnf (interactive_timeout=30). This works! However, as a side-effect, wait_timeout is *also* set to 30. Right, problem solved. Thanks, Nils. Maarten -Original Message- From: Nils Valentin [mailto:[EMAIL

Re: Setting wait_timeout in my.cnf?

2003-11-11 Thread Victoria Reznichenko
"Hoeven, Maarten van der" <[EMAIL PROTECTED]> wrote: > > gosh, I must be overlooking something obvious. Running mysql 4.0.16. I > want to set the wait_timeout in my.cnf (section [mysql]) like: > > wait_timeout = 300 > > also tried the depricated > >

Re: Setting wait_timeout in my.cnf?

2003-11-11 Thread Nils Valentin
Thanks though! > > Any other suggestions? > > -Original Message- > From: Nils Valentin [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 11, 2003 1:00 PM > To: [EMAIL PROTECTED] > Subject: Re: Setting wait_timeout in my.cnf? > > > > Hi Maarten, > >

RE: Re: Setting wait_timeout in my.cnf?

2003-11-11 Thread Hoeven, Maarten van der
nope, that didnt help. Thanks though! Any other suggestions? -Original Message- From: Nils Valentin [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 1:00 PM To: [EMAIL PROTECTED] Subject: Re: Setting wait_timeout in my.cnf? Hi Maarten, I havent tried it recently but

Re: Setting wait_timeout in my.cnf?

2003-11-11 Thread Nils Valentin
ion shoud be read as [mysqld] > > -Original Message- > From: Hoeven, Maarten van der > Sent: Tuesday, November 11, 2003 12:02 PM > To: [EMAIL PROTECTED] > Subject: Setting wait_timeout in my.cnf? -- kind regards Nils Valentin Tokyo/Japan http://www.be-known-online

RE: Setting wait_timeout in my.cnf?

2003-11-11 Thread Hoeven, Maarten van der
correction: section shoud be read as [mysqld] -Original Message- From: Hoeven, Maarten van der Sent: Tuesday, November 11, 2003 12:02 PM To: [EMAIL PROTECTED] Subject: Setting wait_timeout in my.cnf? Hi all, gosh, I must be overlooking something obvious. Running mysql 4.0.16. I want

Setting wait_timeout in my.cnf?

2003-11-11 Thread Hoeven, Maarten van der
Hi all, gosh, I must be overlooking something obvious. Running mysql 4.0.16. I want to set the wait_timeout in my.cnf (section [mysql]) like: wait_timeout = 300 also tried the depricated set-variable = wait_timeout=300 Both are not working; still default to 28800. Sure, I stopped and started

Quick query on 'wait_timeout' parameter.

2003-11-06 Thread Shailesh Agrawal
Hi, I have many Mysql connection threads sleeping which is taking a very good amount of memory so I am reducing 'wait_timeout' parameter from default 8 Hr to 1Hr. Will it have any side effects on My web application. I am concerned because I don't know why the default was kep

Re: setting the wait_timeout option - doesn't work?

2003-10-02 Thread miguel solorzano
At 14:02 2/10/2003 -0400, Matt Babineau wrote: Hi, it says the wait_timeout is still 28800 which is too long! Any ideas? mysql> show variables like "wait_timeout"; +---+---+ | Variable_name | Value | +---+---+ | wait_tim

Re: setting the wait_timeout option - doesn't work?

2003-10-02 Thread Matt Babineau
L 4.0.14 running on Redhat Linux and it won't accept my > > change to the wait_timeout config option! > > > > In the my.cnf file I have a line > > > > wait_timeout = 60 > > > > but when I restart mysql and go into the server and type SHOW VARI

Re: setting the wait_timeout option - doesn't work?

2003-10-02 Thread Jeremy Zawodny
On Thu, Oct 02, 2003 at 02:02:34PM -0400, Matt Babineau wrote: > Hey All-- > > I have MySQL 4.0.14 running on Redhat Linux and it won't accept my > change to the wait_timeout config option! > > In the my.cnf file I have a line > > wait_timeout = 60 > &

setting the wait_timeout option - doesn't work?

2003-10-02 Thread Matt Babineau
Hey All-- I have MySQL 4.0.14 running on Redhat Linux and it won't accept my change to the wait_timeout config option! In the my.cnf file I have a line wait_timeout = 60 but when I restart mysql and go into the server and type SHOW VARIABLES; it says the wait_timeout is still

Re: WG: wait_timeout in my.cnf

2003-07-18 Thread Egor Egorov
"Moritz Steiner" <[EMAIL PROTECTED]> wrote: > Thanks a lot, that solved my problem! In additional, wait_timeout is set if you only specify wait_timeout variables. You can check it with mysqladmin -uuser_name -ppassword var | grep timeout. mysql client program is running in i

AW: WG: wait_timeout in my.cnf

2003-07-18 Thread Moritz Steiner
Thanks a lot, that solved my problem! Moritz -Ursprüngliche Nachricht- Von: Egor Egorov [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 18. Juli 2003 10:16 An: [EMAIL PROTECTED] Betreff: Re: WG: wait_timeout in my.cnf On Wednesday 16 July 2003 16:10, Moritz Steiner wrote: > Like t

Re: WG: wait_timeout in my.cnf

2003-07-18 Thread Egor Egorov
On Wednesday 16 July 2003 16:10, Moritz Steiner wrote: > Like this: > > # The number of seconds the server waits for activity on a connection > # before closing it > wait_timeout= 300 Set interactive_timeout=300, too. > > -Urspr?ngliche Nachricht---

Re: WG: wait_timeout in my.cnf

2003-07-16 Thread Egor Egorov
"Moritz Steiner" <[EMAIL PROTECTED]> wrote: > > I set a lot of variables in the my.cnf file, all variables are set (I > checked it with "show variables") except of wait_timeout. If I set the > option in MySQL with "option wait_status=xxx" it w

WG: wait_timeout in my.cnf

2003-07-15 Thread Moritz Steiner
I set a lot of variables in the my.cnf file, all variables are set (I checked it with "show variables") except of wait_timeout. If I set the option in MySQL with "option wait_status=xxx" it works. Does anybody know why this could happen? Thanks, Moritz -- MySQL General M

Re: Problems with JDBC autoReconnect and wait_timeout

2003-03-11 Thread Mark Matthews
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Emma Wansbrough wrote: Hi, I am having major problems with persistant database connections on a resident process in java. My database connection url looks like this: jdbc:mysql://balti/log?autoReconnect=true&user=root&password=pineapple But it does

Problems with JDBC autoReconnect and wait_timeout

2003-03-11 Thread Emma Wansbrough
Hi, I am having major problems with persistant database connections on a resident process in java. My database connection url looks like this: jdbc:mysql://balti/log?autoReconnect=true&user=root&password=pineapple But it does not appear to be reconnecting because if I go into /etc/my.cnf and s

wait_timeout doesnt get set

2002-11-12 Thread Mihai RUSU
Hi It seems I cannot set wait_timeout variable. I set it up in /etc/my.cnf with this line: set-variable= wait_timeout=15 under [mysqld] section. I tried MySQL 3.23.48 and 3.23.49a (binary, linux i686 distributions, we cannot use newer ones as they have serious problems under heavy load

wait_timeout

2002-11-09 Thread mysql
SQL server has gone away" error. I figured the reason was that my connection timed out. This was because my deamon opens the connections it needs at startup and uses them throughout its lifetime, thus causing "gone away" error. I saw 2 fixes for this. 1. Increasing wait_timeout value.

Re: max_connect_errors & wait_timeout problem?

2002-08-01 Thread Diana Soares
On Wed, 2002-07-31 at 19:09, Troy Hakala wrote: > I decreased wait_timeout (from 28,800 to 300) to kill off sleeping threads. > This morning, the server stopped accepting connections and gave me this > error: > > ERROR 1129: Host 'hostname' is blocked because

max_connect_errors & wait_timeout problem?

2002-07-31 Thread Troy Hakala
I decreased wait_timeout (from 28,800 to 300) to kill off sleeping threads. This morning, the server stopped accepting connections and gave me this error: ERROR 1129: Host 'hostname' is blocked because of many connection errors. Unblock with 'mysqladmin flush-hosts' flus

Re: Server Config wait_timeout

2001-06-03 Thread Sinisa Milivojevic
Gary Huntress writes: > Hi, > > I've started mysql with the parameter -O wait_timeout=1000 and verified > that it is set using show variables. Yet I routinely see lingering > processes with times over 1100 and higher. I have about 1000 active > database users

Server Config wait_timeout

2001-06-02 Thread Gary Huntress
Hi, I've started mysql with the parameter -O wait_timeout=1000 and verified that it is set using show variables. Yet I routinely see lingering processes with times over 1100 and higher. I have about 1000 active database users at the moment, most are connecting via php pages and I had

Re: problems changing wait_timeout and interactive_timeout with Mysql-Max

2001-05-24 Thread Sinisa Milivojevic
Markus Schranz writes: > Hi, > > I currently upgraded to Mysql-Max 3.23.38 and adapted my my.cnf file. > I had a varibale setting > > set-variable= wait_timeout=3600 > > in it, but this makes the upgraded server crash on startup. Without giving > any of the

problems changing wait_timeout and interactive_timeout with Mysql-Max

2001-05-24 Thread Markus Schranz
Hi, I currently upgraded to Mysql-Max 3.23.38 and adapted my my.cnf file. I had a varibale setting set-variable= wait_timeout=3600 in it, but this makes the upgraded server crash on startup. Without giving any of the variables wait_timeout or interactive_timeout, the startup works fine

Re: wait_timeout? More Info.

2001-02-01 Thread Patrick Meyer
will take some time. [EMAIL PROTECTED] - Original Message - From: "Jeremy D. Zawodny" <[EMAIL PROTECTED]> To: "Meyer, Patrick" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, February 01, 2001 2:48 AM Subject: Re: wait_timeout? > On Tue

Re: wait_timeout?

2001-02-01 Thread Jeremy D. Zawodny
On Tue, Jan 30, 2001 at 12:26:34PM -0600, Meyer, Patrick wrote: > > I am slowly gaining connections to the database that just sleep. I > know these can arise from not closing the database. I am accessing > it via MyODBC from Active Server Pages. However, I set wait_timeout > to

Re: wait_timeout?

2001-01-31 Thread Jan-Aage Bruvoll
On Wed, 31 Jan 2001, Andrew Benham wrote: > I'm glad it's not just me. I have 2 v3.22.32 servers running under > HP-UX 10.20 > Both servers are being used by FCGI processes on the web with persistant > connections to the database servers. Ok, I'll join in on this. I have servers running Slackware

wait_timeout?

2001-01-31 Thread Andrew Benham
Patrick Meyer wrote: > I am slowly gaining connections to the database that just sleep. I know > these can arise from not closing the database. I am accessing it via MyODBC > from Active Server Pages. However, I set wait_timeout to 3600... I have > some that have been there for

wait_timeout?

2001-01-30 Thread Meyer, Patrick
I am slowly gaining connections to the database that just sleep. I know these can arise from not closing the database. I am accessing it via MyODBC from Active Server Pages. However, I set wait_timeout to 3600... I have some that have been there for days... just sleeping. Why doesn't