Has anyone ever noticed the commandbox docker imag...
# lucee
j
Has anyone ever noticed the commandbox docker image running extremely slowly? Specifically in podman? I'm running podman on a RHEL 9 host but it seems like all the box commands are extremely slow, like minutes to respond and 30+ minutes to do a full start. I don't see the same behavior when I create a VM myself; the client's VM is the one that is is experiencing this issue. I installed it on 2 separate VMs in the client's infrastructure and experienced the same issue.
b
Not sure. Is there a particular part of it that seems slow (if you're watching the console output) or is everything just generally slow?
j
everything is slow with box... I can bash into the container and do things, but as soon as I run any box command it hangs for minutes until it completes
b
I'd start with the OS's task manager and see what is consuming CPU
That will usually reveal any over-active anti-virus
If no other process but java is using CPU, then I'd start pulling stack traces to see what code is running
j
i saw a couple of times with top that java was over 140% CPU but it's not constant. I also think trying to do box server restart in the container crashes the container. I'm very perplexed...
b
140% CPU doesn't tell me much without knowing how many cores you have 🙂
That's a lot for 2 cores (max 200%) but not a lot for 8 cores (max 800%)
The question wasn't just what Java is up to however, it was to sort of the task list by CPU usage descending and find out what process was doing stuff and whether or not Java was the only process consuming CPU or not
j
very little else was doing anything