Is there any way in nodebb to see the log for each request? I find the ./nodebb log
gives rare information.
xidui
Posts
-
how can nodebb print log according to each request -
How can I stop subcategory to show at home pageIn a parent category I have plenty of subcategories, larger than 100. If show all of them at home page, It looks ugly.
-
socket.io log flooding@xidui said in socket.io log flooding:
I added this config:
"socket.io": { "transports": ["websocket"] }
The flooding error seems less than before. But still need to monitor over several days.
The performance seems better after I applied this change in config.
-
Behaviors before change:
- Most of the logs are
io emit timeout
orio emit transport close
. Only very rare portion (less than 10 percent) of requests successfully processed. - Every time I restart the site it can not response for about 5 minutes or longer even I see in the log that process has already listened to 4567.
- Some of the
socket.io/EIO?xxxx
requests failed at client side.
- Most of the logs are
-
Behaviors after change:
- No
io emit timeout
was found ever io emit transport close
still exists, about 50% or less at peak hour and 10% at valley hour.- The site is fast enough at peak hour and it can recover quickly even I restart.
- None of the requests failed at client side.
- No
@administrators
I think my issue has accidentally and surprisingly solved by this small change temporarily. I wonder why and is this config recommended or["polling", "websocket"]
is better? And do you have some idea on the root cause of the issue when I use["polling", "websocket"]
? -
-
Can I sort topics by votes or views or date?We have made this plugin. Try it and having fun~
https://github.com/wktang/nodebb-plugin-category-sort-by-votes -
mongodb always down