RE: why is this happening?

2009-03-22 Thread Martin Gainty

Jim

can you verify the process is quiesced from MySQL (master)
mysqlSHOW PROCESSLIST

?
Martin 
__ 
Disclaimer and confidentiality note 
This message is confidential and may be privileged. If you are not the intended 
recipient, we kindly ask you to  please inform the sender. Any unauthorised 
dissemination or copying hereof is prohibited. This message serves for 
information purposes only and shall not have any legally binding effect. Given 
that e-mails can easily be subject to manipulation, we can not accept any 
liability for the content provided.






 Date: Sat, 21 Mar 2009 08:57:11 -0500
 Subject: Re: why is this happening?
 From: jlyons4...@gmail.com
 To: claudio.na...@gmail.com
 CC: mysql@lists.mysql.com
 
 No, there's only one mysqld process running.   Thanks, tho.
 
 On Thu, Mar 19, 2009 at 3:56 PM, Claudio Nanni claudio.na...@gmail.comwrote:
 
  I am afraid you have two mysql instances up on the same host.
 
  ps -ef | grep mysql ?
 
 
  Claudio
 
 
  Jim Lyons wrote:
 
  I have a rather odd problem with a replication slave.
 
  The slave has been down for a number of hours.  Of course, both io and sql
  threads are stopped - from SHOW SLAVE STATUS:
 
Slave_IO_Running: No
   Slave_SQL_Running: No
 
 
  However, the relay logs are still being written to.  I was under the
  impression that the slave's io thread was what brought data from the
  master's bin log to the slave's relay log.  With the io thread stopped,
  the
  relay logs should stop filling up - right?  Mine are definitely filling
  up.
 
 
  Does anyonee know why the relay logs keep filling up after replication has
  broken?
 
  Thanks
 
 
 
 
 
 
 
 -- 
 Jim Lyons
 Web developer / Database administrator
 http://www.weblyons.com

_
HotmailĀ® is up to 70% faster. Now good news travels really fast.
http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_70faster_032009

Re: why is this happening?

2009-03-21 Thread Jim Lyons
No, there's only one mysqld process running.   Thanks, tho.

On Thu, Mar 19, 2009 at 3:56 PM, Claudio Nanni claudio.na...@gmail.comwrote:

 I am afraid you have two mysql instances up on the same host.

 ps -ef | grep mysql ?


 Claudio


 Jim Lyons wrote:

 I have a rather odd problem with a replication slave.

 The slave has been down for a number of hours.  Of course, both io and sql
 threads are stopped - from SHOW SLAVE STATUS:

   Slave_IO_Running: No
  Slave_SQL_Running: No


 However, the relay logs are still being written to.  I was under the
 impression that the slave's io thread was what brought data from the
 master's bin log to the slave's relay log.  With the io thread stopped,
 the
 relay logs should stop filling up - right?  Mine are definitely filling
 up.


 Does anyonee know why the relay logs keep filling up after replication has
 broken?

 Thanks







-- 
Jim Lyons
Web developer / Database administrator
http://www.weblyons.com


why is this happening?

2009-03-19 Thread Jim Lyons
I have a rather odd problem with a replication slave.

The slave has been down for a number of hours.  Of course, both io and sql
threads are stopped - from SHOW SLAVE STATUS:

   Slave_IO_Running: No
  Slave_SQL_Running: No


However, the relay logs are still being written to.  I was under the
impression that the slave's io thread was what brought data from the
master's bin log to the slave's relay log.  With the io thread stopped, the
relay logs should stop filling up - right?  Mine are definitely filling up.


Does anyonee know why the relay logs keep filling up after replication has
broken?

Thanks

-- 
Jim Lyons
Web developer / Database administrator
http://www.weblyons.com


Re: why is this happening?

2009-03-19 Thread David Giragosian
On 3/19/09, Jim Lyons jlyons4...@gmail.com wrote:

 I have a rather odd problem with a replication slave.

 The slave has been down for a number of hours.  Of course, both io and sql
 threads are stopped - from SHOW SLAVE STATUS:

   Slave_IO_Running: No
  Slave_SQL_Running: No


 However, the relay logs are still being written to.  I was under the
 impression that the slave's io thread was what brought data from the
 master's bin log to the slave's relay log.  With the io thread stopped, the
 relay logs should stop filling up - right?  Mine are definitely filling up.


 Does anyonee know why the relay logs keep filling up after replication has
 broken?

 Thanks

 --
 Jim Lyons
 Web developer / Database administrator
 http://www.weblyons.com


I noticed a similar occurrence the last time my replication broke.

Someone here suggested running show processlist.

What does yours show?

David


RE: why is this happening?

2009-03-19 Thread Martin Gainty

what does the master db show for processlist ?

master_mysqlshow processlist

?
Martin 
__ 
Disclaimer and confidentiality note 
This message is confidential and may be privileged. If you are not the intended 
recipient, we kindly ask you to  please inform the sender. Any unauthorised 
dissemination or copying hereof is prohibited. This message serves for 
information purposes only and shall not have any legally binding effect. Given 
that e-mails can easily be subject to manipulation, we can not accept any 
liability for the content provided.






 Date: Thu, 19 Mar 2009 15:24:43 -0500
 Subject: why is this happening?
 From: jlyons4...@gmail.com
 To: mysql@lists.mysql.com
 
 I have a rather odd problem with a replication slave.
 
 The slave has been down for a number of hours.  Of course, both io and sql
 threads are stopped - from SHOW SLAVE STATUS:
 
Slave_IO_Running: No
   Slave_SQL_Running: No
 
 
 However, the relay logs are still being written to.  I was under the
 impression that the slave's io thread was what brought data from the
 master's bin log to the slave's relay log.  With the io thread stopped, the
 relay logs should stop filling up - right?  Mine are definitely filling up.
 
 
 Does anyonee know why the relay logs keep filling up after replication has
 broken?
 
 Thanks
 
 -- 
 Jim Lyons
 Web developer / Database administrator
 http://www.weblyons.com

_
HotmailĀ® is up to 70% faster. Now good news travels really fast. 
http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_70faster_032009

Re: why is this happening?

2009-03-19 Thread Claudio Nanni

I am afraid you have two mysql instances up on the same host.

ps -ef | grep mysql ?


Claudio

Jim Lyons wrote:

I have a rather odd problem with a replication slave.

The slave has been down for a number of hours.  Of course, both io and sql
threads are stopped - from SHOW SLAVE STATUS:

   Slave_IO_Running: No
  Slave_SQL_Running: No


However, the relay logs are still being written to.  I was under the
impression that the slave's io thread was what brought data from the
master's bin log to the slave's relay log.  With the io thread stopped, the
relay logs should stop filling up - right?  Mine are definitely filling up.


Does anyonee know why the relay logs keep filling up after replication has
broken?

Thanks

  



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org