Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to inspect the detailed log? #24

Closed
wtao0221 opened this issue Oct 21, 2015 · 10 comments
Closed

How to inspect the detailed log? #24

wtao0221 opened this issue Oct 21, 2015 · 10 comments

Comments

@wtao0221
Copy link

Dear all,

Is there a way to inspect the detailed log? Since the output of the example just shows the number of errors, I do not know what is wrong.

Thanks,
Tao

@vincentmli
Copy link
Contributor

in mtcp/src/Makefile, you can uncomment #DBG_OPT and recompile mtcp and example app, then you will get more detail debugging output in log_<thread/cpu_id> for each mtcp thread

@wtao0221
Copy link
Author

Thanks, Vincent.

But I have get into another trouble. When I am running the example of
epserver and epwget. The epwget cannot wget the content of the remote
server which is running epserver. (ps: I am sure that the connection is
established)

Best,
Tao

On Wed, Oct 21, 2015 at 10:50 AM, Vincent Li notifications@github.com
wrote:

in mtcp/src/Makefile, you can uncomment #DBG_OPT and recompile mtcp and
example app, then you will get more detail debugging output in log_ for
each mtcp thread


Reply to this email directly or view it on GitHub
#24 (comment).

@vincentmli
Copy link
Contributor

can you use epwget to access a another webserver say apache or nginx? I assume you run epwget and epserver on different machine with DPDK and mTCP installed.

@wtao0221
Copy link
Author

Yep,

mTCP does not work in this situation?

Best,
Tao

On Fri, Oct 23, 2015 at 4:26 AM, Vincent Li notifications@github.com
wrote:

can you use epwget to access a another webserver say apache or nginx? I
assume you run epwget and epserver on different machine with DPDK and mTCP
installed.


Reply to this email directly or view it on GitHub
#24 (comment).

@vincentmli
Copy link
Contributor

I am able to get epserver to work when using curl as client from another Linux machine, have not tried to use epwget with epserver, but I see no reason why it should not work, so I would make sure you can get epserver work with other http client like curl.

@arunkumarsit
Copy link

Hi Vicent,

I faced the exact issue faced by Tao Wang. The epwget client running in
different host is not connecting to epserver in another host.
But legacy wget is working fine. There seems to be some issues with the
epwget application which needs to be checked upon.

Thanks,
Arun

On Friday, October 23, 2015, Vincent Li notifications@github.com wrote:

I am able to get epserver to work when using curl as client from another
Linux machine, have not tried to use epwget with epserver, but I see no
reason why it should not work, so I would make sure you can get epserver
work with other http client like curl.


Reply to this email directly or view it on GitHub
#24 (comment).

@ajamshed
Copy link
Member

Hi,
I apologize for the delay. Can you please tell us the IP addresses you assigned for the client
and the server. We would also like to know the arp.conf/route.conf file contents (if you were using
any) for epwget. What was the exact command-line arguments you were using to run epwget?
Finally, were you running epwget in a VM? Just FYI: we haven't enabled the mTCP in virtualised
environment yet.

@arunkumarsit
Copy link

Hi Asim,
Sorry for the late reply from my side. It seems the issue is with the GRUB configuration.

I found that missing GRUB entry makes this issue. Please add following line in "/etc/default/grub" file.
GRUB_CMDLINE_LINUX_DEFAULT="iommu=pt, intel_iommu=on"

Then do "update-grub" and reboot host. This should solve the issue.

Note: Due to system dependency I cannot test epwget as of now with epserver.

Thanks,
Arun

@ajamshed
Copy link
Member

Hi Arun,

I am glad the issue is resolved. In the future, it will be better if you try example dpdk applications before testing mTCP stack + apps. This would help us narrow down the issue more efficiently.

@arunkumarsit
Copy link

Agreed 😀

On Thursday, November 12, 2015, Asim Jamshed notifications@github.com
wrote:

Hi Arun,

I am glad the issue is resolved. In the future, it will be better if you
try example dpdk applications before testing mTCP stack + apps. This would
help us narrow down the issue more efficiently.


Reply to this email directly or view it on GitHub
#24 (comment).

ajamshed added a commit that referenced this issue Apr 5, 2016
        ---> Added documentation for multi-process support via epserver example.
                - See apps/example/README for details..
        ---> Fixed (partial) issue #24 (gettimeofday() --> clock_gettime())
        ---> Made the compilation process more automated
                - See README file for new instructions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants