Comments (19)
Oh wow, that's brutal. I'm seeing the same thing. Going to diagnose.
from patchwork.
does scuttlebot have the same thing? if so can you disable plugins until it goes away?
from patchwork.
thats what I'm going to try, starting with the gossip plugin
from patchwork.
It's the animated gifs and webms. In ./ui/lib/markdown.js#renderer.image
you can disable the embeds and resolve the issue completely.
The animated gifs are separate from webms, and they are just as intensive. (I'm able to test this thanks to david's p2p gif.)
from patchwork.
Yeah, it's the animation. Pausing the videos and hiding the gifs solves it. (Thankfully, setting visibility to hidden fixes the gifs, so the layout wont have to reflow.)
I'll have to watch element visibility and enable/disable as you scroll (darn!)
from patchwork.
fixed in f929c75
from patchwork.
I'm still seeing this:
from patchwork.
@gardner what version are you on? I'm trying to figure out what causes this. but am having trouble reproducing.
from patchwork.
@gardner this is an old thread, that correctly diagnosed a different CPU over-use bug in the Patchwork frontend. We're working on what you're experiencing now
from patchwork.
scuttlebot@drinkbot:~$ sbot version
7.5.2
Should I open a new issue for this? I don't seem to get anything useful when I run it under the profiler...
note @kOK REPL @uRECWB4KIeKoNMis2UYWyB2aQPvWmS3OePQvBj2zClg=.ed25519 success
"Feeds updated: 1, New messages: 1"
note @kOK REPL @hGd3sjghbrkVaFEMUrXV11m2oyKLfLqJQcadvapH02w=.ed25519 success
"Feeds updated: 1, New messages: 1"
note @kOK REPL @hGd3sjghbrkVaFEMUrXV11m2oyKLfLqJQcadvapH02w=.ed25519 success
"Feeds updated: 1, New messages: 1"
note @kOK REPL @0GLMsG6IgXdv+GjG0U5UnZlwxHnomlfmrlWugx8i4dg=.ed25519 success
"Feeds updated: 1, New messages: 1"
note @kOK REPL @hxGxqPrplLjRG2vtjQL87abX4QKqeLgCwQpS730nNwE=.ed25519 success
"Feeds updated: 1, New messages: 1"
note @kOK REPL @/02iw6SFEPIHl8nMkYSwcCgRWxiG6VP547Wcp1NW8Bo=.ed25519 success
"Feeds updated: 1, New messages: 1"
note @kOK REPL @uRECWB4KIeKoNMis2UYWyB2aQPvWmS3OePQvBj2zClg=.ed25519 success
"Feeds updated: 1, New messages: 1"
note @kOK REPL @uRECWB4KIeKoNMis2UYWyB2aQPvWmS3OePQvBj2zClg=.ed25519 success
"Feeds updated: 1, New messages: 1"
Device sleep detected, triggering pub sync
Device sleep detected, triggering pub sync
Device sleep detected, triggering pub sync
Device sleep detected, triggering pub sync
Device sleep detected, triggering pub sync
Device sleep detected, triggering pub sync
Device sleep detected, triggering pub sync
Device sleep detected, triggering pub sync
Device sleep detected, triggering pub sync
Device sleep detected, triggering pub sync
Device sleep detected, triggering pub sync
Device sleep detected, triggering pub sync
Device sleep detected, triggering pub sync
Device sleep detected, triggering pub sync
from patchwork.
BTW this is running on a VPS and was installed via npm install
.
uname -a
Linux drinkbot 2.6.32-042stab113.11 #1 SMP Fri Dec 18 17:32:04 MSK 2015 x86_64 x86_64 x86_64 GNU/Linux
from patchwork.
Let's say ssbc/ssb-server#270 is our canonical thread for backend CPU usage issues
from patchwork.
@gardner we had a bug in the quota system.. we are still deciding what to do about this, but for now if you run sbot in "party" mode, it will disable that, and shouldn't have this problem. ssb_party=1 sbot server
will do it.
from patchwork.
or set "party": true
in ~/.ssb/config
from patchwork.
I'm not sure if the party is happening. Is the .ssb/config
file a json file?
scuttlebot@stormcloud:~$ cat .ssb/config
"party": true
scuttlebot@stormcloud:~$
from patchwork.
@gardner config is a JSON file, it should be
{"party": true}
from patchwork.
note, you need to be running at least [email protected] for this party mode to work.
from patchwork.
Thanks guys! {"party": true}
in my config file has fixed the cpu utilization problem that I was having. This process has been running for 2 days and only utilized 3.5 hours cpu:
from patchwork.
That's good to hear, thanks for the update
from patchwork.
Related Issues (20)
- Deprecate depject (PoC) HOT 2
- Error on `npm start` from clean build on NixOS HOT 4
- Difficult to understand Pub Invite Error
- The Appimage client for aarch64 does not work on Manjaro-arm HOT 3
- Problem rendering image with single emoji as alt-text
- Deprecate electron-spellchecker HOT 2
- Build release pipeline with GH actions
- Allow automatic builds on arm/arm64
- Linking to a tag only shows its root message as json
- The Gateway seems not to work HOT 2
- The yarn build for arm64 does not produce a working application. HOT 10
- Block + unfollow get collapsed in timeline.
- Search gets stuck on single result HOT 1
- Colon (":") is incorrectly identified as part of a hashtag (channel) HOT 1
- Font sizes are all wrong size in (by design) HOT 5
- Deprecate depject: tracking issue HOT 1
- invalid ELF header while trying to run arm64 appimage. HOT 2
- package-lock.json not updated with release scripts
- Installation is failed using latest Homebrew
- Info about how to see old private messages HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from patchwork.