i have this error The OS enforces a limit on max open files

The UnrealIRCd team does not officially provide support for any services packages that you may be using or want to use. This forum is provided so the community can help each other with services issues.

Moderator: Supporters

Locked
4mIRC
Posts: 63
Joined: Sat Mar 13, 2010 8:24 pm

i have this error The OS enforces a limit on max open files

Post by 4mIRC »

hello again

i did restart for the unreal and when i type ./unreal start i cant start it with this error
The OS enforces a limit on max open files
Hard Limit: 100 MAXCONNECTIONS: 500
Fix MAXCONNECTIONS
Possible error encountered (IRCd seemingly not started)
whats the problem i opened the pico config.settings and tried to chanhe here MAXCONNECTIONS="500"
to 100 also the same error

thx for all
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: i have this error The OS enforces a limit on max open files

Post by katsklaw »

Run ./Config -nocache and answer 75 for max connections. Don't worry about "it's only 75 connections" Most networks never have 75 connections per ircd anyway and if they do, they have dedicated servers where they can have thousands.

You will then have to run make to recompile
4mIRC
Posts: 63
Joined: Sat Mar 13, 2010 8:24 pm

Re: i have this error The OS enforces a limit on max open files

Post by 4mIRC »

hello katsklaw

i did ./Config -nocache and when finish i did make but when i type make install i recieved this error
| Compile is now complete. |
| You should now read the documentation and learn |
| how to configure your IRCd. |
| |
| If you really like UnrealIRCd, and would like to |
| make a donation, please read the Donation file in|
| this archive. :) |
| |
| Thanks for using Unreal IRCd! If you are in need |
| for any kind of help regarding the IRCd please |
| read the Unreal.nfo file. |
|__________________________________________________|
/usr/bin/install -m 0700 -d /usr/***/***l/Unreal3.2
/usr/bin/install -m 0700 src/ircd /usr/***/***/Unreal3.2/src/ircd
install: src/ircd and /usr/***/***/Unreal3.2/src/ircd are the same file
*** Error code 64

before every thing great all what i did it restrat
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: i have this error The OS enforces a limit on max open files

Post by katsklaw »

you don't need to do make install if you are running Unreal from the src directory
4mIRC
Posts: 63
Joined: Sat Mar 13, 2010 8:24 pm

Re: i have this error The OS enforces ( solved )

Post by 4mIRC »

thx alot finally solved the problem

./Config the answer is 100 not 75 because equal or greater than 100
then make when finish ./unreal start


thhhxx
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: i have this error The OS enforces a limit on max open files

Post by katsklaw »

It should work with 75 as well as 75 is less than 100. It's called MAX connections, not MIN connections. It means "N" connections is the most the OS can support under current configuration. You should be able to set MAXCON to 5 and still work because 5 < 100.

Glad you got it working though ;)
4mIRC
Posts: 63
Joined: Sat Mar 13, 2010 8:24 pm

Re: i have this error The OS enforces a limit on max open files

Post by 4mIRC »

hello katsklaw again


dunno why gave me error i cant put 75 :(

nevermind heheh its up and working now

thx alot

regards
Locked