1834205 Members
2358 Online
110066 Solutions
New Discussion

Re: tcp_conn_request_max

 
fiorenzo monteleone
Occasional Advisor

tcp_conn_request_max

I have application with upper 500 simultaneous connections.
I have "connect requests dropped due to full queue" in the netstat -p tcp.
I increase the parameter "tcp_conn_request_max" from 4096 to 16384 but I have the same error in the netstat.
I also increased parameter "tcp_syn_rcvd_max" from 500 to 5000 but I have the same error.
Any suggestions?
Thanks.
7 REPLIES 7
Ludovic Derlyn
Esteemed Contributor

Re: tcp_conn_request_max

rick jones
Honored Contributor

Re: tcp_conn_request_max

The number of pending connections which can be queued to a listen() endpoint is the minimum of tcp_conn_request_max and whatever the application passes in a call to listen().

So, I suspect you need to get your application to start making a call to listen() with a larger backlog.

I _seriously_ doubt you need a queue of 16384 entries - heck, 4096 seems high to me. I'd try 1024 for both tcp_conn_request_max and your listen() call and then go from there.
there is no rest for the wicked yet the virtuous have no pillows
fiorenzo monteleone
Occasional Advisor

Re: tcp_conn_request_max

I tested all the possible value for parameter "tcp_conn_request_max" but I have the same problem of "connect requests dropped due to full queue" when I open around 225 connections simultaneous.
The request of connection are http and the application server is Bea Weblogic.
At this moment I suspect that the problem can be a weblogic parameter but I don't know weblogic parameter that is correlate with this kind of problem.
Chan 007
Honored Contributor

Re: tcp_conn_request_max

Hi,

Please find the link for the weblogic parameters...

Increasing "tcp_conn_request_max" will not help you.

Check your application code.

Chan
fiorenzo monteleone
Occasional Advisor

Re: tcp_conn_request_max

What do you thing about the patch PHNE_23068 that increase the listen backlog requested by inetd from 128 to 1024?
rick jones
Honored Contributor

Re: tcp_conn_request_max

Increasing inetd's listen backlog would only help for those services launched via inetd. I suspect that the BEA weblogic web server is not launched that way, which means you have to go and find the parameter for weblogic to have it set its listen() backlog. No way around it.
there is no rest for the wicked yet the virtuous have no pillows
fiorenzo monteleone
Occasional Advisor

Re: tcp_conn_request_max

I changed the parameter "Accept Backlog" from 50 to 500 in config.xml of weblogic and I haven't the error of "connect requests dropped due to full queue" in tcp stack.
The problem seems resolved thanks everyone for collaboration.
Bye Fiorenzo.