[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] lwip_write() eventually blocks
From: |
alhadpalkar |
Subject: |
[lwip-users] lwip_write() eventually blocks |
Date: |
Mon, 16 Nov 2015 16:21:11 -0700 (MST) |
Hi,
I can reproduce this fairly easily when transmitting data from an arm
system (192.168.5.15 ) using LWIP to a server running on mac os x (
192.168.5.10 ). I am using LWIP version 1.4.1. I have attached a copy of the
pcapng file that captures the failure.
failure.pcapng <http://lwip.100.n7.nabble.com/file/n25368/failure.pcapng>
My lwipopts.h file looks like below
#define NO_SYS 0
#define MEM_LIBC_MALLOC 1
#define MEM_ALIGNMENT 4
#define MEM_SIZE 1600
#define MEMP_NUM_PBUF 64
#define MEMP_NUM_TCP_PCB 16
#define MEMP_NUM_TCP_PCB_LISTEN 16
#define MEMP_NUM_TCP_SEG (TCP_SND_QUEUELEN+1)
#define MEMP_NUM_SYS_TIMEOUT 8
#define MEMP_NUM_NETBUF 16
#define MEMP_NUM_NETCONN 16
#define PBUF_POOL_SIZE 128
#define PBUF_POOL_BUFSIZE (4 * 1024)
#define MEMP_NUM_TCPIP_MSG_INPKT 128
#define IP_FORWARD 0
#define IP_OPTIONS_ALLOWED 0
#define IP_REASSEMBLY 0
#define IP_FRAG 0
#define IP_REASS_MAXAGE 3
#define IP_REASS_BUFSIZE 2048
#define IP_FRAG_MAX_MTU 1500
#define TCP_SYNMAXRTX 2
#define TCP_QUEUE_OOSEQ 1
#define TCP_MSS 1460
#define TCP_WND (16 * TCP_MSS)
#define TCP_SND_BUF TCP_WND
#define TCP_SND_QUEUELEN 32
#define TCPIP_MBOX_SIZE 128
#define DEFAULT_TCP_RECVMBOX_SIZE 128
#define DEFAULT_ACCEPTMBOX_SIZE 128
Does anything look obviously wrong here?
Looking at the capture it is evident that LWIP is trying to retransmit
packets, but it never seems to come out of this. What might cause this?
Thanks,
Alhad
--
View this message in context:
http://lwip.100.n7.nabble.com/lwip-write-eventually-blocks-tp25368.html
Sent from the lwip-users mailing list archive at Nabble.com.
- [lwip-users] lwip_write() eventually blocks,
alhadpalkar <=