-
Notifications
You must be signed in to change notification settings - Fork 387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Siege zip encoding disable with zlib installed on mac installed via brew #94
Comments
I need to implement this better. It's compile-time dependent on zlib.
Thanks for the heads-up.
Regards,
J.
…On Wed, Jan 4, 2017 at 4:42 PM, Cory Logan ***@***.***> wrote:
I've figured this out, but I think maybe it should be documented
somewhere, so consider this a request for documentation.
I'm getting Zip encoding disabled; siege requires zlib support to enable
it warning when running siege. To fix this:
brew uninstall siege
brew install zlib
brew install --build-from-source siege
Thanks for the great tool!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#94>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFMT5lGP7Hag7dsSDPEjWs0IiPmKQlneks5rPBJZgaJpZM4LbGUf>
.
|
No problem, thanks for all of the work on this. Seige is super handy, and now at least the problem is google-able. 👍 It just helped me debug some server side caching issues. |
I'm glad you like it.
J.
…On Wed, Jan 4, 2017 at 6:23 PM, Cory Logan ***@***.***> wrote:
No problem, thanks for all of the work on this. Seige is super handy, and
now at least the problem is google-able. 👍
It just helped me debug some server side caching issues.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#94 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AFMT5tO1E1xW2ODaF50FYTqyzIY8eKFzks5rPCnYgaJpZM4LbGUf>
.
|
unfortunately that fix w/
any other suggestions how to fix it? |
How is it failing?
…On Thu, Jan 5, 2017 at 8:00 AM, Alexander Bykhov ***@***.***> wrote:
unfortunately that fix w/ --build-from-source doesn't work for me:
siege 4.0.2
zlib 1.2.8
macOS 10.12.2
any other suggestions how to fix it?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#94 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AFMT5l6Aw4Jsoih2geYo0LaXD5sSZQs-ks5rPOlmgaJpZM4LbGUf>
.
|
@JoeDog it shows output like this and no results:
|
@JoeDog or without
and it is hanging, no results as well. |
This MacOS, right?
That hanging with no result seems to occur a lot on MacOS and I don't have
a Mac to test it on. (I suspect it has something to do with signalling
there. You can get around that problem by scheduling repetitions instead of
time, i.e., siege -c10 -r10 http://localhost:3000/
For the build portion, I need to see what happens when you run ./configure
(It must not be finding your library; where is zlib.h installed)
…On Thu, Jan 5, 2017 at 1:43 PM, Alexander Bykhov ***@***.***> wrote:
@JoeDog <https://github.com/JoeDog> or without -q it looks like this:
> siege -c10 -t10s http://localhost:3000
[alert] Zip encoding disabled; siege requires zlib support to enable it
** SIEGE 4.0.2
** Preparing 10 concurrent users for battle.
The server is now under siege...
HTTP/1.1 200 1.60 secs: 227220 bytes ==> GET /
HTTP/1.1 200 1.60 secs: 227220 bytes ==> GET /
HTTP/1.1 200 1.60 secs: 227220 bytes ==> GET /
HTTP/1.1 200 1.60 secs: 227220 bytes ==> GET /
HTTP/1.1 200 1.60 secs: 227220 bytes ==> GET /
HTTP/1.1 200 1.61 secs: 227220 bytes ==> GET /
HTTP/1.1 200 1.61 secs: 227220 bytes ==> GET /
HTTP/1.1 200 1.61 secs: 227220 bytes ==> GET /
HTTP/1.1 200 9.14 secs: 227220 bytes ==> GET /
HTTP/1.1 200 9.14 secs: 227220 bytes ==> GET /
Lifting the server siege...
and it is hanging, no results as well.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#94 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AFMT5mPtFSIDkGHKws99F7ATXx_O4TAoks5rPTnmgaJpZM4LbGUf>
.
|
Just to keep this thread going. Both of these issues are still occurring on MacOS 10.12.3 with latest brew installed. The two issues:
Thanks! |
confused by the same problem |
Same issue on macOS 10.12.2. I have the
|
I had similar issues on macOS 10.12.4, where server never finish it's run. After following reinstall instructions in original post, i noticed some warnings about |
same as @anotheri |
I managed to stop getting the zlib warning with a combination of xcode-select --install and updating the TIME_WAIT to 1 second, but I still get a 400 error on my JSON POST test. Sending the JSON over with Postman works just fine. |
I followed the instructions and worked nicely for me. Thanks Joe for this great tool. Note to @pwaldo2 : I am executing a json POST without warnings.
|
Didn't worked for me too on OSX |
encountering the same problem on OS Mojave , Version 10.14.2 (18C54) |
Was encountering the same issues as @jonthemiller noted. Found a potential solution on another projects thread. tl;dr Xcode command line tools no longer includes the header files. To install them run: sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target / After doing so I rebuilt from source with the following output: checking for zlib support... yes
checking /include/zlib.h usability... no
checking /include/zlib.h presence... no
checking for /include/zlib.h... no
checking /usr/include/zlib.h usability... yes
checking /usr/include/zlib.h presence... yes
checking for /usr/include/zlib.h... yes
checking for ZLIB version... checking for inline... inline Note: I am not using |
I've had to install zlib via
Works as expected after this modification, and installation with |
confirmed Homebrew/homebrew-core#37342 solves zlib related issue |
I've opened #152 to improve the configure check so it can find macOS's builtin zlib. |
I've figured this out, but I think maybe it should be documented somewhere, so consider this a request for documentation.
I'm getting
Zip encoding disabled; siege requires zlib support to enable it
warning when running siege. To fix this:Thanks for the great tool!
The text was updated successfully, but these errors were encountered: