To use liferay cache their is a very good article available at :
http://rutvijshah.wordpress.com/2010/02/27/liferay-cache/
http://rutvijshah.wordpress.com/2010/02/27/liferay-cache/
This blog is about my observations and thoughts related to software development. These observations include tips and tricks that I have learned, solutions to problems I have faced, and other concepts I have found interesting and useful. This blog is intended to provide information to help other developers facing the same issues as well as providing me a method to document things in a well-known location for my future reference.
ulimit -n
cat /proc/sys/fs/file-max
username soft nofile 4096username hard nofile 65536
where username is the name of user to run Alfresco.
And finally restart your Alfresco for the changes to become active.