Git Product home page Git Product logo

Comments (4)

dfuentes77 avatar dfuentes77 commented on August 12, 2024

referring to puma ticket as well since I'm not sure if this is just an incompatibility between puma killer and the new fork_worker: puma/puma#2713

from puma_worker_killer.

dfuentes77 avatar dfuentes77 commented on August 12, 2024

As a separate issue (I think) but related since it happens every time I start puma or do a phased-restart on macos, I get the following type errors:

#<Thread:0x00007fcdc70d9c00@<path to puma_worker_killer-0.3.1>/lib/puma_worker_killer/auto_reap.rb:14 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
	13: from <path to puma_worker_killer-0.3.1>/lib/puma_worker_killer/auto_reap.rb:17:in `block in start'
	12: from <path to puma_worker_killer-0.3.1>/lib/puma_worker_killer/reaper.rb:19:in `reap'
	11: from <path to puma_worker_killer-0.3.1>/lib/puma_worker_killer/puma_memory.rb:25:in `workers_stopped?'
	10: from <path to puma_worker_killer-0.3.1>/lib/puma_worker_killer/puma_memory.rb:29:in `running?'
	 9: from <path to puma_worker_killer-0.3.1>/lib/puma_worker_killer/puma_memory.rb:61:in `workers'
	 8: from <path to puma_worker_killer-0.3.1>/lib/puma_worker_killer/puma_memory.rb:74:in `set_workers'
	 7: from <path to puma_worker_killer-0.3.1>/lib/puma_worker_killer/puma_memory.rb:74:in `each'
	 6: from <path to puma_worker_killer-0.3.1>/lib/puma_worker_killer/puma_memory.rb:75:in `block in set_workers'
	 5: from <path to get_process_mem-0.2.7>/lib/get_process_mem.rb:69:in `mb'
	 4: from <path to get_process_mem-0.2.7>/lib/get_process_mem.rb:61:in `bytes'
	 3: from <path to get_process_mem-0.2.7>/lib/get_process_mem.rb:122:in `darwin_memory'
	 2: from <path to get_process_mem-0.2.7>/lib/get_process_mem/darwin.rb:47:in `resident_size'
	 1: from <path to get_process_mem-0.2.7>/lib/get_process_mem/darwin.rb:54:in `get_proc_pidinfo'
<path to get_process_mem-0.2.7>/lib/get_process_mem/darwin.rb:54:in `proc_pidinfo': no implicit conversion from nil to integer (TypeError)

from puma_worker_killer.

schneems avatar schneems commented on August 12, 2024

To make any progress we'll need to reproduce the issue. Can you provide an example app? https://www.codetriage.com/example_app

from puma_worker_killer.

dfuentes77 avatar dfuentes77 commented on August 12, 2024

I'm closing since fork_worker is still experimental, looks like it's going to eventually change, and has other issues that prevents me from using it in production. I'll be waiting until it's more stable.

from puma_worker_killer.

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.