LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-12-2009, 12:33 PM   #1
kotlt
LQ Newbie
 
Registered: Mar 2006
Posts: 11

Rep: Reputation: 0
Can't edit backlog


Hello, i want to increase backlog-queue from 1024 to 2048. I run this command via ssh access

Code:
[root@server ~]# sysctl -w net.ipv4.tcp_max_syn_backlog="2048"
error: "Operation not permitted" setting key "net.ipv4.tcp_max_syn_backlog"
And i edit via File Manager ( HyperVm with Centos5 )
/proc /sys /net /ipv4 / tcp_max_syn_backlog

Unable to change value from 1024 to 2048

Anyone please help me to change this ... Thank you.
 
Old 09-23-2010, 06:19 PM   #2
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 987
Blog Entries: 4

Rep: Reputation: 252Reputation: 252Reputation: 252
Greetingz!

Please note that in order to change tcp_max_syn_backlog to a larger value, you might also have to change TCP_SYNQ_HSIZE defined in tcp.h (which would require a kernel recompile). For more info on tcp_max_syn_backlog and other TCP variables, check this link out.
Note that although the document covers the 2.4.x Linux Kernels, I've double checked the article for accuracy.

On my CentOS5.x system, I found TCP_SYNQ_HSIZE here;
Code:
/usr/src/kernels/2.6.18-194.8.1.el5-x86_64/include/net/tcp.h
#define TCP_SYNQ_HSIZE          512     /* Size of SYNACK hash table */
We also have a thread here in LQ that covers RHEL-based kernel compiling (CentOS is based on RHEL).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
audit: backlog limit exceeded aclhkaclhk Linux - Software 1 08-17-2009 07:17 AM
netstat : packets directly received from backlog pcarey Linux - Newbie 1 06-12-2009 09:15 AM
help to edit Edit my bootloader's config file from kernel prompt jagdishpandey Linux - Kernel 5 07-03-2007 07:59 AM
Fedora Core 2: How to check size of connection backlog? cgoat Linux - Networking 0 01-10-2006 01:47 PM
backlog means? alaios Linux - Software 2 09-06-2005 05:00 PM


All times are GMT -5. The time now is 05:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration