Re: [prosody-users] System requirements

555 views
Skip to first unread message

Matthew Wild

unread,
May 12, 2013, 5:39:03 PM5/12/13
to Prosody IM Users Group
Hi,

On 12 May 2013 09:43, Whydo Yacare <googa...@gmail.com> wrote:
> Hello. Can you tell me what are Prosody's system requirements?
> Like in case i want to run it on a VPS/VDS. I mean amount of RAM required,
> HDD space, etc.
> The VPS is likely to run on Linux (Debian or CentOS) and should also be
> provided for a http server (Apache) with a small site (mostly static
> content).

Many people run Prosody on a VPS quite successfully (I used to run 5
separate instances, along with Apache and PHP, on a server with 256MB
RAM). The requirements depend almost completely on how you are using
Prosody, how many connections there are (users and to/from other
servers), and what features are enabled. The libraries Prosody uses
can also have an impact (for example OpenSSL 0.9.8 and/or LuaSec
before 0.4.1 will cause very high memory usage).

So perhaps if you share some rough details about your planned usage,
we might be able to give some rough expectations.

Given the choice of operating system I would definitely go for Debian
or Ubuntu, as they are by far the easiest systems to get Prosody
running on (this largely due to the fact that we spend most of our
time on it).

Regards,
Matthew

Whydo Yacare

unread,
May 13, 2013, 6:11:34 AM5/13/13
to prosod...@googlegroups.com
>, how many connections there are (users and to/from other
servers)

Very few users, 3 or 4 :)
Though S2S is to be used too (but with not very excessive use again).

>and what features are enabled

I guess mostly the usual, maybe would run MUC, but just to see how it works, not for much actual usage.


> The libraries Prosody uses
can also have an impact (for example OpenSSL 0.9.8 and/or LuaSec
before 0.4.1 will cause very high memory usage).

Uh... Is it an issue only with those older versions? I'd prefer the encryption to be enabled.


>as they are by far the easiest systems to get Prosody
running on

 Ok, would probably try Debian then.

Matthew Wild

unread,
May 13, 2013, 6:55:09 AM5/13/13
to Prosody IM Users Group
On 13 May 2013 11:11, Whydo Yacare <googa...@gmail.com> wrote:
> Uh... Is it an issue only with those older versions? I'd prefer the
> encryption to be enabled.
>

Yes, if you use OpenSSL 1.0.0 or higher with LuaSec 0.4.1 or higher,
the RAM usage is fine. To see how bad it can get, see this graph:
http://ayena.de/files/prosody_memory-0.8rc1.png

I'm *not* using a good version of LuaSec on my own server (I just
checked!), so my RAM usage is going to be a lot higher than it should
be. I have a few users, and some bots, and currently 216 s2s
connections (I have a lot of contacts on remote servers...). My server
has been running for 20 days, and Prosody is using 140MB (!). I think
I'm going to install the newer LuaSec now :)

Anyway, your RAM usage definitely won't be higher than this, so at
least it gives you some idea for planning. I'll report back when I've
run with the new LuaSec for a while, so we can get a more realistic
figure.

Regards,
Matthew

Matthew Wild

unread,
May 21, 2013, 7:00:59 PM5/21/13
to Prosody IM Users Group
On 13 May 2013 11:55, Matthew Wild <mwi...@gmail.com> wrote:
> Anyway, your RAM usage definitely won't be higher than this, so at
> least it gives you some idea for planning. I'll report back when I've
> run with the new LuaSec for a while, so we can get a more realistic
> figure.

As promised... with 7 users, 241 s2s connections, after 7 days running: 35MB RAM

Hope this helps!

Regards,
Matthew

Whydo Yacare

unread,
Jun 7, 2013, 8:31:42 AM6/7/13
to prosod...@googlegroups.com
Thank you. I've set up the server, and it seems to be running fine.
Though I have much less users and connections yet, so it takes just 17.5MB now (running for 14 days).
Reply all
Reply to author
Forward
0 new messages