D
D
danforth2016-10-31 02:00:50
linux
danforth, 2016-10-31 02:00:50

Siege + vagrant: how to fix the error?

Hello!
I took a VPS for a test to practice administration. Raised nginx + php7.0-fpm + mysql server, installed Wordpress, first decided to compare caching plugins.
For fun, I ran siege from the same VPS where wordpress is installed, although this is not correct. Everything is ok, even with the -c 200 flag. Then I decided to go further and installed vagrant with xenial64 on a PC (other), where I installed siege. This is where the problem arose: for some reason, on a PC, when starting the test in the terminal, it starts to pour an error:

[error] socket: read error Connection reset by peer sock.c:479: Connection reset by peer
[error] socket: read error Connection reset by peer sock.c:479: Connection reset by peer
[error] socket: read error Connection reset by peer sock.c:479: Connection reset by peer
[error] socket: read error Connection reset by peer sock.c:479: Connection reset by peer
...

The load is growing (I watch top via SSH on the VPS), but testing quickly ends with an error. Can you tell me how to fix this problem? The problem manifests itself even with the -c 1 switch.
Thank you!
upd: siege is run as root.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question