Magento reindexing problems – Solutions
I think this is best solution for reindex issue in magento.
Just Increase your execution time value in the .htaccess file.
php_value memory_limit 256M
php_value max_execution_time 18000
Create a file reindexer.php in the root folder.
<?php
require_once ‘app/Mage.php’;
$app = Mage::app(‘admin’);
umask(0);
for ($index = 1; $index <= 8; $index++) {
$process = Mage::getModel(‘index/process’)->load($index);
$process->reindexAll();
}
?>
And run your script like yourdomain.com/reindexer.php
It may take time.
Hope it will work.