Reputation: 1013
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.
Upvotes: 2
Views: 281
Reputation: 34328
You can emulate a segmentation fault by sending SIGSEGV
to self. This will trigger the bug handler.
Process.kill("SEGV", Process.pid)
Upvotes: 1