前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Suse Linux zmd 耗用100% CPU

Suse Linux zmd 耗用100% CPU

作者头像
Leshami
发布2018-08-13 15:50:51
5.6K0
发布2018-08-13 15:50:51
举报
文章被收录于专栏:乐沙弥的世界乐沙弥的世界

    最近的Suse Linux 10(SP3)的top命令总是显示zmd进程耗用了100%的CPU资源,而整个系统中system级别占用CPU则占用了40%以上且根本不曾释放。尝试重启服务器之后,故障依旧。下面是这个问题的描述与处理。

1、top命令显示zmd cpu占用100%,system usage 40%以上 top - 09:55:10 up 33 days, 13:44,  4 users,  load average: 1.09, 1.12, 1.06 Tasks: 217 total,   2 running, 215 sleeping,   0 stopped,   0 zombie Cpu(s):  6.2%us, 42.6%sy,  0.0%ni, 48.5%id,  1.0%wa,  0.0%hi,  1.6%si,  0.0%st Mem:   7527676k total,  7475372k used,    52304k free,    74720k buffers Swap:  2104472k total,  1246612k used,    857860 free,  1984724k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND 3633 root      34  19  110m  21m 9180 S  100  0.3 822:51.15 zmd        22402 robin     15   0  5656 1216  792 R    2  0.0   0:00.01 top  2、关于zmd的描述 The ZENworks Agent is named zmd. It is sometimes referred to as the ZENworks Management Daemon (zmd).

The ZENworks Agent performs software management functions on the ZENworks managed device, including updating, installing, and removing software and performing basic queries of the device's package management database. Typically, these management tasks are initiated through the ZENworks Control Center or the rug utility, which means you should not need to interact directly with the ZENworks Agent.

#主要功能是管理设备,更新,安装以及移除软件以及对设备包管理进行查询,这个ageng并不影响整个系统的运行。 The ZENworks Agent is installed to the following directory:

/opt/novell/zenworks/sbin

For SUSE LINUX Enterprise Server 10 (SLES 10) and SUSE LINUX Enterprise Desktop 10 (SLED 10) devices, the ZENworks Agent is located in the following directory:

/usr/sbin

6.1.1 ZENworks Agent (zmd) Cache Settings As the ZENworks Agent (zmd) performs its duties, it maintains a cache that stores the content of bundles that are downloaded for installation on that managed device. You can control the age of contents in the cache and its size by using cache settings. Cache cleanup is enforced on both client startup and refresh.

If the process of downloading the bundle is interrupted on the managed device, the zmd starts the download of individual packages from where it was left off.

The cleaning of cached information is always enabled. You can configure the following settings using the rug set command in the rug utility to manage the cache. For more information about the rug utility, see Section 4.4, rug.

关于zmd的链接:http://www.novell.com/documentation/zlm72/lm7admin/?page=/documentation/zlm72/lm7admin/data/bxltra0.html

3、关闭zmd进程 SZDB:/usr/sbin # ps -ef | grep zmd root      3265     1  0 May14 ?        00:00:01 zmd /usr/lib/zmd/zmd.exe root      3633     1 99 May14 ?        13:31:04 zmd /usr/lib/zmd/zmd.exe root     21841 20286  0 09:43 pts/2    00:00:00 grep zmd

--> Author : Robinson --> Blog   : http://blog.csdn.net/robinson_0612

#刚开始时通过yast来禁止zmd启动,执行失败,不得不先kill这个进程,然后再disable成功 SZDB:/usr/sbin # kill -9 3633   #kill掉那个占用100% cpu的进程 SZDB:/usr/sbin # top            #再次top,system usage下面到1%以下

top - 10:27:39 up 14:17,  3 users,  load average: 0.16, 0.09, 0.29 Tasks: 226 total,   1 running, 225 sleeping,   0 stopped,   0 zombie Cpu(s):  0.2%us,  0.3%sy,  0.0%ni, 99.3%id,  0.2%wa,  0.0%hi,  0.0%si,  0.0%st Mem:   7527676k total,  7479032k used,    48644k free,    75048k buffers Swap:  2104472k total,        0k used,  2104472k free,  6463032k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                         3265 root      34  19  100m  20m 9124 S    0  0.3   0:01.01 zmd                                           

#启用yast来disable novell-zmd启动 yast system  system services(runlevel)     novell-zmd

/etc/init.d/novell-zmd stop returned 0 (success): Shutting down ZENworks Management Daemon..done

#如果后续需要用到novell-zmd,可以将其启动即可 #测试了一下,将novell-zmd再次enable,会依旧出现上述情形,估计是个bug,有兴趣的朋友可以继续google。

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2013年05月15日,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档