You are here: How to timeout queries that are taking to long « PHP Programming Language « IT news, forums, messages
How to timeout queries that are taking to long

Posted by Extremest on 02/23/07 19:52

Is there a way with php/mysql to have a set timeout period for
queries. My hosting provider is complaining about to many processes
when my pages connect to my db. Sometimes they take a few minutes to
complete and I want to just stop anything that is taking more than
say
30 secs. Is there a way to do this. The php execution time is set to
30 secs. I thought that would do it but isn't. The mysql server is on
another system from the php server also if that helps.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация