Code Monkey home page Code Monkey logo

envoy-vpp's People

Contributors

florincoras avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

envoy-vpp's Issues

Envoy crash

Hi
I've got a problem with latest version of envoy-vpp. Instance of an envoy get crashed after few requests. I tried to build everything in debug mode to check whats going on. After all I got an error in vpp library after first request from client.
/home/vagrant/envoy-vpp/vpp/src/vcl/vppcom.c:2046 (vppcom_session_free_segments) assertion 's->rx_bytes_pending < n_bytes' fails
Here I share full logs from an envoy instance:
envoy.log

/usr/bin/ld.gold: out of memory

I tried to build this project but the following problem is encountered:

root@yzz:~/data/envoy-vpp# bazel --host_jvm_args=-Djavax.net.ssl.trustStore='/etc/ssl/certs/java/cacerts' build -s //:envoy
Starting local Bazel server and connecting to it...
INFO: Analyzed target //:envoy (684 packages loaded, 23635 targets configured).
INFO: Found 1 target...
SUBCOMMAND: # //:envoy [action 'Linking envoy', configuration: 6d39ca87f21ba0e53c04f6f6ace22440c824b492b0d708e23f83409fd0dcd5a9, execution platform: @local_config_platform//:host]
(cd /root/.cache/bazel/_bazel_root/76319da2a03c31032ef7e74227e75e89/execroot/envoy_vpp && \
  exec env - \
    BAZEL_LINKLIBS=-l%:libstdc++.a \
    BAZEL_LINKOPTS=-lm \
    CC=/root/clang+llvm-9.0.0-x86_64-linux-gnu-ubuntu-18.04/bin/clang \
    CXX=/root/clang+llvm-9.0.0-x86_64-linux-gnu-ubuntu-18.04/bin/clang++ \
    PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/go/bin \
    PWD=/proc/self/cwd \
  /root/clang+llvm-9.0.0-x86_64-linux-gnu-ubuntu-18.04/bin/clang @bazel-out/k8-fastbuild/bin/envoy-2.params)
ERROR: /root/data/envoy-vpp/BUILD:24:16: Linking of rule '//:envoy' failed (Exit 1) clang failed: error executing command /root/clang+llvm-9.0.0-x86_64-linux-gnu-ubuntu-18.04/bin/clang @bazel-out/k8-fastbuild/bin/envoy-2.params

Use --sandbox_debug to see verbose messages from the sandbox
/usr/bin/ld.gold: out of memory
clang-9: error: linker command failed with exit code 1 (use -v to see invocation)
Target //:envoy failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 32.143s, Critical Path: 3.30s
INFO: 0 processes.
FAILED: Build did NOT complete successfully

My building environment is as follows:

8 CPU, 30GB Memory

root@yzz:~/data/envoy-vpp# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.5 LTS
Release:	18.04
Codename:	bionic
root@yzz:~/data/envoy-vpp# echo $CC
/root/clang+llvm-9.0.0-x86_64-linux-gnu-ubuntu-18.04/bin/clang
root@yzz:~/data/envoy-vpp# echo $CXX
/root/clang+llvm-9.0.0-x86_64-linux-gnu-ubuntu-18.04/bin/clang++
root@yzz:~/data/envoy-vpp# bazel version
Build label: 3.4.1
Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Tue Jul 14 06:27:53 2020 (1594708073)
Build timestamp: 1594708073
Build timestamp as int: 1594708073

Any ideas?

Thanks!:)

License

Hi
Could you add license to repository?

[not a real issue] question: how about the possibility put envoy-vpp into a service mesh (istio)

Hi Florin,

Thanks for your exploring of envoy-vpp.

We also suffered from envoy's performance issue in our istio service mesh, I see VPP is a good solution for data path acceleration, but I think it seems a little heavy, it would be ok working with stand alone envoy. But do you see any possibility to put this solution into a service mesh?
Or do you have any suggestion?

Looking forward your comments and thanks in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.