This thread is archived
26 Replies Last post: Mar 26, 2006 8:28 AM by LG  
  24 posts since
Mar 13, 2006
Currently Being Moderated

Mar 14, 2006 5:58 PM

how much can wildfire handle?

hey.

how much users at the same time can wildfire handle?

and how big is the database file when 40.000 members are registered?

 

 

Menno

LG KeyContributor 5,051 posts since
Dec 13, 2005
Currently Being Moderated
Mar 15, 2006 3:53 PM in response to: menno
Re: how much can wildfire handle?

Hi Menno,

 

how much users at the same time can wildfire handle?

this depends on the available memory. You may calculate 1 MB real and virtual memory for each user but I did never try to run more than 700 concurrent users because my page file is very small (700 MB).

 

and how big is the database file when 40.000 members registered.

If the users store a lot of offline message, avatars and vcards it may use some space. Maybe you can populate your database with 100 users and check its size. If you are using Oracle than the database itself will likely use more memory than the Wifi data.

 

LG

Gaston Dombiak Jiver 3,803 posts since
Sep 26, 2001
Currently Being Moderated
Mar 15, 2006 3:59 PM in response to: LG
Re: how much can wildfire handle?

Hey Menno,

 

Wildfire can easily accommodate 5000 concurrent users. You will need to change the JVM configuration. It has also been reported that when using a 64 bit operating system the server can handle 20K concurrent users/connections.

 

Once Pampero is in place, the server will be able to scale much much more. Pampero project will let you run Connection Managers in other machines whose main purpose is to concentrate socket connections and then multiplex the connection to the main server. The final picture includes replication of the main server (i.e. clustering) so you can have a HA solution with no single point of failure.

 

Regards,

 

  -- Gato

LG KeyContributor 5,051 posts since
Dec 13, 2005
Currently Being Moderated
Mar 19, 2006 3:46 AM in response to: menno
Re: how much can wildfire handle?

Hi menno,

 

what causes trouble for you? What operating system are you using? Did you already install Wifi? Which database are you using? Are you using LDAP? How many concurrent users will you have, I assume that 5000 is the number of registered users?

If you calculate 1 MB for each user you will enable a 5 GB swap partition or page file (better 1*avail RAM) and thus 18 GB. Create a vmoptions with -Xms1G -Xmx5G file as described in the documentation and start Wifi.

Your server seems to have to much CPU''s, memory NIC''s and storage to run only Wifi

 

LG

Gaston Dombiak Jiver 3,803 posts since
Sep 26, 2001
Currently Being Moderated
Mar 19, 2006 8:45 AM in response to: LG
Re: how much can wildfire handle?

Hey LG,

 

About your post, I''m not sure about the numbers you are giving regarding the RAM memory. I know that your numbers are trying to give a high level overview and not an exact number. Anyway, the number can greatly vary based on number of defined vCards (if users are using them), size of images stored in vCards, number and size of groups, number of files being transfered (using the proxy), number and size of privacy lists, etc.. In fact, it will also depend on the max cache size and timeout that system caches are using.

 

My initial recommendation for menno at this point is that he will need to reduce the "stack size" of the threads. Each thread in the JVM get''s a stack. The stack size will limit the number of threads that you can have, too big of a stack size and you will run out of memory as each thread is allocated more memory than it needs. Use the -Xss parameter to set the smallest possible value. This value should be passed to java when starting the server.

 

And as you mentioned he will need to increase the url=http://java.sun.com/performance/reference/whitepapers/tuning.html#section4.1 .2max heap size and probably change the size of the "young generation"[/url] memory. You may also want to read the url=http://java.sun.com/performance/reference/whitepapers/tuning.htmlJava Tuning White Paper[/url] to learn how to finetune Java to get the max of it.

 

Regards,

 

  -- Gato

starry99 Silver 237 posts since
Mar 3, 2006
Currently Being Moderated
Mar 19, 2006 9:29 AM in response to: LG
Re: how much can wildfire handle?

Hello!

 

If you calculate 1 MB for each user you will enable a

 

WAIT a minute, pls! )

What the hell is going on inside Wildfire?? Up to this very moment I thought Jabber/XMMP technology is cute, slim and sexy??

Having around 1 MILLION Bytes of RAM (yes, I know 1 MB is NOT equal to 1 Million Bytes!) allocated for each and every user sounds really steep to me.

 

Can anybody get me some more infos, what all this memory is used for?

LG KeyContributor 5,051 posts since
Dec 13, 2005
Currently Being Moderated
Mar 19, 2006 11:30 AM in response to: menno
Re: how much can wildfire handle?

Hi menno,

 

ignorance to asked questions and the idea to avoid reading the installation guide for Wifi are not the best suppositions to get detailed help. Setting Xmx was also discussed in the forum more than once, but using the search function is really complicated so I understand that you didn''t try it.

You write about webcams and VoIP, both have nothing to do with Wifi.

If filetransfer causes trouble for you you may open a new thread and post some error logs.

 

LG

zhuam Bronze 166 posts since
Feb 28, 2005
Currently Being Moderated
Mar 19, 2006 6:20 PM in response to: menno
Re: how much can wildfire handle?

Hay menno !

 

I mark to load test for wildfire , support over 5000 users all online 

Bronze 311 posts since
Aug 4, 2005
Currently Being Moderated
Mar 19, 2006 7:15 PM in response to: menno
Re: how much can wildfire handle?

The link is not dead


http://www.jivesoftware.org/builds/wildfire/docs/latest/documentation/install-g uide.html    Windows
http://www.jivesoftware.org/builds/wildfire/docs/latest/documentation/install-g uide.html  Unix
read and edit the wildfire script

 

LG KeyContributor 5,051 posts since
Dec 13, 2005
Currently Being Moderated
Mar 22, 2006 2:28 PM in response to: menno
Re: how much can wildfire handle?

a) What operating system are you using?

b) Which database are you using?

c) Are you using LDAP?

d) How many concurrent users will you have, I assume that 5000 is the number of registered users?

LG KeyContributor 5,051 posts since
Dec 13, 2005
Currently Being Moderated
Mar 23, 2006 3:42 PM in response to: menno
Re: how much can wildfire handle?

Hi Menno,

 

very sad thing that you still did not read the install guide carefully. Search for Xmx256m to read how to change the memory size (in this case to 256 MB).

 

LG

LG KeyContributor 5,051 posts since
Dec 13, 2005
Currently Being Moderated
Mar 24, 2006 4:50 PM in response to: menno
Re: how much can wildfire handle?

Hi Menno,

 

what is the content of the file? Does it look like

-Xms64m
-Xmx256m

?

If it does, are you using the service or is it possible that you need a wildfire.exe.vmoptions file?

 

LG

LG KeyContributor 5,051 posts since
Dec 13, 2005
Currently Being Moderated
Mar 25, 2006 2:43 AM in response to: menno
Re: how much can wildfire handle?

Hi Menno,

 

as you using wildfire.exe to start Wifi you should create wildfire.exe.vmoptions with the content mentioned above.

 

LG