Most of them are Mandarin, but they all have example code or experiement results.
I'd like to discuss more about what I've done.
Linux kernel learnings:
2021
File system: Simplefs
Linux related docs
loadavg and HZ
SCSI
Sheng-Wen Wang changed 4 months agoView mode Like Bookmark
Records-2023
2/9:
Create a user account on IAM.
2/16: S.34
Skip IAM, Jump into EC2 directly.
2/17: S.43
Enalbe a EC2 with userdata, the implement is similiar as openstack.
Sheng-Wen Wang changed a year agoView mode Like Bookmark
Docker generate 2 items when a conatiner is generated.
logger
copier
1. Logger:
Monitoring the size of logs based on config
Rotate log file if config stores data into local files.
Provide target to copier
Provide log() to copier
Sheng-Wen Wang changed 2 years agoView mode Like Bookmark
Linux
Troubleshooting user cannot login issue:
Invesitgation from :
sssd, pam, nofile (limitation setup), ldap
HDD broken
service broken
network connection
Troubleshooting DNS issues:
Sheng-Wen Wang changed 3 years agoView mode Like Bookmark
The common question in curl is
why my browser, dig and wget work except curl.
the error message looks like this
$ curl https://github.com
curl: (6) Could not resolve host: github.com
Possilbe file and function
curl_resolver_getaddrinfo
Sheng-Wen Wang changed 4 years agoView mode Like Bookmark
sssd and login
nsswitch.conf - group
Summery
If a user needs both local group and remote group, nsswitch group field could be configured as below
group: files sss # /etc/groups + groups from sssd
or
group: files [SUCCESS=merge] sss # Specifiy an action
Sheng-Wen Wang changed 4 years agoView mode Like Bookmark
Before testing read/write on a HDD, check below items first:
Any dev sd[x] error in dmesg or jounalctl
loadavg and atop/htop and D status process
Because if the HDD is completely broken, the touch/cat and any read/write cmd might be blocked by kernel which is watiing for HDD response ( which is impossible )
Related docs
atop
Sheng-Wen Wang changed 4 years agoView mode Like Bookmark
contributed by < fwfly >
hp 測試設計
建立 n 個 thread 去對一個 list 做 insert key
然後 n 個 thread 去同一個 list 做 delete key
這樣會同時對一個 list 做新增,刪除跟搜尋(find)而導致 race condition 的問題
最後再用 hp 的方式達到 lock-free 的解法
Elements 的設計
Sheng-Wen Wang changed 4 years agoView mode Like Bookmark