Plugin clamd timed out

Issue #623 resolved
Former user created an issue

When try to send attachment over ~10MB i got message plugin timed out. On second attempt it sending succesfully. How to fix it.

2019-03-27T07:13:48.776Z [DEBUG] [core] running data_post hook in clamd plugin
2019-03-27T07:13:48.776Z [DEBUG] [clamd] trying host: /var/run/clamav/clamd.ctl
2019-03-27T07:13:48.776Z [DEBUG] [attachment] closed fd: 48
2019-03-27T07:13:48.777Z [DEBUG] [clamd] connected to host undefined:undefined
2019-03-27T07:13:48.985Z [DEBUG] [attachment] unlinked: /tmp/tmp-19269DI4NbUQ9Ts3Z.tmp
2019-03-27T07:14:18.777Z [CRIT] [core] Plugin clamd timed out on hook data_post - make sure it calls the callback
2019-03-27T07:14:18.777Z [INFO] [core] hook=data_post plugin=clamd function=hook_data_post params="" retval=DENYSOFT msg="plugin timeout"
2019-03-27T07:14:18.777Z [DEBUG] [core] running deny hooks
2019-03-27T07:14:18.777Z [DEBUG] [core] running deny hook in guard plugin
2019-03-27T07:14:18.777Z [DEBUG] [core] hook=deny plugin=guard function=hook_deny params=903 retval=CONT msg=""
2019-03-27T07:14:18.778Z [DEBUG] [core] running deny hook in watch plugin
2019-03-27T07:14:18.778Z [DEBUG] [watch] watch deny saw: clamd deny from data_post
2019-03-27T07:14:18.778Z [DEBUG] [watch] watch sending dark red to clamd
2019-03-27T07:14:18.778Z [DEBUG] [core] hook=deny plugin=watch function=w_deny params=903 retval=CONT msg=""
2019-03-27T07:14:18.778Z [NOTICE] [core] message mid=<981fd528-df05-bf84-376d-a6b107f72c85@lubmedical.pl> size=23856683 rcpts=1/0/0 delay=30.003 code=DENYSOFT msg="plugin timeout"
2019-03-27T07:14:18.778Z [PROTOCOL] [core] S: 450 plugin timeout

Comments (3)

  1. Log in to comment