回复 14# 的帖子
内存不足,需要升级回复 16# 的帖子
那mysql這問題?mysql 1616 34.1 2.7 49344 28400 ? Sl 21:28 15:19 /usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql --log-error=/usr/local/mysql/var/263824.anygoing.com.err --pid-file=/usr/local/mysql/var/263824.anygoing.com.pid --socket=/tmp/mysql.sock --port=3306
拜託了
謝謝
回复 16# 的帖子
ps -aux|grep mysqlWarning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ
root 15190.00.1 62241344 ? S Jul31 0:00 /bin/sh /usr/local/mysql/bin/mysqld_safe --datadir=/usr/local/mysql/var --pid-file=/usr/local/mysql/var/263824.anygoing.com.pid
mysql 1616 32.82.959444 30560 ? Sl Jul31 292:38 /usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql --log-error=/usr/local/mysql/var/263824.anygoing.com.err --pid-file=/usr/local/mysql/var/263824.anygoing.com.pid --socket=/tmp/mysql.sock --port=3306
root 94970.00.0 5456 716 pts/0 R+ 12:19 0:00 grep mysql
/tmp下有mysql.sock
要怎麼解決˙
感謝!! 不清楚,这里没有错误信息
回复 19# 的帖子
mysql> show full processlist;+-----+------+-----------+-------+---------+------+--------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Id| User | Host | db | Command | Time | State | Info |
+-----+------+-----------+-------+---------+------+--------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 408 | root | localhost | NULL| Query | 0 | NULL | show full processlist |
| 784 | root | localhost | fenom | Query | 1 | removing tmp table | SELECT t.subject,t.tid FROM cdb_attachments a,cdb_threads t WHERE a.tid=t.tid and a.uid=t.authorid and a.isimage in ('1','-1') and t.dateline>='1328248682' AND t.tid<'428233' ORDER BY t.dateline DESC LIMIT 1 |
怎麼看都是這些問題造成的?
cdb_attachments和cdb_threads建立索引嗎???
能教我怎麼索引這條語句嗎?
拜託了
感謝!!
[ 本帖最后由 qoologo 于 2012-8-1 15:02 编辑 ]
页:
1
[2]