Notify_push /client_push 030 Fehler:Error: Redis::get(): Send of 39 bytes failed with errno=32 Broken pipe at /var/www/nextcloud/apps/notify_push/lib/Command/Metrics.php#61

Notify_push/Client Push 030 flutet meine Nextcloud 23 Logdatei mit dem Fehler:
Fehler PHP Error: Redis::exists(): Send of 98 bytes failed with errno=32 Broken pipe at /var/www/nextcloud/lib/private/Memcache/Redis.php#67
{“reqId”:“boCBnIXvVtdAeCPMl3Eb”,“level”:3,“time”:“2022-03-31T09:50:02+02:00”,“remoteAddr”:"",“user”:"–",“app”:“PHP”,“method”:"",“url”:"–",“message”:“Redis::exists(): Send of 98 bytes failed with errno=32 Broken pipe at /var/www/nextcloud/lib/private/Memcache/Redis.php#67”,“userAgent”:"–",“version”:“23.0.3.2”,“exception”:{“Exception”:“Error”,“Message”:“Redis::exists(): Send of 98 bytes failed with errno=32 Broken pipe at /var/www/nextcloud/lib/private/Memcache/Redis.php#67”,“Code”:0,“Trace”:[{“function”:“onError”,“class”:“OC\Log\ErrorHandler”,“type”:"::"},{“file”:"/var/www/nextcloud/lib/private/Memcache/Redis.php",“line”:67,“function”:“exists”,“class”:“Redis”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/Lock/MemcacheLockingProvider.php",“line”:146,“function”:“get”,“class”:“OC\Memcache\Redis”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/Lock/MemcacheLockingProvider.php",“line”:85,“function”:“getExistingLockForException”,“class”:“OC\Lock\MemcacheLockingProvider”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/Files/Storage/Common.php",“line”:753,“function”:“acquireLock”,“class”:“OC\Lock\MemcacheLockingProvider”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php",“line”:610,“function”:“acquireLock”,“class”:“OC\Files\Storage\Common”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/Files/Cache/Scanner.php",“line”:335,“function”:“acquireLock”,“class”:“OC\Files\Storage\Wrapper\Wrapper”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/Files/Cache/LocalRootScanner.php",“line”:39,“function”:“scan”,“class”:“OC\Files\Cache\Scanner”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/Files/View.php",“line”:1349,“function”:“scan”,“class”:“OC\Files\Cache\LocalRootScanner”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/Files/View.php",“line”:1393,“function”:“getCacheEntry”,“class”:“OC\Files\View”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/Files/Node/Root.php",“line”:200,“function”:“getFileInfo”,“class”:“OC\Files\View”,“type”:"->"},{“function”:“get”,“class”:“OC\Files\Node\Root”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/Files/Node/LazyFolder.php",“line”:65,“function”:“call_user_func_array”},{“file”:"/var/www/nextcloud/lib/private/Files/Node/LazyFolder.php",“line”:142,“function”:"__call",“class”:“OC\Files\Node\LazyFolder”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/Files/AppData/AppData.php",“line”:107,“function”:“get”,“class”:“OC\Files\Node\LazyFolder”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/Files/AppData/AppData.php",“line”:179,“function”:“getAppDataFolder”,“class”:“OC\Files\AppData\AppData”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/Preview/BackgroundCleanupJob.php",“line”:91,“function”:“getId”,“class”:“OC\Files\AppData\AppData”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/Preview/BackgroundCleanupJob.php",“line”:77,“function”:“getOldPreviewLocations”,“class”:“OC\Preview\BackgroundCleanupJob”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/Preview/BackgroundCleanupJob.php",“line”:64,“function”:“getDeletedFiles”,“class”:“OC\Preview\BackgroundCleanupJob”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/BackgroundJob/Job.php",“line”:51,“function”:“run”,“class”:“OC\Preview\BackgroundCleanupJob”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php",“line”:58,“function”:“execute”,“class”:“OC\BackgroundJob\Job”,“type”:"->"},{“file”:"/var/www/nextcloud/cron.php",“line”:150,“function”:“execute”,“class”:“OC\BackgroundJob\TimedJob”,“type”:"->"}],“File”:"/var/www/nextcloud/lib/private/Log/ErrorHandler.php",“Line”:92,“CustomMessage”:"–"},“id”:“62455d7c91c9d”}
Das Verhalten ist so schlimm, das redis im Datei Bereich der Nextcloud nicht mehr zuverlässig läuft. Ich bekomme die Meldung das die dateien gelockt sind. Redis-cli zeigt:
root@office:/var/log/redis# redis-cli -s /var/run/redis/redis-server.sock MONITOR
(error) ERR max number of clients reached
Error: Connection reset by peer
Wenn ich die App client_push deaktiviere kann ich wieder normal arbeiten.
root@office:/var/log/redis# service notify_push stop
root@office:/var/log/redis# redis-cli -s /var/run/redis/redis-server.sock MONITOR
OK
Weiss jemand einen Rat?

change maxclients in /etc/redis/redis.conf von 512 —> 10000

ein schuß aus der hüfte

lg

oder sogar noch etwas höher :slightly_smiling_face:

vgl. Nextcloud Installationsanleitung - Carsten Rieger IT-Services

1 Like