Sunday, May 27, 2012

Check open files setting of Fedora 13

1. List all the settings
ulimit -a

2. change the limit of maximum open files setting
ulimit -n [number]

The smaller open files number will cause a JAVA procedure throw exception like

 Java.net.SocketException: Too Many Open Files?

No comments:

Post a Comment