Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

problem with the connection's limit.. i think...

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
maxy

problem with the connection's limit.. i think...

#1 Post by maxy »

someoane can help me... when i get over ~1000 active connections on my server... make's me problems... i can't make new connections and bla bla bla bla... in the verlihub manual i fine some things... I aply them... but not useful :-/

From verlihub manual:

In /etc/security/limits.conf, add the lines:

* soft nofile 4096
* hard nofile 4096

In /etc/pam.d/login, add:

session required /lib/security/pam_limits.so

Then increase the system-wide file descriptor limit by adding the following lines to the /etc/rc.d/rc.local startup script:

echo 16256 > /proc/sys/fs/file-max
echo 24576 > /proc/sys/fs/inode-max

Also, you can run these commands at the command line and/or you can add them to your .bash_profile so you don't need to re-enter them.

You will then need to tell the system to use the new limits (bash):
ulimit -n unlimited


but

server:/home/max# ulimit -n unlimited
-bash: ulimit: open files: cannot modify limit: Operation not permitted
and

server:/home/max# echo 24576 > /proc/sys/fs/inode-max
-bash: /proc/sys/fs/inode-max: No such file or directory
:?

Post Reply