users@glassfish.java.net

Re: CPU always 100%

From: <glassfish_at_javadesktop.org>
Date: Wed, 13 Aug 2008 01:51:22 PDT

The values of the suse linux are
/proc/sys/fs/file-max
206044

/proc/sys/net/ipv4/ip_local_port_range
1024 29999

the total number of handles is 721

I guess the system may be over 1024 limitation.

And I add the followings line to /etc/security/limit.conf

* soft nofile 1024
* hard nofile 2048
root soft nofile 1024
root hard nofile 2048

But, I don't understand what is the different "soft" and "hard".
[Message sent by forum member 'joechang316' (joechang316)]

http://forums.java.net/jive/thread.jspa?messageID=292982