OC 9.1.1, High CPU usage, many scanner.php error on logs

known_app_bug
9.1.x
help

#1

Please help us by providing the following info. Before posting please also check the pinned "Known issues" threads and make sure that you're running the latest available version for your oC release: https://owncloud.org/changelog/

Steps to reproduce
1. at random time cron job (*/15 * * * * php -f /var/www/html/cron.php) put this to 100% CPU usage

Actual behaviour
at random time cron job (*/15 * * * * php -f /var/www/html/cron.php) put this to 100% CPU usage
on owncloud.logs i see many many many of these identical error:

{"reqId":"Xg25zASMVhH\/1WB78rqc","remoteAddr":"","app":"PHP","message":"fwrite(): send of 1028 bytes failed with errno=32 Broken pipe at \/var\/www\/html\/apps\/files_antivirus\/lib\/scanner.php#67","level":3,"time":"November 16, 2016 09:50:25","method":"--","url":"--","user":"MioUtente"}

Server configuration
Operating system: Ubuntu 16.04.1 LTS
Web server: Apache 2.4.18
Database: MariaDB 10.1.19
PHP version: 7.0.13
ownCloud version (see ownCloud admin page): 9.1.1
Updated from an older ownCloud or fresh install: fresh install

ownCloud log (data/owncloud.log)

{"reqId":"Xg25zASMVhH\/1WB78rqc","remoteAddr":"","app":"PHP","message":"fwrite(): send of 1028 bytes failed with errno=32 Broken pipe at \/var\/www\/html\/apps\/files_antivirus\/lib\/scanner.php#67","level":3,"time":"November 16, 2016 09:50:25","method":"--","url":"--","user":"MioUtente"}
{"reqId":"Xg25zASMVhH\/1WB78rqc","remoteAddr":"","app":"PHP","message":"fwrite(): send of 1028 bytes failed with errno=32 Broken pipe at \/var\/www\/html\/apps\/files_antivirus\/lib\/scanner.php#67","level":3,"time":"November 16, 2016 09:50:25","method":"--","url":"--","user":"MioUtente"}
{"reqId":"Xg25zASMVhH\/1WB78rqc","remoteAddr":"","app":"PHP","message":"fwrite(): send of 1028 bytes failed with errno=32 Broken pipe at \/var\/www\/html\/apps\/files_antivirus\/lib\/scanner.php#67","level":3,"time":"November 16, 2016 09:50:25","method":"--","url":"--","user":"MioUtente"}
{"reqId":"Xg25zASMVhH\/1WB78rqc","remoteAddr":"","app":"PHP","message":"fwrite(): send of 1028 bytes failed with errno=32 Broken pipe at \/var\/www\/html\/apps\/files_antivirus\/lib\/scanner.php#67","level":3,"time":"November 16, 2016 09:50:25","method":"--","url":"--","user":"MioUtente"}
{"reqId":"Xg25zASMVhH\/1WB78rqc","remoteAddr":"","app":"PHP","message":"fwrite(): send of 1028 bytes failed with errno=32 Broken pipe at \/var\/www\/html\/apps\/files_antivirus\/lib\/scanner.php#67","level":3,"time":"November 16, 2016 09:50:25","method":"--","url":"--","user":"MioUtente"}
{"reqId":"Xg25zASMVhH\/1WB78rqc","remoteAddr":"","app":"PHP","message":"fwrite(): send of 1028 bytes failed with errno=32 Broken pipe at \/var\/www\/html\/apps\/files_antivirus\/lib\/scanner.php#67","level":3,"time":"November 16, 2016 09:50:25","method":"--","url":"--","user":"MioUtente"}
{"reqId":"Xg25zASMVhH\/1WB78rqc","remoteAddr":"","app":"PHP","message":"fwrite(): send of 1028 bytes failed with errno=32 Broken pipe at \/var\/www\/html\/apps\/files_antivirus\/lib\/scanner.php#67","level":3,"time":"November 16, 2016 09:50:25","method":"--","url":"--","user":"MioUtente"}
{"reqId":"Xg25zASMVhH\/1WB78rqc","remoteAddr":"","app":"PHP","message":"fwrite(): send of 1028 bytes failed with errno=32 Broken pipe at \/var\/www\/html\/apps\/files_antivirus\/lib\/scanner.php#67","level":3,"time":"November 16, 2016 09:50:25","method":"--","url":"--","user":"MioUtente"}
{"reqId":"Xg25zASMVhH\/1WB78rqc","remoteAddr":"","app":"PHP","message":"fwrite(): send of 1028 bytes failed with errno=32 Broken pipe at \/var\/www\/html\/apps\/files_antivirus\/lib\/scanner.php#67","level":3,"time":"November 16, 2016 09:50:25","method":"--","url":"--","user":"MioUtente"}
{"reqId":"Xg25zASMVhH\/1WB78rqc","remoteAddr":"","app":"PHP","message":"fwrite(): send of 1028 bytes failed with errno=32 Broken pipe at \/var\/www\/html\/apps\/files_antivirus\/lib\/scanner.php#67","level":3,"time":"November 16, 2016 09:50:25","method":"--","url":"--","user":"MioUtente"}
{"reqId":"Xg25zASMVhH\/1WB78rqc","remoteAddr":"","app":"PHP","message":"fwrite(): send of 1028 bytes failed with errno=32 Broken pipe at \/var\/www\/html\/apps\/files_antivirus\/lib\/scanner.php#67","level":3,"time":"November 16, 2016 09:50:25","method":"--","url":"--","user":"MioUtente"}

Integrity status for oC9+

- INVALID_HASH:
    - .htaccess:
      - expected: ab5f4c44ba2f9c66f2ed25c3ad3d84660b2808cca11ffa8fe2778a648a054d8ada495a0bf4715dc873aac1efe8dfd92a72f9a24441d8f5240834e639325fd892
      - current: 8007683b25edf6c01e440da463c2c7e9e31696f633b1c9bbe5444dfa02d2f0376d80c882ca77dd3c79174c82e83f98489f667d11e5ac54ffa6998d2173303a36

#2

Hi,

in general please report issues with specific apps directly to the app developer. For this specific issue an existing report seems to be available here:

Edit

There seems to be even a patch available to test: