Archive for July, 2009

Eclipse can not add tomcat 6 server

Saturday, July 4th, 2009

While working with the system installed tomcat6, we have to change files in /usr/share/tomcat6/conf to global read/write.

Share

Eclipse can not start after installed WTP

Saturday, July 4th, 2009

It is because open file limit is not enough. After change open file limit to 10000, it works fine.

Share

How to change file limit in Fedora Linux

Saturday, July 4th, 2009

Add a file in /etc/security/limits.d/, say nofile.conf

*    soft    nofile    1024
*    hard    nofile    65535

Edit /etc/pam.d/login, adding the line:

session required pam_limits.so

we can change the open limit by:

ulimit -n 10000
Share

ulimit command

Saturday, July 4th, 2009

show current file limit:

ulimit -n

show all limit:

ulimit -a

show all hard limit:

ulimit -aH
Share