Lucee on docker not responding

Hi,

I have Lucee (version 5) docker on a Ubuntu 16.04 box running fine for quite a while. This morning, I was doing some coding, all of a sudden, the Lucee server is not responding while my web browser indicates “waiting for …”, just hangs. What could cause this problem? Java heap or ?

I ran
watch -n 5 free -m to check memory usage and got the following:

              total        used        free      shared  buff/cache   available
Mem:           3951        2387         125          58        1438        1185
Swap:             0           0           0

Memory seems all right, right?

How to fix it?
Thanks.

Which exact version of Lucee and java?

Lucee 4.5.5.015 and java
openjdk version “1.8.0_222”
OpenJDK Runtime Environment (build 1.8.0_222-8u222-b10-1ubuntu1~16.04.1-b10)
OpenJDK 64-Bit Server VM (build 25.222-b10, mixed mode)

thanks

i’m gonna sound like a broken record, why not use a modern version of Lucee?

4.5 is truly ancient, end of life and there have been years of bug fixes, tuning and improvements to Lucee since it was released.

1 Like

free won’t let you know if the Java heap is full… Best way to see that would be with Fusionreactor… Barring that, check the logs for the container and see if you’re throwing OutOfMemoryException lines.

You can use top to see what the actual java process is using for memory (VIRT and Resident MEM) but that can be misleading - java will reserve memory freely but is less likely to free it up.

2 Likes

“check the logs for the container and see if you’re throwing OutOfMemoryException lines”, thank you for the excellent advice.

fyi, then, the server resolved it itself.

1 Like