Re: Setting Open FDs to 16,384
From: Darren Dunham (ddunham_at_redwood.taos.com)
Date: 11/12/03
- Next message: Anuj Goyal: "Re: race on multi-processor solaris"
- Previous message: Stuart: "lp message"
- In reply to: Gene Mat: "Setting Open FDs to 16,384"
- Next in thread: Logan Shaw: "Re: Setting Open FDs to 16,384"
- Reply: Logan Shaw: "Re: Setting Open FDs to 16,384"
- Reply: Gene Mat: "Re: Setting Open FDs to 16,384"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 12 Nov 2003 06:05:23 GMT
Gene Mat <geneSPAMAWAYmat@eathlink.net> wrote:
> Hello fellow admins,
> I have a Sun 4500 10x10, that can't handle more then 2000 established TCP
> connections. The TCP based application runs fine under 2000 established TCP
> connection, but once the app starts handling over 2000 TCP connections,
> chances are high that it could crash and will need to be restarted.
> The error message I get from the exe is "error creating new thread LWP".
Do you have any limit on stacksize in the environment? My recollection
is that the stack requirements for each thread can be one of the first
resources to be exhausted when creating many.
> So I am guessing the Solaris 8 is limiting the the app from creating
> additional threads.
Depends on what you mean by "the Solaris 8".
> maxuser to 4096 and
I doubt maxuser will do any good at all.
> rlim_fd_cur to 16384
> These are pretty high values and most people have been warning me against
> this, however, the tuning guide at docs.sun.com, says that rlim_fd_cur can
> go as high as MAXINT. On a 64 bit system SUN4500 MAXINT is very large,
I would use rlim_fd_max and make sure the process can raise the limit
itself, or it is launched in an environment that can raise it. Setting
the default system wide to that isn't necessarily a good idea.
Do you already have rlim_fd_max and limits set appropriately? According
to 'pfiles' how many file descriptors are in use at the 2000 connection
point?
--
Darren Dunham ddunham@taos.com
Unix System Administrator Taos - The SysAdmin Company
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
- Next message: Anuj Goyal: "Re: race on multi-processor solaris"
- Previous message: Stuart: "lp message"
- In reply to: Gene Mat: "Setting Open FDs to 16,384"
- Next in thread: Logan Shaw: "Re: Setting Open FDs to 16,384"
- Reply: Logan Shaw: "Re: Setting Open FDs to 16,384"
- Reply: Gene Mat: "Re: Setting Open FDs to 16,384"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|