JoeDog / siege

Siege is an http load tester and benchmarking utility
GNU General Public License v3.0
5.95k stars 387 forks source link

[error] unable to set close control sock.c:141: Invalid argument #149

Closed yasohasakii closed 5 years ago

yasohasakii commented 5 years ago

the error raised when I run$ siege -c1 -r1 www.baidu.com, as you see,I get the information as below:

** SIEGE 4.0.4

**Preparing 1 concurrent users for battle.

The server is now under siege...[error] unable to set close control sock.c:141: Invalid argument

[error] unable to set close control sock.c:141: Invalid argument

[error] unable to set close control sock.c:141: Invalid argument

[error] unable to set close control sock.c:141: Invalid argument

[error] unable to set close control sock.c:141: Invalid argument

[error] unable to set close control sock.c:141: Invalid argument

[error] unable to set close control sock.c:141: Invalid argument

[error] unable to set close control sock.c:141: Invalid argument

kennyqqr commented 5 years ago

Same message on my centos. Do I need to install some dependencies for it?

OS version: CentOS Linux release 7.6.1810 (Core) Siege version: 4.0.2

mrodal commented 5 years ago

Im getting the same on WSL

JoeDog commented 5 years ago

I'm not having an issue with that site above:

mintty screen dump

lccns344 $ siege -c1 -r1 www.baidu.com ** SIEGE 4.0.4rc3

                       ** Preparing 1 concurrent users for battle.

 The server is now under siege...
                                                  HTTP/1.1 200

1.67 secs: 153024 bytes ==> GET / HTTP/1.1 200 0.32 secs: 1131 bytes ==> GET /baidu.html?from=noscript HTTP/1.1 200 0.33 secs: 91 bytes ==> GET /img/gs.gif HTTP/1.1 200 0.81 secs: 15629 bytes ==> GET /5eN1bjq8AAUYm2zgoY3K/r/www/cache/bdorz/baidu.min.css HTTP/1.1 200 2.78 secs: 93750 bytes ==> GET /r/www/cache/static/jquery/jquery-1.10.2.min_65682a2.js HTTP/1.1 200 0.31 secs: 6511 bytes ==> GET /img/baidu_resultlogo@2.png HTTP/1.1 200 0.37 secs: 705 bytes ==> GET /img/baidu_jgylogo3.gif HTTP/1.1 200 0.30 secs: 7877 bytes ==> GET /img/bd_logo1.png?qua=high HTTP/1.1 200 0.32 secs: 7877 bytes ==> GET /img/bd_logo1.png

                       Transactions:                      9 hits

 Availability:                 100.00 %
                                                  Elapsed time:
           7.23 secs
                            Data transferred:               0.27

MB Response time: 0.80 secs

Transaction rate: 1.24 trans/sec Throughput: 0.04 MB/sec Concurrency: 1.00

 Successful transactions:           9
                                                  Failed

transactions: 0 Longest transaction: 2.78 Shortest transaction: 0.30

I would suggest you re-run configure and look for any dependency issues.

On Wed, Mar 27, 2019 at 2:05 PM Matias Rodal notifications@github.com wrote:

Im getting the same on WSL

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/JoeDog/siege/issues/149#issuecomment-477284295, or mute the thread https://github.com/notifications/unsubscribe-auth/AFMT5hRaUjf3DI5YVtWRsx-Nar2t-Frjks5va7LOgaJpZM4Z8dW1 .

kyleabu commented 5 years ago

Getting the same error

0xAsuka commented 5 years ago

wsl? if yes, i think this is problem on wsl. i just test on my ubuntu (dual boot) and it is normal. but i got same error on wsl.

VittorioZinno commented 5 years ago

yes, wsl is a problem

ephost commented 5 years ago

I am getting the same on WSL. It seems to still work and make requests. Is that correct?

JoeDog commented 5 years ago

Are using software that you compiled or did you download a binary version?

On Tue, Sep 24, 2019 at 9:02 PM Joe Rebis notifications@github.com wrote:

I am getting the same on WSL. It seems to still work and make requests. Is that correct?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/JoeDog/siege/issues/149?email_source=notifications&email_token=ABJRHZSNBSHL5NEQGDUC32TQLK2ATA5CNFSM4GPR2W22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7QH2TQ#issuecomment-534805838, or mute the thread https://github.com/notifications/unsubscribe-auth/ABJRHZTGLI76HRT4JQK6EBLQLK2ATANCNFSM4GPR2W2Q .

ephost commented 5 years ago
    Jeff,

If I recall correctly I downloaded Siege and compiled. I did have to update WSL. I am not sure if I was supposed to ever ‘apt-get  update’ WSL but it seemed the only way to get Siege working with OpenSSL. Joe

    CEO, EPhost, Inc. rebis@ephost.com858-433-2818 x101https://www.ephost.com

On Wed, Sep 25, 2019 at 7:10 AM -0700, "Jeff Fulmer" notifications@github.com wrote:

Are using software that you compiled or did you download a binary version?

On Tue, Sep 24, 2019 at 9:02 PM Joe Rebis notifications@github.com wrote:

I am getting the same on WSL. It seems to still work and make requests. Is

that correct?

You are receiving this because you commented.

Reply to this email directly, view it on GitHub

https://github.com/JoeDog/siege/issues/149?email_source=notifications&email_token=ABJRHZSNBSHL5NEQGDUC32TQLK2ATA5CNFSM4GPR2W22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7QH2TQ#issuecomment-534805838,

or mute the thread

https://github.com/notifications/unsubscribe-auth/ABJRHZTGLI76HRT4JQK6EBLQLK2ATANCNFSM4GPR2W2Q

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

pcgeek86 commented 4 years ago

I'm getting the same error on Windows Subsystem for Linux (WSL) running Ubuntu 20.04 Focal Fossa. Seems like requests are still going through, however.

shrutijha-ms commented 2 years ago

Was this error issue resolved on wsl? I am still getting it on running siege on wsl Ubuntu 20.04.4 (wsl version 1).

JoeDog commented 2 years ago

Probably not. I have no way of debugging this environment

On Sun, Jun 19, 2022, 8:21 AM shrutijha-ms @.***> wrote:

Was this error issue resolved on wsl? I am still getting it on running siege on wsl (version 1).

— Reply to this email directly, view it on GitHub https://github.com/JoeDog/siege/issues/149#issuecomment-1159710264, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJRHZQMDIEWVR3X7HKPLELVP4GFRANCNFSM4GPR2W2Q . You are receiving this because you commented.Message ID: @.***>