redsolution / xabber-websocket

Standalone WebSocket connection manager needed to connect Xabber for Web to multiple different XMPP servers
https://www.xabber.com
GNU Affero General Public License v3.0
11 stars 7 forks source link

Websocket Server Crashes #3

Closed NeemitShastri closed 5 years ago

NeemitShastri commented 6 years ago

Hi,

I have setup xabber-websocket with nginx as proxypass, at start the ram usage is low but after few days ram usage gets high and it crashes the server.

the number of jabber users are constant.

System Config (AWS ec2 Instance): Core: 2 RAM: 4 GB OS:- Ubuntu 16.04 64 BIT

Thanks.

oxoWrk commented 6 years ago

how many online users? xabber-ws version ?

NeemitShastri commented 6 years ago

around 80 to 90 users

oxoWrk commented 6 years ago

xabber-ws version ?

NeemitShastri commented 6 years ago

xabber-websocket 0.1

oxoWrk commented 6 years ago

very strange. I have low memory usage (~50MB) with more than 100 connections Do you have any memory usage data by xabber-ws

NeemitShastri commented 6 years ago

the ram usage is low at start of websocket server around 400mb, but after few days the ram usage increases and server crashes

oxoWrk commented 6 years ago

try to use observer to understand what is using the memory

NeemitShastri commented 6 years ago

Thanks have started monitoring the memory using observer :)