threefoldtech/zinit

zinit issue with js-ng

Opened this issue · 2 comments

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

first version works ok

Can you explain what is the problem :

  • What exactly the code was trying to do when it crashed.
  • It says inappropriate ioctl for device. What device? and what was the ioctl operation
  • Why you think this is a zinit issue? it's obviously a program issue trying to do an ioctl call (usually filesystem operation)
  • If I have to take a guess I would say it's a filesystem issue. Not zinit

@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 ?