MySQL висит на sending data:<div><br></div><div><div>mysql&gt; show processlist;</div><div>+-----+-------------+-----------+-------------+---------+------+--------------+------------------------------------------------------------------------------------------------------+</div>
<div>| Id &nbsp;| User &nbsp; &nbsp; &nbsp; &nbsp;| Host &nbsp; &nbsp; &nbsp;| db &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| Command | Time | State &nbsp; &nbsp; &nbsp; &nbsp;| Info &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |</div><div>+-----+-------------+-----------+-------------+---------+------+--------------+------------------------------------------------------------------------------------------------------+</div>
<div>| &nbsp; 2 | root &nbsp; &nbsp; &nbsp; &nbsp;| localhost | nowaru_BakS | Query &nbsp; | &nbsp; &nbsp;0 | NULL &nbsp; &nbsp; &nbsp; &nbsp; | show processlist &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |</div><div>| &nbsp; 3 | nowaru_baks | localhost | nowaru_BakS | Query &nbsp; | &nbsp; 17 | <span class="Apple-style-span" style="font-weight: bold;">Sending data</span> | SELECT COUNT(i.inumber) FROM nucleus_item as i WHERE i.idraft=0 and i.iblog=1 and i.inumber&lt;&gt;2 and i |</div>
<div>| &nbsp; 4 | nowaru_baks | localhost | nowaru_BakS | Query &nbsp; | &nbsp; 31 | <span class="Apple-style-span" style="font-weight: bold;">Sending data </span>| SELECT COUNT(i.inumber) FROM nucleus_item as i WHERE i.idraft=0 and i.iblog=1 and i.inumber&lt;&gt;2 and i |</div>
<div>| &nbsp; 5 | nowaru_baks | localhost | nowaru_BakS | Query &nbsp; | &nbsp; 14 | <span class="Apple-style-span" style="font-weight: bold;">Sending data</span> | SELECT COUNT(i.inumber) FROM nucleus_item as i WHERE i.idraft=0 and i.iblog=1 and i.inumber&lt;&gt;2 and i |</div>
<div>| &nbsp; 6 | nowaru_baks | localhost | nowaru_BakS | Query &nbsp; | &nbsp; 34 | <span class="Apple-style-span" style="font-weight: bold;">Sending data</span> | SELECT COUNT(i.inumber) FROM nucleus_item as i WHERE i.idraft=0 and i.iblog=1 and i.inumber&lt;&gt;2 and i |</div>
<div>| &nbsp; 7 | nowaru_baks | localhost | nowaru_BakS | Query &nbsp; | &nbsp; 87 | <span class="Apple-style-span" style="font-weight: bold;">Sending data</span> | SELECT COUNT(i.inumber) FROM nucleus_item as i WHERE i.idraft=0 and i.iblog=1 and i.inumber&lt;&gt;2 and i |</div>
<div><br></div><br><div class="gmail_quote">On Thu, Dec 18, 2008 at 4:54 PM, Alex Vorona <span dir="ltr">&lt;<a href="mailto:voron@amhost.net">voron@amhost.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
18.12.2008 16:31, Дмитрий Леоненко wrote:<br>
[...]<div class="Ih2E3d"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
(gdb) where<br>
#0 &nbsp;0x282dd447 in read () from /lib/libc.so.5<br>
#1 &nbsp;0x28272b5d in read () from /usr/lib/libpthread.so.1<br>
#2 &nbsp;0x289eaf41 in vio_read () from /usr/local/lib/mysql/libmysqlclient.so.16<br>
#3 &nbsp;0x289eafae in vio_read_buff () from /usr/local/lib/mysql/libmysqlclient.so.16<br>
#4 &nbsp;0x289ebcf0 in my_real_read () from /usr/local/lib/mysql/libmysqlclient.so.16<br>
#5 &nbsp;0x289ebeed in my_net_read () from /usr/local/lib/mysql/libmysqlclient.so.16<br>
#6 &nbsp;0x289e5bfa in cli_safe_read () from /usr/local/lib/mysql/libmysqlclient.so.16<br>
</blockquote></div>
[...]<br>
похоже, тормозит mysql при вызове из php, включайте ExtendedStatus у апача и смотрите туда<br>
<br>
</blockquote></div><br></div>