Hi Eric,

Here is the trace from accept4 upto SIGKILL

46585 16:32:39 accept4(11, {sa_family=AF_INET, sin_port=htons(59496), 
sin_addr=inet_addr("127.0.0.1")}, [128 => 16], SOCK_CLOEXEC) = 9
46585 16:32:39 recvfrom(9, 0x56012fa88ca0, 16384, MSG_DONTWAIT, NULL, NULL) = 
-1 EAGAIN (Resource temporarily unavailable)
46585 16:32:39 getpid()                 = 46585
46585 16:32:39 ppoll([{fd=9, events=POLLIN}], 1, NULL, NULL, 8 <unfinished ...>
46601 16:33:38 <... ppoll resumed>)     = 0 (Timeout)
46601 16:33:38 getpid()                 = 46585
46601 16:33:38 read(3, 0x7fc1327506a0, 8) = -1 EAGAIN (Resource temporarily 
unavailable)
46601 16:33:38 getpid()                 = 46585
46601 16:33:38 sched_yield()            = 0
46601 16:33:38 ppoll([{fd=3, events=POLLIN}], 1, {tv_sec=60, tv_nsec=0}, NULL, 
8 <unfinished ...>) = ?
46586 16:33:40 <... futex resumed>)     = ?
46585 16:33:40 <... ppoll resumed> <unfinished ...>) = ?
46601 16:33:40 +++ killed by SIGKILL +++
46586 16:33:40 +++ killed by SIGKILL +++
46585 16:33:40 +++ killed by SIGKILL +++

I've uploaded the whole strace dump into codeshare if you need the whole file, 
https://codeshare.io/3AdLy6.

Warm Regards



Subash K.C., Software Developer | 397 Mt Dandenong Road, Croydon, VIC 3134  | 
0405299404

Sent with Proton Mail secure email.

------- Original Message -------
On Friday, May 12th, 2023 at 05:08, Eric Wong <[email protected]> wrote:


> subashkc1 [email protected] wrote:
> 
> > Eric Wong wrote:
> > 
> > > Or use a single unicorn worker, then strace/truss that worker.
> > > Something like `strace -p $PID_OF_WORKER -f -v -s5000 -o /tmp/dump`
> > > (assuming Linux)
> > > I did this, but the output was so verbose I couldn't make any
> > > sense of it as I wasn't sure what to look for
> 
> 
> +cc Mike Perham since it's sidekiq-related
> 
> subashkc1: Can you show us the lines leading up to the SIGKILL?
> 
> Anything starting with the last accept|accept4 syscall up to
> when it says the process is killed should help.
> 
> Adding `-t' to enable strace timestamps can also help, thus` strace -t -p 
> $PID_OF_WORKER -f -v -s5000 -o /tmp/dump`
> 
> 
> reminders: disable HTML and reply-to-all to ensure replication + archival
> subscribers: use List-Unsubscribe header for one-click unsubscribe

Reply via email to