ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Накопление процессов апача


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: Накопление процессов апача
  • From: "Дмитрий Леоненко" <dmitry.leonenko@xxxxxxxxx>
  • Date: Thu, 18 Dec 2008 17:19:03 +0200
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=QBtOHj4ffLHNehWQZVzgb9p3Y8C1phoi6iDaYIkLBEk=; b=ncPGrBX0oONpdwL3yTYEu8RDj1cApaAUr6D0c0HQwqw9MDfzq5BaF45VbCK71VN+L7 eDytUe1okVT8I9yN3dq0lUjGZx3PNjGhX7UFROL+/F/zTdBxpc3cAVP0EMSf38NMEtpz OcSuDssmyrtMLPvG2QfRIxzY7bNVwIIFTdjuM=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=UrQNI19lAM/27wdV1J34F0ASIvsHddtHh49ML4pwPrdrS2Q3jLZZFgcXryosjMi770 J5HUUhHnKu7pjJKETEYrZuJDZ6ZUK4XNY30HFSRv5TcYAyPoD74dw+v5FGLOLanxN6Kw 2iR4Kj3cic8Ec3pay1nLTXb8wKuiJ6jYQB+bA=
  • In-reply-to: <494A643F.6030007@xxxxxxxxxx>
  • References: <a23608a90812180631g65d29a6aja023c8c9bf5cef12@xxxxxxxxxxxxxx> <494A643F.6030007@xxxxxxxxxx>

MySQL висит на sending data:

mysql> show processlist;
+-----+-------------+-----------+-------------+---------+------+--------------+------------------------------------------------------------------------------------------------------+
| Id  | User        | Host      | db          | Command | Time | State        | Info                                                                                                 |
+-----+-------------+-----------+-------------+---------+------+--------------+------------------------------------------------------------------------------------------------------+
|   2 | root        | localhost | nowaru_BakS | Query   |    0 | NULL         | show processlist                                                                                     |
|   3 | nowaru_baks | localhost | nowaru_BakS | Query   |   17 | Sending data | SELECT COUNT(i.inumber) FROM nucleus_item as i WHERE i.idraft=0 and i.iblog=1 and i.inumber<>2 and i |
|   4 | nowaru_baks | localhost | nowaru_BakS | Query   |   31 | Sending data | SELECT COUNT(i.inumber) FROM nucleus_item as i WHERE i.idraft=0 and i.iblog=1 and i.inumber<>2 and i |
|   5 | nowaru_baks | localhost | nowaru_BakS | Query   |   14 | Sending data | SELECT COUNT(i.inumber) FROM nucleus_item as i WHERE i.idraft=0 and i.iblog=1 and i.inumber<>2 and i |
|   6 | nowaru_baks | localhost | nowaru_BakS | Query   |   34 | Sending data | SELECT COUNT(i.inumber) FROM nucleus_item as i WHERE i.idraft=0 and i.iblog=1 and i.inumber<>2 and i |
|   7 | nowaru_baks | localhost | nowaru_BakS | Query   |   87 | Sending data | SELECT COUNT(i.inumber) FROM nucleus_item as i WHERE i.idraft=0 and i.iblog=1 and i.inumber<>2 and i |


On Thu, Dec 18, 2008 at 4:54 PM, Alex Vorona <voron@xxxxxxxxxx> wrote:
18.12.2008 16:31, Дмитрий Леоненко wrote:
[...]

(gdb) where
#0  0x282dd447 in read () from /lib/libc.so.5
#1  0x28272b5d in read () from /usr/lib/libpthread.so.1
#2  0x289eaf41 in vio_read () from /usr/local/lib/mysql/libmysqlclient.so.16
#3  0x289eafae in vio_read_buff () from /usr/local/lib/mysql/libmysqlclient.so.16
#4  0x289ebcf0 in my_real_read () from /usr/local/lib/mysql/libmysqlclient.so.16
#5  0x289ebeed in my_net_read () from /usr/local/lib/mysql/libmysqlclient.so.16
#6  0x289e5bfa in cli_safe_read () from /usr/local/lib/mysql/libmysqlclient.so.16
[...]
похоже, тормозит mysql при вызове из php, включайте ExtendedStatus у апача и смотрите туда




 




Copyright © Lexa Software, 1996-2009.