觉得puppet太复杂,于是就在一台128MB的VPS上搭了saltstack的master来管理几台VPS
saltstack是基于python的,128MB的机子上内存已经所剩无几
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 303 0.0 0.9 2980 1248 ? Ss 13:43 0:00 su -c salt-master
root 306 0.0 11.4 41952 15016 ? Sl 13:43 0:00 /usr/bin/python /usr/bin/salt-master
root 365 0.0 16.3 57072 21416 ? Sl 13:43 0:00 /usr/bin/python /usr/bin/salt-master
root 368 0.0 9.1 41952 11932 ? Sl 13:43 0:00 /usr/bin/python /usr/bin/salt-master
root 369 0.0 8.9 41952 11768 ? Sl 13:43 0:00 /usr/bin/python /usr/bin/salt-master
root 370 0.1 17.1 141312 22508 ? Sl 13:43 0:00 /usr/bin/python /usr/bin/salt-master
有没什么办法减少这类python程序的内存使用量?(还有denyhost等)
或者大家有没什么轻量级的运维工具推荐
saltstack是基于python的,128MB的机子上内存已经所剩无几
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 303 0.0 0.9 2980 1248 ? Ss 13:43 0:00 su -c salt-master
root 306 0.0 11.4 41952 15016 ? Sl 13:43 0:00 /usr/bin/python /usr/bin/salt-master
root 365 0.0 16.3 57072 21416 ? Sl 13:43 0:00 /usr/bin/python /usr/bin/salt-master
root 368 0.0 9.1 41952 11932 ? Sl 13:43 0:00 /usr/bin/python /usr/bin/salt-master
root 369 0.0 8.9 41952 11768 ? Sl 13:43 0:00 /usr/bin/python /usr/bin/salt-master
root 370 0.1 17.1 141312 22508 ? Sl 13:43 0:00 /usr/bin/python /usr/bin/salt-master
有没什么办法减少这类python程序的内存使用量?(还有denyhost等)
或者大家有没什么轻量级的运维工具推荐