免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 4575 | 回复: 10
打印 上一主题 下一主题

mysql为什么会有这么多进程? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-11-22 14:06 |只看该作者 |倒序浏览
我以前mysql安装以后启动,一般进程情况如下
root     16728  0.0  0.0  65948  1308 ?        S    Sep30   0:00 /bin/sh ./bin/mysqld_safe --datadir=/usr/local/mysql/data --pid-file=/usr/local/mysql/data/mysqlServer.pid
mysql    16936  162 63.6 12772092 10458128 ?   Sl   Sep30 123505:26 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --user=mysql --log-error=/usr/local/mysql/data/mysqlServer.err --pid-file=/usr/local/mysql/data/mysqlServer.pid --socket=/tmp/mysql.sock --port=3306

但是我今天在64位4.7rhel系统上源码安装mysql,配置信息如下
./configure  --prefix=/usr/local/mysql --without-debug --with-charset=utf8 --with-extra-charsets=all --with-client-ldflags=-all-static --with-mysqld-ldflags=-all-static --with-plugins=all

启动以后,发现mysql的进程有很多,情况如下

这个是为什么呢,请各位大侠赐教

未命名.jpg (231.75 KB, 下载次数: 29)

未命名.jpg

未命名.jpg (231.75 KB, 下载次数: )

未命名.jpg

论坛徽章:
4
CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52戌狗
日期:2013-12-27 15:08:11
2 [报告]
发表于 2011-11-22 15:22 |只看该作者
--with-client-ldflags=-all-static --with-mysqld-ldflags=-all-static --with-plugins=all
没遇到过,是不是这几个参数引起的

论坛徽章:
0
3 [报告]
发表于 2011-11-24 18:07 |只看该作者
回复 2# 小版主杀手


    这几个参数是用来提高数据库的性能的,也有可能,我再做下实验

论坛徽章:
0
4 [报告]
发表于 2011-11-25 10:44 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
5 [报告]
发表于 2011-11-25 12:07 |只看该作者
目前装了n台mysql,还没遇到楼主说的问题。

论坛徽章:
1
白银圣斗士
日期:2015-11-23 08:33:04
6 [报告]
发表于 2011-11-25 15:50 |只看该作者

论坛徽章:
0
7 [报告]
发表于 2011-11-28 09:32 |只看该作者
我也是刚学mssql 有很多迷惑呢

论坛徽章:
0
8 [报告]
发表于 2011-11-28 10:42 |只看该作者
回复 6# 枫影谁用了


    谢谢,明白原因了

论坛徽章:
0
9 [报告]
发表于 2011-11-28 14:13 |只看该作者
回复 4# kerlion


    运行没问题,可能是这个原因
http://bbs.chinaunix.net/viewthread.php?tid=1027400

论坛徽章:
0
10 [报告]
发表于 2011-11-29 10:53 |只看该作者
回复 9# radarruan


    今天再次在32位系统上,按照同样的编译配置参数来安装,结果发现只有一个进程,这个跟上面介绍的刚好相反
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP