Comments (5)
Hi @sunny19930321! I don't understand the question. Could you pls elaborate?
from chproxy.
Hi @sunny19930321! I don't understand the question. Could you pls elaborate?
I don't understand the question. Could you pls elaborate?
./chproxy -config=/path/to/config.yml, this command starts chproxy, can you update the configuration without restarting chproxy?
from chproxy.
Yes. You can send SIGHUP signal via command kill
. Kill command help says:
kill [-s signal_name] pid ...
So we need to send -SIGHUP
signal to the chproxy pid. To get the pid we execute:
pidof chproxy
It should return the ID of the process.
So the full command will be following:
kill -SIGHUP 'pidof chproxy'
After receiving SIGHUP chproxy should print a log message:
SIGHUP received. Going to reload config...
from chproxy.
Yes. You can send SIGHUP signal via command
kill
. Kill command help says:kill [-s signal_name] pid ...
So we need to send
-SIGHUP
signal to the chproxy pid. To get the pid we execute:
pidof chproxy
It should return the ID of the process.So the full command will be following:
kill -SIGHUP 'pidof chproxy'
After receiving SIGHUP chproxy should print a log message:
SIGHUP received. Going to reload config...
Ok, thank you @hagen1778
from chproxy.
Cool! Feel free to reopen if you have questions
from chproxy.
Related Issues (20)
- [Feature] better work with large query responses HOT 7
- timeout for user errors HOT 2
- 可以支持cpu和mem的metrics收集来做负载均衡吗?
- [BUG] Redis password gets exposed in info logs when redis username is empty HOT 1
- [QUESTION] Custom 401 error page?
- [Feature] <Allow overriding values of allowed parameters at runtime>
- [Feature] Change status code to concurrent query failed on cancelled requests HOT 3
- [Feature] Аdd a metric for clickhouse proxy responses HOT 2
- [QUESTION] may be a bug of proxied_response_duration_seconds metric HOT 1
- [QUESTION] why only one replica node in each shard have a high load? HOT 1
- [BUG] host header on requests to ClickHouse HOT 3
- [BUG] fix linter issues
- [Feature] Fallback/backup node
- [BUG] OOM when clickhouse is slow and a lot of insert queries are sent HOT 4
- [Feature] allow log_comment in query parameters
- [QUESTION] Availability of max_query_size Flag in Chproxy HOT 1
- killQuery needs luck with a TCP-balanced cluster
- why disable docker build for arm HOT 3
- [Feature] Weighted round robin load balancing HOT 1
- [QUESTION] Need some more context on cached_response_duration_seconds HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chproxy.