Giter VIP home page Giter VIP logo

Comments (2)

kotakanbe avatar kotakanbe commented on July 17, 2024

Hi @k1LoW
Thanks for reporting.

The nil pointer error was fixed in above changes.
Now Vuls can print the error message instead of nil pointer.

In the above case of Centos5.5, Vuls found many CVE IDs (over 300).
Vuls request to go-cve-dictionary concurrently.
I guess that max open file error was occurred.

It's better to check open files limit of your OS.
see https://docs.basho.com/riak/kv/2.1.4/using/performance/open-files-limit/

from vuls.

k1LoW avatar k1LoW commented on July 17, 2024

Thank you for your fix!!

I guess that max open file error was occurred.

You are right!

> launchctl limit maxfiles
        maxfiles    256            unlimited

Now Vuls can print the error message instead of nil pointer.

Result

I retry (go get -u and vuls scan).

[May 17 10:29:43]  INFO [xxxxxx:22] (331/331) Scanned zlib-devel-1.2.3-3 -> 1.2.3-7.el5 : []
[May 17 10:29:43]  INFO [xxxxxx:22] Fetching CVE details...
WARN[0933] Failed to HTTP GET. retrying in 552.330144ms seconds. err: HTTP GET error: [Get http://127.0.0.1:1323/cves/CVE-2010-2431: EOF], url: http://127.0.0.1:1323/cves/CVE-2010-2431, resp: <nil>
WARN[0933] Failed to HTTP GET. retrying in 720.254544ms seconds. err: HTTP GET error: [Get http://127.0.0.1:1323/cves/CVE-2011-2748: EOF], url: http://127.0.0.1:1323/cves/CVE-2011-2748, resp: <nil>
WARN[0933] Failed to HTTP GET. retrying in 582.280027ms seconds. err: HTTP GET error: [Get http://127.0.0.1:1323/cves/CVE-2010-3704: dial tcp 127.0.0.1:1323: socket: too many open files], url: http://127.
0.0.1:1323/cves/CVE-2010-3704, resp: <nil>
WARN[0933] Failed to HTTP GET. retrying in 468.857094ms seconds. err: HTTP GET error: [Get http://127.0.0.1:1323/cves/CVE-2012-0061: dial tcp 127.0.0.1:1323: socket: too many open files], url: http://127.
0.0.1:1323/cves/CVE-2012-0061, resp: <nil>
WARN[0933] Failed to HTTP GET. retrying in 462.318748ms seconds. err: HTTP GET error: [Get http://127.0.0.1:1323/cves/CVE-2011-0281: dial tcp 127.0.0.1:1323: socket: too many open files], url: http://127.
0.0.1:1323/cves/CVE-2011-0281, resp: <nil>

-loop....-
{"time":"2016-05-17T10:29:44+09:00","remote_ip":"127.0.0.1","method":"GET","uri":"/cves/CVE-2011-2692","status":200, "latency":3995,"latency_human":"3.995597ms","rx_bytes":0,"tx_bytes":6178}
2016/05/17 10:29:44 http: Accept error: accept tcp 127.0.0.1:1323: accept: too many open files; retrying in 10ms
2016/05/17 10:29:44 http: Accept error: accept tcp 127.0.0.1:1323: accept: too many open files; retrying in 20ms
2016/05/17 10:29:44 http: Accept error: accept tcp 127.0.0.1:1323: accept: too many open files; retrying in 40ms
2016/05/17 10:29:44 http: Accept error: accept tcp 127.0.0.1:1323: accept: too many open files; retrying in 80ms

-loop...-

Thank you!

from vuls.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.