Closed Roopsai507 closed 2 months ago
i looked into this briefly using slightly diff. more-up-to-date versions and wasn't reproducing
I tried w/ Firecracker v1.7.0 && eyberg/java:20.0.1 on nanos nightly
can you try w/that and see if you're still seeing what you see?
Have tried with Firecracker v1.7.0 && eyberg/java:20.0.1 Ops Kernel image : d9743ea
Still i am facing the same issue.
can you paste a log of '--trace' running here - perhaps we might see what you are hitting?
also since you state that it works fine w/qemu/ops can you show us
cat /proc/cpuinfo | grep model.name
cat /etc/lsb-release
uname -a
firecracker by default has a lot of capabilities toggled by default, idk what you might be hitting there but that might be something to look at
also - can you tell us where you are running this? in the cloud? locally? inside of another vm?
The issue was resolved when I reinstalled my machine with a higher kernel version. Previously I was using a physical machine with
Kernel-Version : 3.10.0-1160.6.1.el7.x86_64
Os: CentOS 7
Then I changed it to
Kernel-Version: 5.10.178
Os: Debian 11 (bullseye)
It was working fine after this
I have a Java program that schedules a periodic task to run every 10 seconds using a ScheduledExecutorService. When I run the program locally using ops deploy, it works fine, and the task executes as expected, printing a message every 10 seconds.
However, when I start the same program in a Firecracker MicroVM, the scheduler stops after executing the task only 5 to 6 times.
Code Snippet :
Firecracker Version : 1.6.0 Ops Kernel image : d9743ea Java Package : java_1.8.0_191