330 - clamd becomes zombie process after some time#563
330 - clamd becomes zombie process after some time#563TairaSayo wants to merge 2 commits intoCisco-Talos:mainfrom
Conversation
…m so database update is finished before clamd starts. Defaulted to 60 seconds, controlled via CLAMD_STARTUP_DELAY
…_NO_FRESHCLAMD set to false
|
@TairaSayo sorry about the delay in reviewing this. I don't think there are any adverse effects to your PR. But I also do not think it solves the problem. My understanding my not be correct. If there's something I'm missing, you're welcome to propose the same or similar change over on our new clamav-docker repository, as we have relocated the Docker-stuff there to make it easier to fix image issues for published versions, will soon remove this Dockerfile. |
Issue happens when new container starts and databases are out of date.
The most likely reason is changes in database during clamd first initialization.
This change would allow freshclam to finish updating the database, by moving its startup before clamd and introducing a delay after.
Defaulted to 60 seconds, controlled via CLAMD_STARTUP_DELAY variable.