Hi Ajita,
Hard to tell what your problem is without some logs from the Mattermost server. Also are you using a machine running Nginx as we suggest or are you using another proxy like ELB?
For our next release (3.5 November 16) we are doing a big push on performance. If your considering using Mattermost at a scale above 10000 users I would evaluate our current master build. You can find that here: https://releases.mattermost.com/mattermost-platform/master/mattermost-enterprise-linux-amd64.tar.gz
We are currently working on a document to help people setup Mattermost at large scale. Some suggestions from that document:
Modify your /etc/init/mattermost.conf to be:
start on runlevel [2345]
stop on runlevel [016]
respawn
limit nofile 50000 50000
chdir /home/ubuntu/mattermost
setuid ubuntu
exec bin/platform
Modify your ulimits on your proxy and Mattermost machines. (by editing /etc/security/limits.conf)
ulimit -n 65536 65536
ulimit -u 8192 8192