"Could not figure out which CPU thread 8 should go to" - lwan 0.4 on macOS 10.15.7
herbygillot opened this issue · comments
Herby Gillot commented
lwan
v0.4 is failing to start on macOS Cataline ( 10.15.7 ).
Loading configuration file: /opt/macports-test/etc/lwan/lwan.conf
Using 16 threads, maximum 640 sockets per thread
Listening on http://0.0.0.0:80
Could not figure out which CPU thread 8 should go to
Config file:
# Timeout in seconds to keep a connection alive.
keep_alive_timeout = 15
# Set to true to not print any debugging messages. (Only effective in
# release builds.)
quiet = false
# Value of "Expires" header. Default is 1 month and 1 week.
expires = 1M 1w
# Number of I/O threads. Default (0) is number of online CPUs.
threads = 0
# Disable HAProxy's PROXY protocol by default. Only enable if needed.
proxy_protocol = false
# Enable straitjacket by default. The `drop_capabilities` option is `true`
# by default. Other options may require more privileges.
# straitjacket
listener *:80 {
serve_files / {
path = /opt/macports-test/var/www-lwan
# When requesting for file.ext, look for a smaller/newer file.ext.gz,
# and serve that instead if `Accept-Encoding: gzip` is in the
# request headers.
serve precompressed files = true
}
}
L. Pereira commented
This should've been fixed already. Maybe the brew recipe has to be updated?
…On Thu, Oct 14, 2021, 05:58 Herby Gillot ***@***.***> wrote:
lwan is failing to start on macOS Cataline ( 10.15.7 ).
Loading configuration file: /opt/macports-test/etc/lwan/lwan.conf
Using 16 threads, maximum 640 sockets per thread
Listening on http://0.0.0.0:80
Could not figure out which CPU thread 8 should go to
Config file:
# Timeout in seconds to keep a connection alive.
keep_alive_timeout = 15
# Set to true to not print any debugging messages. (Only effective in
# release builds.)
quiet = false
# Value of "Expires" header. Default is 1 month and 1 week.
expires = 1M 1w
# Number of I/O threads. Default (0) is number of online CPUs.
threads = 0
# Disable HAProxy's PROXY protocol by default. Only enable if needed.
proxy_protocol = false
# Enable straitjacket by default. The `drop_capabilities` option is `true`
# by default. Other options may require more privileges.
# straitjacket
listener *:80 {
serve_files / {
path = /opt/macports-test/var/www-lwan
# When requesting for file.ext, look for a smaller/newer file.ext.gz,
# and serve that instead if `Accept-Encoding: gzip` is in the
# request headers.
serve precompressed files = true
}
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#321>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAADVGPXD36HWCN6VCVYR53UG3HXPANCNFSM5F7TEFHQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
Herby Gillot commented
So this is building in MacPorts, using the 0.4 codebase, via cmake
. I don't see that lwan
has a flag to print its version?
L. Pereira commented
It doesn't, yeah. Let me look into it. (Might take a while as life is
pretty busy around here, though.)
…On Thu, Oct 14, 2021, 08:29 Herby Gillot ***@***.***> wrote:
So this is building in MacPorts, using the 0.4 codebase, via cmake. I
don't see that lwan has a flag to print its version?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#321 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAADVGKF42TOP3OCNLVQD7LUG3ZMHANCNFSM5F7TEFHQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
Herby Gillot commented
No rush, take your time - thank you.