I want to test Sidekiq PRO reliability on local machine so I need to somehow trigger bug like [BUG] Segmentation fault manually to kill Sidekiq process.
I want to test Sidekiq PRO reliability on local machine so I need to somehow trigger bug like [BUG] Segmentation fault manually to kill Sidekiq process.
You can emulate a segmentation fault by sending SIGSEGV to self. This will trigger the bug handler.
Process.kill("SEGV", Process.pid)