Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It rans out of memory. #47

Closed
rluisr opened this issue May 7, 2016 · 0 comments
Closed

It rans out of memory. #47

rluisr opened this issue May 7, 2016 · 0 comments
Labels

Comments

@rluisr
Copy link

rluisr commented May 7, 2016

When vuls runs "vuls scan", run out of remote server's memory.
This command is heavy...
bash -c set -o pipefail; yes no | yum update --changelog exim | grep CVE

vuls server
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
OS : CentOS 7.2.1511
go : go version go1.6.2 linux/amd64
vuls : Latest version(05/07)

Remote server
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
OS : CentOS 6.7
MEM : 1GB / Swap:4GB

Before run "vuls scan" (Remote server "free -m")
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
total used free shared buffers cached
Mem: 995 533 462 0 2 91
-/+ buffers/cache: 438 556
Swap: 4031 0 4031

config.toml
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー

[servers]

[servers.192-168-20-3]
host = "192.168.20.3"
port = "22"
user = "root"
password = "xxxxx"

Error message
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー

[May  7 17:31:25] ERROR [localhost] Failed to scan. err: root@192.168.20.3:22: Failed to get changelog. status: 2, stdout: grep: メモリを使い果たしました
, stderr:
@rluisr rluisr changed the title It ran out of memory. It rans out of memory. May 7, 2016
@kotakanbe kotakanbe added the bug label May 10, 2016
kotakanbe added a commit that referenced this issue May 10, 2016
Fix yes no infinite loop while doing yum update --changelog on root@CentOS #47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants