Suse Linux zmd 耗用100% CPU


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

    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 
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.

The ZENworks Agent is installed to the following directory:


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:


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.


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

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

  • 本文由 发表于 2020年1月1日20:42:19
  • 转载请务必保留本文链接: