threefoldtech / zinit

A init replacement that feels like runit written in rust+tokio
Apache License 2.0
9 stars 1 forks source link

zinit issue with js-ng #39

Open waleedhammam opened 2 years ago

waleedhammam commented 2 years ago

latest version doesn't work with jsng with this stacktrace: https://gist.github.com/waleedhammam/a9f6a03b3637281e865435f39c5a8229

first version works ok

muhamadazmy commented 2 years ago

Can you explain what is the problem :

waleedhammam commented 2 years ago

@muhamadazmy the issue was in starting 3Bot server after some digging it's trying to execute command here certbot plugins via invoke library in python. But it's running in gevent greenlet.

running the command directly in the shell works ok

I think the problem is with gevent in making threads or greenlets while zinit manages it. maybe it's in zinit because zinit v0.1 is working ok, but the problem is with the latest version, can for example limiting cpu threads or so ?