[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] Minios-devel Digest, Vol 3, Issue 11



I have solved this problem caused by a Makefile bug in ./stubdom, after executing make crossclean , I found the .o files still existed in lwip-x86_64 folder. So I add a command find . -name "*.o" | xargs rm -f in Makefile and then anything is OK.

The reason is that lwip configure is given by the macro definition, macro definition have been replaced at the pre-compilation stage, so if I modify the lwip configure and did not delete the .o files, there is no effect. Following is the macro definitions I have modified in opt.h.

MEMP_NUM_TCP_PCB 100
MEMP_NUM_TCP_PCB_LISTEN 100
MEMP_NUM_NETCONN 100

Now the server can break through the connection limitations and more than 3 active TCP connections can be established, but sad that we have encountered another problem, the server side only can receive 61 clients of the connection requests. If exceeding the clients number, server side error will be reported as follows:

ASSERTION FAILED: mbox->reader != mbox->writer at lwip-arch.c:124.
Do_exit called!
base is 0x29fe78 caller is 0x4d49d
base is 0x29fe98 caller is 0x5a05a
base is 0x29fec8 caller is 0x5a153
base is 0x29fef8 caller is 0x634a1
base is 0x29ff28 caller is 0x65074
base is 0x29ff78 caller is 0x5d0dd
base is 0x29ffc8 caller is 0x59822
base is 0x29ffe8 caller is 0x33da

How can I solve the above problem?

On Sun, Aug 30, 2015 at 8:00 PM, <minios-devel-request@xxxxxxxxxxxxxxxxxxxx> wrote:
Send Minios-devel mailing list submissions to
    minios-devel@xxxxxxxxxxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.xenproject.org/cgi-bin/mailman/listinfo/minios-devel
or, via email, send a message with subject or body 'help' to
    minios-devel-request@xxxxxxxxxxxxxxxxxxxx

You can reach the person managing the list at
    minios-devel-owner@xxxxxxxxxxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Minios-devel digest..."


Today's Topics:

 Â1. Can't get more than 3 active TCP connections in ÂMini-OS? (???)


----------------------------------------------------------------------

Message: 1
Date: Sun, 30 Aug 2015 15:17:43 +0800
From: ??? <chengfeizh@xxxxxxxxx>
To: minios-devel@xxxxxxxxxxxxxxxxxxxx
Subject: [Minios-devel] Can't get more than 3 active TCP connections
    in   Mini-OS?
Message-ID:
    <CAE4PDwSeoNzN1grV6DgSWCj8GTYA=s=zAyi2srXAPcAfA_UNgw@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="utf-8"

Hello,

    I'm writing an TCP server in *Mini-OS*, it can connect to multiple
TCP clients. I wrote a simple code for handling multiple TCP clients , but
there is an issue with the code. The issue is I can't get the server to
connect more than three active connections. The 4th or more clients could
not connect for unknown reasons. I looked around the forums and tried
increasing the number limit for MEMP_NUM_TCP_PCB in opt.h (
*stubdom\lwip-x86_64\include\lwip\opt.h*) and it didn't help either.

    I'm running a TCP client on *Ubuntu*. Based on what I saw, the 4th
client did seem connected, but an exception was thrown during the "write"
function: "Resolver Error 0 (no error)"

    How can I solve this problem?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xenproject.org/archives/html/minios-devel/attachments/20150830/288f9c52/attachment.html>

------------------------------

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/minios-devel

End of Minios-devel Digest, Vol 3, Issue 11
*******************************************

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.