issues
search
journeymidnight
/
yig
An open source object storage server with Amazon S3 compatible API
Apache License 2.0
360
stars
86
forks
source link
Graceful shutdown and log-rotate
#297
Closed
cannium
closed
4 years ago
cannium
commented
4 years ago
use SO_REUSEPORT and SO_REUSEADDR to allow multiple yig running at the same time
also adjust log file names
memorize concurrent request number, when stopping, wait until the number reduced to 0
use signal to trigger reopening log file for log rotate
I'll make it more graceful after kernel version is updated.
I'll make it more graceful after kernel version is updated.