-
找了很多资料都没有找到在Ranch中实现Supervisor类型的连接进程的例子, 传统的Worker方式实现连接进程, 协议模块和连接的管理都是在协议进程中, 一旦协议模块实现有BUG, 会导致客户端连接丢失.
把套接字的管理放到Supervisor 中, 让子进程去处理协议代码, 即使协议代码有问题崩溃, 也不会导致连接断开. 重启进程即可.
不知道能不能给点思路.
我的代码是用 …
-
I would like to have daemon running as root supervise a non-privileged process (running as nobody).
I am running "daemon" like this:
```
daemon --name=myprogram \
--respawn --attempts=1…
-
HA has released a new Supervisor version 2024.10.
I am uncertain how to manually run the update. Can I simply update supervisor by repeating the wge part where the supervisor deb file is downloade…
-
### What did you do that produced an error?
Check runit collector sources:
https://github.com/prometheus-community/go-runit/blob/master/runit/runit.go#L82-L99
### What did you expect to see?
I…
-
Create a simple infrastructure script, maybe [Pulumi](https://www.pulumi.com/) or [Open Tofu](https://opentofu.org/), and set up the entire instance to be equipped to run DiceDB executables.
The scri…
-
### Environment
Provide at least:
* Ruby Version: 3.3.4
* rails (7.2.1)
* semantic_logger (4.16.0)
* rails_semantic_logger (4.17.0)
* solid_queue (0.6.1)
Rails configuration:
```ruby
…
-
### Describe the issue you are experiencing
Copy text from the Terminal window using shift + mouse select no longer copies the selected text into the host system's clipboard.
It used to be possible…
-
These 2 are exactly the same. We should keep only one.
cc @open-telemetry/collector-approvers
-
### Current Behavior
![image](https://github.com/user-attachments/assets/a8fa0b1e-1c92-45ce-985e-d9ceafeb8a54)
All of a sudden jDownloader tells that it cannot connect to update.jdownloader.org
T…
-
Problem
--------
When using `rdbg` with the `--port` option, I encounter an issue when the process forks, leading to the error:
```log
Address already in use - bind(2) for IP:PORT (Errno::EADDRI…