findify / s3mock

Embedded S3 server for easy mocking
MIT License
387 stars 107 forks source link

Shutdown locks forever, JVM does not terminate #135

Open BastianVoigt opened 5 years ago

BastianVoigt commented 5 years ago

Using version 0.2.5

Calling first stop(), then shutdown()

"Thread-20" #60 prio=5 os_prio=0 tid=0x00007f5a88a72000 nid=0x7697 waiting on condition [0x00007f5a6dcee000] java.lang.Thread.State: WAITING (parking) at sun.misc.Unsafe.park(Native Method)

BastianVoigt commented 5 years ago

It also happens when I call shutdown() without calling stop() first

vladimirfx commented 3 years ago

I was hit by this too. Is there any way to force shutdown?

zonk911 commented 3 years ago

we encountered the same issue, we didn't shutdown or stopped explicitly we let the jvm shut it down on its own. this was our solution... the stop or shutdown never returned in our case

tdurtschi commented 2 years ago

We just hit this issue as well nearly 4 years after it was first reported. Is this repo actively maintained?

vladimirfx commented 2 years ago

No, obviously. We migrated to s3proxy