Suse Linux zmd 耗用100% CPU

简介:     最近的Suse Linux 10(SP3)的top命令总是显示zmd进程耗用了100%的CPU资源,而整个系统中system级别占用CPU则占用了40%以上且根本不曾释放。

    最近的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。

 

4、更多参考
  SUSE Linux 10 配置裸设备(raw devices)
  SUSE Linux 10 下重命名网卡名字
  ulimit: open files: cannot modify limit: Operation not permitted
  Linux HugePage 特性
  Linux 下配置 HugePages
  Linux 前后台作业切换及脱机管理
 

目录
相关文章
|
5小时前
|
Linux
Linux rsyslog占用内存CPU过高解决办法
该文档描述了`rsyslog`占用内存过高的问题及其解决方案。
41 4
|
5小时前
|
机器学习/深度学习 缓存 监控
linux查看CPU、内存、网络、磁盘IO命令
`Linux`系统中,使用`top`命令查看CPU状态,要查看CPU详细信息,可利用`cat /proc/cpuinfo`相关命令。`free`命令用于查看内存使用情况。网络相关命令包括`ifconfig`(查看网卡状态)、`ifdown/ifup`(禁用/启用网卡)、`netstat`(列出网络连接,如`-tuln`组合)以及`nslookup`、`ping`、`telnet`、`traceroute`等。磁盘IO方面,`iostat`(如`-k -p ALL`)显示磁盘IO统计,`iotop`(如`-o -d 1`)则用于查看磁盘IO瓶颈。
|
5小时前
|
Oracle 关系型数据库 Linux
SuSE linux server 11通过SAP来安装oracle11g
SuSE linux server 11通过SAP来安装oracle11g
|
5小时前
|
Linux C语言
suse linux 11 安装GCC开发环境
suse linux 11 安装GCC开发环境
|
5小时前
|
Linux 网络安全
xmanager 4 连接SuSE linux server 11方法
xmanager 4 连接SuSE linux server 11方法
|
5小时前
|
缓存 监控 前端开发
如何在 Linux 命令行中检查 CPU 使用率
【5月更文挑战第8天】
17 0
|
5小时前
|
Linux
如何在Linux系统上查看CPU使用率?
以上命令可以帮助你监视和分析Linux系统中的CPU使用率,可以根据需要选择合适的命令进行查看。 买CN2云服务器,免备案服务器,高防服务器,就选蓝易云。百度搜索:蓝易云
17 0
|
5小时前
|
Linux
Linux操作系统调优相关工具(一)查看CPU负载相关工具 找出系统中使用CPU最多的进程?
Linux操作系统调优相关工具(一)查看CPU负载相关工具 找出系统中使用CPU最多的进程?
19 0
|
5小时前
|
运维 Linux
Linux系统调优详解(二)——CPU负载查看相关命令
Linux系统调优详解(二)——CPU负载查看相关命令
57 10
|
监控 Linux 测试技术
Linux系统篇—CPU平均负载介绍与案例假设
Linux系统篇—CPU平均负载介绍与案例假设
Linux系统篇—CPU平均负载介绍与案例假设