Speeding things up
-
Just this. Why MongoDB uses
x11-libs-*
packages on DE's-less server? What the hell? Its useless, it slows server considerably.
And many more examples of useless packets installed as a dependency of sth needed.
Can we get rid of these dependencies? -
@macfan said in Speeding things up:
Can we get rid of these dependencies?
That would be a question for MongoDB? The dependencies come from the database, not NodeBB. NodeBB has no such dependency. You can try removing them and see how it impacts the server.
However, something must be wrong, because MongoDB does not have X11 as a dependency. I have all decencies installed with my MongoDB and there are no X11 whatsoever. There must be something else at play in your installation causing this, it can't be MongoDB and certainly not NodeBB.
-
@macfan said in Speeding things up:
Just this. Why MongoDB uses x11-libs-* packages on DE's-less server? What the hell? Its useless, it slows server considerably.
How would it slow the server? Unused libraries are idle. Sure they use a little disk space, and certainly you don't want anything unnecessary installed, but it would have no impact on server performance. Unused libraries are just "files on the disk". They don't get loaded into memory or whatever. If they are loaded, that is from something using them and that might be the source of your dependencies and your performance issues.
-
@macfan said in Speeding things up:
And many more examples of useless packets installed as a dependency of sth needed.
Are you sure? What command did you run that caused these dependencies to install?