kuasar-io / kuasar

A multi-sandbox container runtime that provides cloud-native, all-scenario multiple sandbox container solutions.
https://kuasar.io
Apache License 2.0
1.27k stars 91 forks source link

fix bug,channel receiver in debug is blocked by self io #137

Open zmrush opened 5 months ago

zmrush commented 5 months ago

channel receiver in wait_pid function would be blocked by self io opertion

zmrush commented 5 months ago

@Burning1020 ,can u help for this commit

Burning1020 commented 5 months ago

@zmrush How did you exec into the vm? There is no keywords when connected to hvsock until input CONNECT 1025.

zmrush commented 5 months ago

@zmrush How did you exec into the vm? There is no keywords when connected to hvsock until input CONNECT 1025.

i dont understand your question. but i think exec into vm has nothing to do with 'input connect 1025 using the io'. In other words, it has already exec into the vm?

zmrush commented 5 months ago

@zmrush How did you exec into the vm? There is no keywords when connected to hvsock until input CONNECT 1025.

i dont understand your question. but i think exec into vm has nothing to do with 'input connect 1025 using the io'. In other words, it has already exec into the vm?

@Burning1020

Burning1020 commented 5 months ago

@zmrush Sorry, maybe I was misunderstood. So what's the specific problem you got? What's the influence of blocking receiver? Please give more details.

zmrush commented 5 months ago

@zmrush Sorry, maybe I was misunderstood. So what's the specific problem you got? What's the influence of blocking receiver? Please give more details.

@Burning1020 blocking receiver may cause memory increase unexpectedly.

Burning1020 commented 5 months ago

@Burning1020 blocking receiver may cause memory increase unexpectedly.

OK, so how to reproduce it? I'd like to investigate it