On 06/01/2010 17:48, Gopi Desaboyina wrote:
Gurus, I've strange issue with tcpListenDrop counter. it's keep getting increased even after increasing tcp_conn_req_max_q size from 1k to 16k. is there anyway i can find out port nubmber and proc is which is incrementing this counter. I found another thread and got the below script but that shows me the pid which is not at all running. is it possible to get Port number also along with PID ?#!/usr/sbin/dtrace -s #pragma D option quiet fbt:ip:tcp_conn_request:entry { self->connp = (conn_t *)arg0; self->tcp = (tcp_t *)self->connp->conn_sqp; @backlog[self->tcp->tcp_cpid,self->tcp->tcp_conn_req_cnt_q,self->tcp->tcp_conn_req_max]=count(); printa("PID:%d \ttcp_conn_req_cnt_q/tcp_conn_req_max: %d/%d Number of times:%...@d\n",@backlog); } Thanks for any help on this. -Gopi
maybe your application is specifying a low value of backlog in listen()? -- Robert Milkowski http://milek.blogspot.com _______________________________________________ dtrace-discuss mailing list [email protected]
