Giter Site home page Giter Site logo

Comments (8)

mitchellh avatar mitchellh commented on June 3, 2024

To make things simpler, I dropped down to use only 1 process (not specifying a -n) and I'm still seeing the child die at least once every minute. This is my syslog output:

Oct  4 20:58:34 production-east-lb-001 init: lb-stud main process (27486) killed by TERM signal
Oct  4 20:58:34 production-east-lb-001 init: lb-stud main process ended, respawning
Oct  4 20:58:47 production-east-lb-001 init: lb-stud main process (27489) killed by TERM signal
Oct  4 20:58:47 production-east-lb-001 init: lb-stud main process ended, respawning
Oct  4 20:59:16 production-east-lb-001 init: lb-stud main process (27497) killed by TERM signal
Oct  4 20:59:16 production-east-lb-001 init: lb-stud main process ended, respawning
Oct  4 20:59:29 production-east-lb-001 init: lb-stud main process (27518) killed by TERM signal
Oct  4 20:59:29 production-east-lb-001 init: lb-stud main process ended, respawning
Oct  4 20:59:36 production-east-lb-001 init: lb-stud main process (27520) killed by TERM signal
Oct  4 20:59:36 production-east-lb-001 init: lb-stud main process ended, respawning
Oct  4 20:59:44 production-east-lb-001 init: lb-stud main process (27522) killed by TERM signal
Oct  4 20:59:44 production-east-lb-001 init: lb-stud main process ended, respawning
Oct  4 20:59:50 production-east-lb-001 init: lb-stud main process (27524) killed by TERM signal
Oct  4 20:59:50 production-east-lb-001 init: lb-stud main process ended, respawning
Oct  4 20:59:58 production-east-lb-001 init: lb-stud main process (27531) killed by TERM signal
Oct  4 20:59:58 production-east-lb-001 init: lb-stud main process ended, respawning

I otherwise am running with the same options given above.

from stud.

mitchellh avatar mitchellh commented on June 3, 2024

This doesn't happen every time but I am intermittently seeing this as well:

stud: stud.c:690: handle_accept: Assertion `(*__errno_location ()) == 4 || (*__errno_location ()) == 11 || (*__errno_location ()) == 11' failed.

from stud.

BMatthieu avatar BMatthieu commented on June 3, 2024

Hi mitchellh,

I've the same error with stud:

stud: stud.c:690: handle_accept: Assertion `(___errno_location ()) == 4 || (___errno_location ()) == 11 || (*__errno_location ()) == 11' failed.

But for me stud is stopped every days, one crash by day.

I haven't no more log than you. We have 4 stud servers and two have the problem but the others run perfectly since 2 weeks.

from stud.

vincentbernat avatar vincentbernat commented on June 3, 2024

Hi!

A core file would help (ulimit -c unlimited before running stud).

from stud.

Neopallium avatar Neopallium commented on June 3, 2024

I ran into that assertion when doing some stress testing. For me it was cause by stud running out of file descriptors (accept() was returning errno == EMFILE "Too many open files"). Check ulimit -n to see what your per-process limit is.

from stud.

BMatthieu avatar BMatthieu commented on June 3, 2024

Hi,

Thanks a lot. In fact the solution is to set ulimit.

Matthieu

from stud.

mitchellh avatar mitchellh commented on June 3, 2024

Yep! I opened a new issue #41 for this specific issue.

from stud.

jamwt avatar jamwt commented on June 3, 2024

Okay, fixed #41.

from stud.

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.