Jump to content
  • 0
Sign in to follow this  
croxinuz

Upgrade CentOS to support over 1024 concurrent connection

Question

i have following from preview topic setup  :

 

i change :
/etc/systcl.conf

# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled.  See sysctl(8) and
# sysctl.conf(5) for more details.
fs.file-max = 360000
net.ipv4.ip_local_port_range = 4096 65000
net.ipv4.tcp_keepalive_time = 80
net.ipv4.tcp_keepalive_probes = 6
net.ipv4.tcp_keepalive_intvl = 120
# Controls IP packet forwarding
net.ipv4.ip_forward = 0

# Controls source route verification
net.ipv4.conf.default.rp_filter = 1

# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0

# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0

# Controls whether core dumps will append the PID to the core filename.
# Useful for debugging multi-threaded applications.
kernel.core_uses_pid = 1

# Controls the use of TCP syncookies
net.ipv4.tcp_syncookies = 1

# Controls the default maxmimum size of a mesage queue
kernel.msgmnb = 65536

# Controls the maximum size of a message, in bytes
kernel.msgmax = 65536

# Controls the maximum shared segment size, in bytes
kernel.shmmax = 68719476736

# Controls the maximum number of shared memory segments, in pages
kernel.shmall = 4294967296

/etc/security/limits.conf

#ftp             hard    nproc           0
#@student        -       maxlogins       4
# End of file
*	hard	nofile	65535
*	soft	nofile	65535
root	hard	nofile	65535
root	soft	nofile	65535

but still count on 1024 concurrent connection ?

need Help Plis :(

 

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

have you try to change this?
 

as default from centos is 

 

 

 

net.ipv4.tcp_fin_timeout = 60

 

to fin_timeout = 30

?

 

 

Share this post


Link to post
Share on other sites
  • 0

Hmm..i think i dont chance that part sir ...

Solved, i have found solution for this , thanks all :D

Share this post


Link to post
Share on other sites
  • 0

Solved, i have found solution for this , thanks all :D

 

 

Sir, may i know how you solved this issue?

 

Thanks.

Share this post


Link to post
Share on other sites
  • 0

Can you please share your solution @croxinuz

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.