PDA

View Full Version : XMB 1.9.1 to vB 3.6.0



Jenni_Kitten
Tue 22nd Aug '06, 5:38pm
Hi,

I've been running test imports for the above systems on my Windows machine; all goes fine until around the 76,000th post. I did a check on the database through phpmyadmin, and got an error for the table with the posts in:

Problems with indexes of table `xmb_threads`
PRIMARY and INDEX keys should not both be set for column `tid`

I don't know if this is what is causing it; if it is, how do I fix it? I've tried running impex standalone and with vB, tried increasing the limits on script execution etc. to no avail. Doing post imports in smaller batches also failed.

The database in question has around 200,000 posts, 4000 members. Heavily modified, but impex just finds the irregular tables and excludes them, so I'm sure thats not an issue.

Thanks
Jenni

Jerry
Tue 22nd Aug '06, 5:40pm
Can you run a repair on the source table, or just delete the index's ?

Jenni_Kitten
Tue 22nd Aug '06, 5:41pm
Ran a repair, did not fix it. Delete the indexes...?

Jerry
Tue 22nd Aug '06, 5:54pm
Does ImpEx actually give any error, or just stops ?

Anything in the PHP or web server logs about what happened ?

Jenni_Kitten
Tue 22nd Aug '06, 5:57pm
It hangs. Basically brings the entire setup to a halt... sometimes crashes Apache. Have to restart everything to get it working again.

Had a quick look through the apache error logs, couldn't see anything that stood out...

Jerry
Tue 22nd Aug '06, 6:04pm
Possiably a post that is too big for max_packet_allowed in MySQL.

Whats your PHP memory limit and time out ?

Also what is the max_packet_allowed in MySQL ?

Jenni_Kitten
Tue 22nd Aug '06, 6:09pm
MySQL:

max allowed packet 1,047,552

PHP:

max execution time: 60

What variable in phpinfo defines memory limit?

Jerry
Tue 22nd Aug '06, 6:17pm
If you have any post that is over a meg, that will crash.



memory_limit = 512M ; Maximum amount of memory a script may consume (8MB)


memory_limit is the memory limit for the scripts.

Jenni_Kitten
Tue 22nd Aug '06, 7:03pm
memory_limit = 16M

Do you suggest editing these then? I can't find a MySQL config file...

Jerry
Tue 22nd Aug '06, 7:10pm
16M should be fine for default per page, though you could lower your per page as there may be a few gargantuan posts in a row that could go over 16M.

MySQL config file is my.cnf, usually, /etc/mysql/my.cnf on *nix.

Jenni_Kitten
Tue 22nd Aug '06, 9:45pm
I increased all the default values to big limits, didn't make a difference.

Jerry
Tue 22nd Aug '06, 9:55pm
Then its probably ImpEx, start a support ticket and ask for me.

Jenni_Kitten
Tue 22nd Aug '06, 10:00pm
Done. :)