Just a quick message on the differences between hard and soft limit's:
Summary:
Hard limits are a kernel-configurable item, and users can't exceed
them. Soft limits are the user
defaults, and users can change that using the ulimit program or the
limit/unlimit builtins.
man setrlimit(2)
Basically, soft limits can be changed to anything up to the hard limit.
Think of soft limits as the warning barrier. When a user reaches the
soft limit they will get an warning message but are still allowed to use
more space up to the hard limit. Also, you can configure the system to
set expiration times for users who have exceeded their soft limit.
Perhaps on your system there is something else consuming your allowable
system file descriptors?
Good luck,
Chris
glassfish_at_javadesktop.org wrote:
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>