Closed pprw closed 3 years ago
Pages are unresponsive only when logged.
(node:26745) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 12 uncaughtException listeners added to [process]. Use emitter.setMaxListeners() to increase limit
It is possible nodejs error, what version are you using?
I am using:
$ node -v
v12.22.6
I have another instance which run v12.22.2 and works fine.
I will try to upgrade to v14.
I am now running nodejs v14.18.0 and I launched:
cd /var/www/peertube/versions/peertube-v3.4.0 && sudo -H -u peertube yarn install --production --pure-lockfile
The problem is still there.
I also tried to reinstall nodejs modules with:
sudo -H -u peertube rm -rf node_modules client/node_modules && sudo -H -u peertube yarn install --pure-lockfile
no changes
I removed every plugins and themes and the bug is gone!
I had installed :
@pprw Sure, when you do an installation, you have to delete the modules folder
I upgraded peertube from 3.2.1 to 3.4.0 using the manual method.
When restart peertube, I have this message:
(node:26745) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 12 uncaughtException listeners added to [process]. Use emitter.setMaxListeners() to increase limit
I can access the instance but it is now unresponsive. Both firefox and chromium warn me the page is unresponsive.
I reproduced configuration changes for
nginx (no changes except increasingmax image/caption/torrent upload size to 4MB)
systemd (removed two lines)