Answered question

neoload.LG: Can't get CPU/Network/TCP info java.lang.RuntimeException: Cannot open file '/proc/stat'.

When I am running the test I get 'NL-Network-01' error which says too many files open after 2 minutes of test start.

In logs I can see below error-

  • neoload.LG: Can't get CPU/Network/TCP info java.lang.RuntimeException: Cannot open file '/proc/stat'.
  • The kernel needs to be compiled with support
    for /proc filesystem enabled
    at com.neotys.nl.controller.j.b.b(b.java:113)
    at com.neotys.nl.controller.j.b.a(b.java:53)
    at com.neotys.nl.controller.j.b.c(b.java:138)
    at com.neotys.nl.controller.j.e.c(e.java:43)
    at com.neotys.nl.controller.q.ab.c(ab.java:61)
    at com.neotys.nl.controller.q.ab.a(ab.java:129)
    at com.neotys.nl.lg.LoadGenerator.B(LoadGenerator.java:1532)
    at com.neotys.nl.lg.m.c(m.java:602)
    at com.neotys.nl.lg.m.handleRequest(m.java:156)
    at com.neotys.nl.common.net.AbstractConnection.handleRequest(AbstractConnection.java:86)
    at com.neotys.nl.common.net.BidirectionalConnection$RequestHandlerThread.run(BidirectionalConnection.java:233)

    I tried below seeting but it did not help-

    neoload soft nofile 4092
    neoload hard nofile 65534

    Please suggest.

Anshika K.
Anshika K.

Anshika K.

Level
0
26 / 100
points
Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

This error is related to the internal monitoring of the load generator. It does not impact your load test at all. If you still have the too many open files error then either you did not configure correctly your LG or the script is creating too many connections in a very short period of time.

You can see the current ulimit settings in the LG logs to make sure that your modifications were correctly applied.

Did you find this useful ?

No (0)

Yes (0)

0% of users found this answer useful