Hi LG:
Finally, I found the answer and please correct me if I was wrong.
I re-install Ubuntu OS and download sun-6-jre and openfire to install.
After that, I did following procedures:
1.In Terminal, “sudo gedit /etc/security/limits.conf”
Add two lines in this file:
-
soft nofile 65535
-
hard nofile 65535
(* is the user name)
2.In Terminal, “sudo gedit /etc/pam.d/login”
Add one line in this file:
session required pam_limits.so
3.Reboot system
4.After system started, ulimit -a can see open file : 65535
5.In termianl, “sudo /etc/init.d/openfire start”
And now I can login over 3000 accounts into openfire server.
I found this http://community.igniterealtime.org/thread/38543 but it says to add
“session required /lib/security/pam_limits.so” in /etc/pam.d/login.
Which one is correct ?