Unanswered question

Installing Neoload on AWS Linux ?

I'm trying to use the same docker-compose file to install Neoload Web on Linux RedHat 7 and on Amazon Linux.

While on RedHat it start every container and works fine (even whith some errors in logs).

Meanwhile in AWS my container nlweb-backend keep crashing whith this kind of logs (see in attachments).

What I've seen from now is :

  • When i'm connecting to my nlweb-backend container on RedHat 7 use the command ulimit -n i get the output : 1048576. While on the server running the container the same command output is : 1024.
  • On my nlweb-backend container on Amazon Linux I get with the same command the output is : 1024 and on the server running the container i get the same output.

Could it be the problem why my nlweb-backen keep restarting ? And Is there a fix to this problem ?

Thank you.

Aurélien P.
Aurélien P.

Aurélien P.

Level
0
15 / 100
points

Answers

Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

It looks like you need to increase the open file limit?

As a root user add the following lines to the /etc/security/limits.conf file:

  • hard nofile 65536
  • soft nofile 65536
  • hard nproc 10000
  • soft nproc 10000

Restart the Linux system after the configuration files are modified.
An individual user can increase the limits within a running shell with the following commands:

ulimit -n 65536
ulimit -u 10000

Aurélien P.
Aurélien P.

Aurélien P.

Level
0
15 / 100
points

I've solve the problem by setting directly into the neoload-web docker-compose.yaml those configurations for my nlweb-backend container without edinting limits.conf from my server host.

Thank for your help.