Skip to content

Instantly share code, notes, and snippets.

@3point2
3point2 / gist:2335b1f0fe363c5c3c05e5820be7656d
Created November 7, 2021 15:01
systemd-20920 successful boot debug
This file has been truncated, but you can view the full file.
-- Journal begins at Thu 2021-10-28 21:20:31 EEST, ends at Sun 2021-11-07 16:56:31 EET. --
Nov 07 16:14:38 hal kernel: Linux version 5.14.14-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP PREEMPT Wed, 20 Oct 2021 21:35:18 +0000
Nov 07 16:14:38 hal kernel: Command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=a4158628-eab4-4457-ad14-377413fea0e5 rw cryptdevice=/dev/disk/by-uuid/966a2f1f-97f7-44ce-a2c3-561c6187c739:root:allow-discards quiet loglevel=3 systemd.log_level=debug
Nov 07 16:14:38 hal kernel: x86/fpu: x87 FPU will use FXSAVE
Nov 07 16:14:38 hal kernel: signal: max sigframe size: 1440
Nov 07 16:14:38 hal kernel: BIOS-provided physical RAM map:
Nov 07 16:14:38 hal kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009d7ff] usable
Nov 07 16:14:38 hal kernel: BIOS-e820: [mem 0x000000000009d800-0x000000000009ffff] reserved
Nov 07 16:14:38 hal kernel: BIOS-e820: [mem 0x00000000000d2000-0x00000000000d3fff] reserved
Nov 07 16:14:38 hal kernel: BIOS-e820: [mem 0x00000000000e00
@3point2
3point2 / gist:35e0dfee69b24b4c3ec6290a7dc75784
Last active November 7, 2021 15:07
systemd-20920 hung boot debug
This file has been truncated, but you can view the full file.
-- Journal begins at Thu 2021-10-28 21:20:31 EEST, ends at Sun 2021-11-07 16:15:21 EET. --
Nov 07 16:08:40 hal kernel: Linux version 5.14.14-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP PREEMPT Wed, 20 Oct 2021 21:35:18 +0000
Nov 07 16:08:40 hal kernel: Command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=a4158628-eab4-4457-ad14-377413fea0e5 rw cryptdevice=/dev/disk/by-uuid/966a2f1f-97f7-44ce-a2c3-561c6187c739:root:allow-discards quiet loglevel=3 systemd.log_level=debug
Nov 07 16:08:40 hal kernel: x86/fpu: x87 FPU will use FXSAVE
Nov 07 16:08:40 hal kernel: signal: max sigframe size: 1440
Nov 07 16:08:40 hal kernel: BIOS-provided physical RAM map:
Nov 07 16:08:40 hal kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009d7ff] usable
Nov 07 16:08:40 hal kernel: BIOS-e820: [mem 0x000000000009d800-0x000000000009ffff] reserved
Nov 07 16:08:40 hal kernel: BIOS-e820: [mem 0x00000000000d2000-0x00000000000d3fff] reserved
Nov 07 16:08:40 hal kernel: BIOS-e820: [mem 0x00000000000e00
@3point2
3point2 / boot hang.log
Last active October 2, 2021 20:31
systemd boot hang
-- Journal begins at Sun 2021-03-14 14:25:48 EET, ends at Sat 2021-10-02 22:47:04 EEST. --
Oct 02 22:28:26 hal kernel: Linux version 5.14.8-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP PREEMPT Sun, 26 Sep 2021 19:36:15 +0000
Oct 02 22:28:26 hal kernel: Command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=a4158628-eab4-4457-ad14-377413fea0e5 rw cryptdevice=/dev/disk/by-uuid/966a2f1f-97f7-44ce-a2c3-561c6187c739:root:allow-discards quiet loglevel=3
Oct 02 22:28:26 hal kernel: x86/fpu: x87 FPU will use FXSAVE
Oct 02 22:28:26 hal kernel: signal: max sigframe size: 1440
Oct 02 22:28:26 hal kernel: BIOS-provided physical RAM map:
Oct 02 22:28:26 hal kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009d7ff] usable
Oct 02 22:28:26 hal kernel: BIOS-e820: [mem 0x000000000009d800-0x000000000009ffff] reserved
Oct 02 22:28:26 hal kernel: BIOS-e820: [mem 0x00000000000d2000-0x00000000000d3fff] reserved
Oct 02 22:28:26 hal kernel: BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] re
@3point2
3point2 / gist:e772b151899a866e563ee9c52a94ead7
Created December 22, 2020 23:02
ripgrep resource leak
$ mkdir repro
$ for i in $(seq 1 100); do echo hello > repro/file$i; done
$ gzip repro/*
$ ps -u $(whoami) -T| wc -l
543
$ ulimit -u 573
$ rg --debug -z -l hello repro
DEBUG|grep_regex::literal|crates/regex/src/literal.rs:58: literal prefixes detected: Literals { lits: [Complete(hello)], limit_size: 250, limit_class: 10 }
DEBUG|globset|crates/globset/src/lib.rs:431: built glob set; 0 literals, 0 basenames, 12 extensions, 0 prefixes, 0 suffixes, 0 required extensions, 0 regexes
DEBUG|globset|crates/globset/src/lib.rs:431: built glob set; 0 literals, 0 basenames, 12 extensions, 0 prefixes, 0 suffixes, 0 required extensions, 0 regexes
@3point2
3point2 / gist:28ae5161a3026b038ec15b7a0c6be820
Created February 23, 2019 21:09
Raw EteSync journal entry for event with email notification
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//EteSync//com.etesync.syncadapter/1.2.1 ical4j/2.2.3
BEGIN:VEVENT
DTSTAMP:20190223T200220Z
UID:03f10672-e8f1-4f49-a7da-b9a20def7578
SUMMARY:Event with email notification
DTSTART;TZID=Europe/Athens:20190223T223000
DTEND;TZID=Europe/Athens:20190223T233000
BEGIN:VALARM