HOST 1: I got a host running 1 bastille jail and a couple of services (3 or so, nothing heavy) however while ssh'ing into the host and/or jail and listing dirs or editing files, i noticed the host(and/or jail) would randomly hang for a couple seconds.
HOST 2: So i decided to test a different host (more robust machine), and noticed the same problem happens there. I prepared 4 jails, however after i noticed it started hanging, i turned all the jails off. Also, i use gnu-screen to the host to access the jails. And i think i was able to reproduce the hangs, not the random ones, but i noticed when the jail starts and stops the system hangs too.
NOTE: In HOST 1, the jails are running and it hangs randomly (without stopping or starting a jail)
Steps to reproduce:
Looks like the hang is also reprocude by stopping the jail:
What could be the cause of the hangs ? Is this normal ? Maybe happens only with me ?
HOST 2: So i decided to test a different host (more robust machine), and noticed the same problem happens there. I prepared 4 jails, however after i noticed it started hanging, i turned all the jails off. Also, i use gnu-screen to the host to access the jails. And i think i was able to reproduce the hangs, not the random ones, but i noticed when the jail starts and stops the system hangs too.
NOTE: In HOST 1, the jails are running and it hangs randomly (without stopping or starting a jail)
Steps to reproduce:
- open screen (or tmux -- however i havent tested with tmux), create 2 windows in the screen. Go to window 1
- ensure the jail is stopped (sudo bastille stop jailtest)
- Start the jail: sudo bastille console -a jailtest
- immediately press ctlr+a so screen/tmux switches to the other window (This causes a noticeable hang for 1-2 seconds brefore it switches to the second window)
Looks like the hang is also reprocude by stopping the jail:
- The jail is running from previous steps.
- goto (screen/tmux)window#1 and stop the jail: sudo bastille stop jailtest
- then immediately press ctrl+a to switch to the other window
- then wait... it hangs for 10 seconds before switching to the other window
What could be the cause of the hangs ? Is this normal ? Maybe happens only with me ?