Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7773467
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T17:08:25+00:00 2026-06-01T17:08:25+00:00

We are using openfire server 3.7.1 on Amazon Ec2 linux instance for a chat

  • 0

We are using openfire server 3.7.1 on Amazon Ec2 linux instance for a chat Application.

Currently, we are in initial development stage, where we are testing it with 4 or 5 concurrent users.
Now, and then we are getting issues with openfire server:

1) Java heap space exceptions.

2) java.net.BindException: Address already in use

3) they both lead to 5222 port not listening, while openfire admin console at 9090 is working fine

Eventually when i stop all openfire processes and then restart it, again it goes to normal.

I want to know, whether this is a bug in openfire version 3.7.1 or EC2 have some issues with opening of port 5222. I am really apprehensive about performance of Openfire server when 1000s user will be using it concurrently?

Solved by:

  1. Disabling PEP.

  2. Increasing Openfire JVM parametres

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T17:08:26+00:00Added an answer on June 1, 2026 at 5:08 pm

    The Java heap space exception is common to Openfire, you can check your JVM arguments and increase the parameters. In my experience there were a couple of cases that caused those:

    • clients using Empathy.
    • some plugin that provided buddy lists/ white/black lists etc (had to do something with the user’s roster lists).

    You need to make sure port 5222 and 5223 are opened (some clients may use the old SSL port) in EC2 Firewall settings.

    If you plan to have thousands of users, I suggest you get static IP address (you don’t mention what’s your current config). Also checkout jabberd – proved to be more reliable than openfire.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building a chat application using OpenFire server and JSJaC client library. The page
Am using Strophe.js library for communication between my application with XMPP(Openfire) server. I want
I have created a chat app using XMPPFramework and Openfire server. I've created multiple
We are using Openfire (Jabber) to enable chat and presence capabilities to our MMORPG.
I am having a problem with an application using Smack 3.1 and a server
I'm using Openfire as an XMPP server, and it seems to be working great;
when sending packet to openfire using Smack, i get error remote-server-not-found(404) . Can anyone
I'm using OpenFire server for instant messaging and JSJaC JavaScript library on the client.
I am using Smack API to connect to the Openfire server. I have successfully
I am using an Application server for calling Oracle Reports and I have a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.