On Monday 14 July 2003 09:21, Yasser Ahmed Hosny wrote:
> Dear All,
>
> I am running Freeradius Ver. 0.8.1 on a Sun Solaris machince Ver. 8 and
> connecting to 4 Oracle Databases (different machines) for Authentication
> and Accounting (along with Fail-over).
> My setup is as follows:
>       100 connections for Primary Authentication.
>       100 connections for Secondary Authentication.
>       100 connections for Primary Accounting.
>       100 connections for Secondary Accounting.
> Once I start the Freeradius process, I can open only 253 connections out
> of 400 and I got the following error:
>
> Mon Jul 14 08:39:16 2003 : Error: Failed creating PID file
> /usr/local/var/run/radiusd/radiusd.pid: Too many open files
>
> And the process did not start.
>
> I've tried to change some system parameters, but I've realized that I
> can only change the parameter controlling the "open" files and not
> "fopen", which is used by Freeradius.
>
> I'll appreciate your help in advance.
>
> Regards

Hi

If you change /etc/system using the following..

set rlim_fd_cur=2048        -  default size
set rlim_fd_max=8192        -  max size (by anyone other than root)

and reboot it may change it without a recompile.

i have got source from: 
http://groups.google.com/groups?q=MAX_OPEN+solaris+/etc/system&hl=en&lr=&ie=UTF-8&selm=38FAEB73.FA784A21%40totalise.co.uk&rnum=1

Def


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to