Can you reset the slave to read the next event its relay log? If this is not
possible, is refreshing the data from the master a viable option?

-----Original Message-----
From: matt ryan
To: [EMAIL PROTECTED]
Sent: 8/12/04 10:22 AM
Subject: Help, slave wont stay running!

I cant keep the slave up for more than 10 minutes

constantly getting these errors

040812 10:32:25  Error reading packet from server: binlog truncated in 
the middle of event (server_errno=1236)
040812 10:32:25  Got fatal error 1236: 'binlog truncated in the middle 
of event' from master when reading data from binary log
040812 10:32:25  Slave I/O thread exiting, read up to log 
'FINANCE-bin.185', position 284963878

both servers have plenty of free space

Here is the master setup..
skip-locking
set-variable= key_buffer_size=1000M
set-variable=bulk_insert_buffer_size=256M
set-variable=delay_key_write=ALL
set-variable=join_buffer_size=256M
set-variable= max_allowed_packet=256M
set-variable= table_cache=512
set-variable= sort_buffer_size=256M
set-variable=tmp_table_size=256M
set-variable= record_buffer=256M
set-variable= thread_cache=8
set-variable=myisam_sort_buffer_size=256M
myisam-recover=BACKUP,FORCE
set-variable=read_buffer_size=256M
set-variable=interactive_timeout=7200
set-variable=wait_timeout=7200

here is the slave setup

skip-locking
set-variable= key_buffer_size=1500M
set-variable=bulk_insert_buffer_size=512M
set-variable=delay_key_write=ALL
set-variable=join_buffer_size=512M
set-variable= max_allowed_packet=384M
set-variable= table_cache=512
set-variable= sort_buffer_size=256M
set-variable=tmp_table_size=400M
set-variable= record_buffer=384M
set-variable= thread_cache=8
set-variable=myisam_sort_buffer_size=256M
myisam-recover=BACKUP,FORCE
set-variable=read_buffer_size=384M
set-variable=interactive_timeout=7200
set-variable=wait_timeout=7200

I'm out of ideas, I've played with buffer sizes, packet sizes, but still

get the same error

my other master/slave has no problems at all, the slave is the same 
server (one box that's slave for two sites)

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to