( ESNUG 304 Item 12 ) -------------------------------------------- [11/12/98]
Subject: (ESNUG 302 #5 303 #6) Sun/Cadence Verilog-XL Licensing Problem
> When we installed our new E450 server, we tuned to system to be able to
> support more users/processes than the out-of-the box configuration allows.
>
> The following two parameters in the file "/etc/system" are what broke
> Verilog-XL:
>
> * set rlim_fd_max = 2048
> * set rlim_fd_cur = 1024
>
> If we comment them out (as shown above), XL works fine. If they are
> built-in the kernel, Verilog sees a time-out when talking to the license
> server.
>
> - Janick Bergeron
> Qualis Design Lake Oswego, OR
From: hugh@Eng.Sun.COM (Hugh McIntyre)
You should never normally increase rlim_fd_max beyond 1024 or rlim_fd_cur
beyond 256, otherwise lots of things may break. If the current limit is
above 256 than any program that uses the C stdio library is subject to
problems (except for 64-bit applications under Solaris 7). If the limit is
raised above 1024 then any program that uses select() will also fail (again,
it is possible to get round this with Solaris 7).
If you really need to raise these limits for a specific application, then
the recommended solution is to write a small wrapper script (or program) to
increase the limit and then run the program. For example:
#! /bin/sh
ulimit -n 256
exec verilog "$@"
Hope this helps.
- Hugh McIntyre
Sun Microsystems
|
|