I see duplicate reply. Suggests that your sql is being too slow. Look at optimizing it eg indexes on the tabled you query....or migrate to a better DB.If mysql then look at reducing number of connections to 10alan