Git Product home page Git Product logo

Comments (7)

grobian avatar grobian commented on July 25, 2024

Hmmm, a backtrace would certainly help here, if possible.

What is high load for you? How does your config look like?

from carbon-c-relay.

stevebanik avatar stevebanik commented on July 25, 2024

The relay process occasionally spiked to ~400%CPU. Config is as follows:

cluster graphite3
fnv1a_ch
127.0.0.1:2103
127.0.0.1:2203
127.0.0.1:2303
127.0.0.1:2403
127.0.0.1:2503
127.0.0.1:2603
127.0.0.1:2703
127.0.0.1:2803
127.0.0.1:2903
127.0.0.1:3003
127.0.0.1:3103
127.0.0.1:3203
127.0.0.1:3303
127.0.0.1:3403
127.0.0.1:3503
127.0.0.1:3603 ;

cluster graphite2
fnv1a_ch
192.168.200.34:2103
192.168.200.34:2203
192.168.200.34:2303
192.168.200.34:2403
192.168.200.34:2503
192.168.200.34:2603
192.168.200.34:2703
192.168.200.34:2803
192.168.200.34:2903
192.168.200.34:3003
192.168.200.34:3103
192.168.200.34:3203
192.168.200.34:3303
192.168.200.34:3403
192.168.200.34:3503
192.168.200.34:3603 ;

match *
send to graphite3 ;
match *
send to graphite2 ;

How can I get a backtrace for you? Also, I'm not sure if I can currently duplicate the problem because we eliminated a lot of inbound metrics, so load has backed off quite a bit since then and the process has not segfaulted since.

from carbon-c-relay.

grobian avatar grobian commented on July 25, 2024

for a backtrace, compile with:
make CFLAGS="-g -pipe"
Then run manually in gdb:
gdb --args ./relay -f yourconf
when it crashes type
thread apply all bt

from carbon-c-relay.

grobian avatar grobian commented on July 25, 2024

Can you tell me what version you use(d)? If this is about a git version (e.g. not a release) it may not be a surprise at all. Yet the backtrace would still be useful.

from carbon-c-relay.

stevebanik avatar stevebanik commented on July 25, 2024

carbon-c-relay v0.36 (46d3a9)

I haven't been able to get it to segfault since I made some changes to the machine (improved disk throughput via RAID5, eliminated some unnecessary carbon-cache settings, etc.)

from carbon-c-relay.

grobian avatar grobian commented on July 25, 2024

I have no idea on how to fix this. The only thing I have left to ask you is you mention 400% cpu usage, on what system was that? How many CPUs did it have? Was there plenty of memory available?

from carbon-c-relay.

stevebanik avatar stevebanik commented on July 25, 2024

It's a single machine with 24 cores and 96GB RAM. It hasn't segfaulted since 1/27. I'm not able to provide any additional useful information on it, so I'll go ahead and close this issue.

from carbon-c-relay.

Related Issues (20)

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.