Page MenuHomePhabricator
Paste P10476

(An Untitled Masterwork)
ActivePublic

Authored by zhuyifei1999 on Feb 22 2020, 8:41 AM.
08:34:00 0 ✓ zhuyifei1999@tools-k8s-worker-32: ~$ sudo nsenter -m -n -p -t 30297
root@tools-k8s-worker-32:/# ps auxfww
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 3521 0.6 0.0 39816 3816 ? S 08:34 0:00 -bash
root 3524 0.0 0.0 41304 2672 ? R+ 08:34 0:00 \_ ps auxfww
tools.c+ 1 0.0 0.8 208264 68488 ? Ss Feb19 3:01 /usr/bin/uwsgi --plugin python,python3 --http-socket :8000 --chdir /data/project/copyvios/www/python/src --logto /data/project/copyvios/uwsgi.log --callable app --manage-script-name --workers 4 --mount /copyvios=/data/project/copyvios/www/python/src/app.py --die-on-term --strict --master --venv /data/project/copyvios/www/python/venv --ini /data/project/copyvios/www/python/uwsgi.ini
tools.c+ 3388 90.8 6.9 1449776 570592 ? Sl 07:57 33:30 /usr/bin/uwsgi --plugin python,python3 --http-socket :8000 --chdir /data/project/copyvios/www/python/src --logto /data/project/copyvios/uwsgi.log --callable app --manage-script-name --workers 4 --mount /copyvios=/data/project/copyvios/www/python/src/app.py --die-on-term --strict --master --venv /data/project/copyvios/www/python/venv --ini /data/project/copyvios/www/python/uwsgi.ini
tools.c+ 3401 0.6 1.5 1155060 130404 ? Sl 08:02 0:12 /usr/bin/uwsgi --plugin python,python3 --http-socket :8000 --chdir /data/project/copyvios/www/python/src --logto /data/project/copyvios/uwsgi.log --callable app --manage-script-name --workers 4 --mount /copyvios=/data/project/copyvios/www/python/src/app.py --die-on-term --strict --master --venv /data/project/copyvios/www/python/venv --ini /data/project/copyvios/www/python/uwsgi.ini
root@tools-k8s-worker-32:/# lsof -p 1
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
uwsgi 1 tools.copyvios cwd DIR 0,48 4096 171443497 /data/project/copyvios/git/copyvios (nfs-tools-project.svc.eqiad.wmnet:/project/tools/project)
uwsgi 1 tools.copyvios rtd DIR 0,110 4096 534336 /
uwsgi 1 tools.copyvios txt REG 0,110 801664 1065028 /usr/bin/uwsgi-core
[...]
uwsgi 1 tools.copyvios 0r CHR 1,3 0t0 25360896 /dev/null
uwsgi 1 tools.copyvios 1u unix 0xffff9[...]83c800 0t0 25361516 socket
uwsgi 1 tools.copyvios 2u unix 0xffff9[...]83c800 0t0 25361516 socket
uwsgi 1 tools.copyvios 3u unix 0xffff9[...]83fc00 0t0 25361510 socket
uwsgi 1 tools.copyvios 4u REG 0,48 1808831 96539886 /data/project/copyvios/uwsgi.log (nfs-tools-project.svc.eqiad.wmnet:/project/tools/project)
uwsgi 1 tools.copyvios 5u unix 0xffff9[...]83d000 0t0 25361515 socket
uwsgi 1 tools.copyvios 6u unix 0xffff9[...]83c800 0t0 25361516 socket
uwsgi 1 tools.copyvios 7u IPv4 25361535 0t0 TCP *:8000 (LISTEN)
uwsgi 1 tools.copyvios 8u unix 0xffff9[...]f6c400 0t0 25360992 socket
uwsgi 1 tools.copyvios 9u unix 0xffff9[...]f6f400 0t0 25360993 socket
uwsgi 1 tools.copyvios 10u unix 0xffff9[...]f6d400 0t0 25360994 socket
uwsgi 1 tools.copyvios 11u unix 0xffff9[...]f6cc00 0t0 25360995 socket
uwsgi 1 tools.copyvios 12w REG 0,48 84015 171517789 /data/project/copyvios/git/copyvios/logs/.nfs000000000a39275d0000014a (nfs-tools-project.svc.eqiad.wmnet:/project/tools/project)
uwsgi 1 tools.copyvios 13u unix 0xffff9[...]811400 0t0 25360233 socket
uwsgi 1 tools.copyvios 14u unix 0xffff9[...]810c00 0t0 25360234 socket
uwsgi 1 tools.copyvios 15u 0000 0,13 0 8269 anon_inode
uwsgi 1 tools.copyvios 16u IPv4 25360235 0t0 TCP localhost:9001 (LISTEN)
uwsgi 1 tools.copyvios 22r CHR 1,9 0t0 25360901 /dev/urandom
root@tools-k8s-worker-32:/# lsof -p 3388
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
uwsgi 3388 tools.copyvios cwd DIR 0,48 4096 171443497 /data/project/copyvios/git/copyvios (nfs-tools-project.svc.eqiad.wmnet:/project/tools/project)
uwsgi 3388 tools.copyvios rtd DIR 0,110 4096 534336 /
uwsgi 3388 tools.copyvios txt REG 0,110 801664 1065028 /usr/bin/uwsgi-core
[...]
uwsgi 3388 tools.copyvios 0r CHR 1,3 0t0 25360896 /dev/null
uwsgi 3388 tools.copyvios 1u unix 0xffff9[...]83c800 0t0 25361516 socket
uwsgi 3388 tools.copyvios 2u unix 0xffff9[...]83c800 0t0 25361516 socket
uwsgi 3388 tools.copyvios 3u unix 0xffff9[...]83fc00 0t0 25361510 socket
uwsgi 3388 tools.copyvios 4u REG 0,48 1808831 96539886 /data/project/copyvios/uwsgi.log (nfs-tools-project.svc.eqiad.wmnet:/project/tools/project)
uwsgi 3388 tools.copyvios 5u unix 0xffff9[...]83d000 0t0 25361515 socket
uwsgi 3388 tools.copyvios 6u unix 0xffff9[...]83c800 0t0 25361516 socket
uwsgi 3388 tools.copyvios 7u IPv4 25361535 0t0 TCP *:8000 (LISTEN)
uwsgi 3388 tools.copyvios 8u 0000 0,13 0 8269 anon_inode
uwsgi 3388 tools.copyvios 10u 0000 0,13 0 8269 anon_inode
uwsgi 3388 tools.copyvios 11u unix 0xffff9[...]f6cc00 0t0 25360995 socket
uwsgi 3388 tools.copyvios 12w REG 0,48 84015 171517789 /data/project/copyvios/git/copyvios/logs/.nfs000000000a39275d0000014a (nfs-tools-project.svc.eqiad.wmnet:/project/tools/project)
uwsgi 3388 tools.copyvios 13u IPv4 41390617 0t0 TCP copyvios-68555b94f4-hkf8p:48528->text-lb.eqiad.wikimedia.org:443 (CLOSE_WAIT)
uwsgi 3388 tools.copyvios 14u unix 0xffff9[...]810c00 0t0 25360234 socket
uwsgi 3388 tools.copyvios 15u 0000 0,13 0 8269 anon_inode
uwsgi 3388 tools.copyvios 16u IPv4 25360235 0t0 TCP localhost:9001 (LISTEN)
uwsgi 3388 tools.copyvios 17u IPv4 41391532 0t0 TCP copyvios-68555b94f4-hkf8p:39204->clouddb1001.clouddb-services.eqiad1.wikimedia.cloud:3306 (CLOSE_WAIT)
uwsgi 3388 tools.copyvios 18u 0000 0,13 0 8269 anon_inode
uwsgi 3388 tools.copyvios 19w REG 0,48 271594 171517984 /data/project/copyvios/git/copyvios/.earwigbot/logs/bot.log (nfs-tools-project.svc.eqiad.wmnet:/project/tools/project)
uwsgi 3388 tools.copyvios 20w REG 0,48 8910 171517942 /data/project/copyvios/git/copyvios/.earwigbot/logs/error.log (nfs-tools-project.svc.eqiad.wmnet:/project/tools/project)
uwsgi 3388 tools.copyvios 21w REG 0,48 2536869 171517661 /data/project/copyvios/git/copyvios/.earwigbot/logs/debug.log.2020-02-22_06 (nfs-tools-project.svc.eqiad.wmnet:/project/tools/project)
uwsgi 3388 tools.copyvios 22r CHR 1,9 0t0 25360901 /dev/urandom
uwsgi 3388 tools.copyvios 23u IPv4 41434269 0t0 TCP copyvios-68555b94f4-hkf8p:49412->text-lb.eqiad.wikimedia.org:443 (CLOSE_WAIT)
uwsgi 3388 tools.copyvios 24u IPv4 41461310 0t0 TCP copyvios-68555b94f4-hkf8p:40574->clouddb1001.clouddb-services.eqiad1.wikimedia.cloud:3306 (ESTABLISHED)
uwsgi 3388 tools.copyvios 25u IPv4 41406470 0t0 TCP copyvios-68555b94f4-hkf8p:48838->text-lb.eqiad.wikimedia.org:443 (CLOSE_WAIT)
uwsgi 3388 tools.copyvios 26u IPv4 41373364 0t0 TCP copyvios-68555b94f4-hkf8p:38572->clouddb1001.clouddb-services.eqiad1.wikimedia.cloud:3306 (CLOSE_WAIT)
uwsgi 3388 tools.copyvios 27u IPv4 41389383 0t0 TCP copyvios-68555b94f4-hkf8p:8000->192-168-81-4.ingress-nginx.ingress-nginx.svc.tools.local:58172 (CLOSE_WAIT)
uwsgi 3388 tools.copyvios 28u IPv4 41460363 0t0 TCP copyvios-68555b94f4-hkf8p:49900->text-lb.eqiad.wikimedia.org:443 (CLOSE_WAIT)
uwsgi 3388 tools.copyvios 29ur REG 0,48 116736 171448098 /data/project/copyvios/git/copyvios/.earwigbot/exclusions.db (nfs-tools-project.svc.eqiad.wmnet:/project/tools/project)
uwsgi 3388 tools.copyvios 31u IPv4 41371299 0t0 TCP copyvios-68555b94f4-hkf8p:47782->text-lb.eqiad.wikimedia.org:443 (CLOSE_WAIT)
root@tools-k8s-worker-32:/# lsof -p 3401
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
uwsgi 3401 tools.copyvios cwd DIR 0,48 4096 171443497 /data/project/copyvios/git/copyvios (nfs-tools-project.svc.eqiad.wmnet:/project/tools/project)
uwsgi 3401 tools.copyvios rtd DIR 0,110 4096 534336 /
uwsgi 3401 tools.copyvios txt REG 0,110 801664 1065028 /usr/bin/uwsgi-core
[...]
uwsgi 3401 tools.copyvios 0r CHR 1,3 0t0 25360896 /dev/null
uwsgi 3401 tools.copyvios 1u unix 0xffff9[...]83c800 0t0 25361516 socket
uwsgi 3401 tools.copyvios 2u unix 0xffff9[...]83c800 0t0 25361516 socket
uwsgi 3401 tools.copyvios 3u unix 0xffff9[...]83fc00 0t0 25361510 socket
uwsgi 3401 tools.copyvios 4u REG 0,48 1808831 96539886 /data/project/copyvios/uwsgi.log (nfs-tools-project.svc.eqiad.wmnet:/project/tools/project)
uwsgi 3401 tools.copyvios 5u unix 0xffff9[...]83d000 0t0 25361515 socket
uwsgi 3401 tools.copyvios 6u unix 0xffff9[...]83c800 0t0 25361516 socket
uwsgi 3401 tools.copyvios 7u IPv4 25361535 0t0 TCP *:8000 (LISTEN)
uwsgi 3401 tools.copyvios 8u 0000 0,13 0 8269 anon_inode
uwsgi 3401 tools.copyvios 9u unix 0xffff9[...]f6f400 0t0 25360993 socket
uwsgi 3401 tools.copyvios 10u 0000 0,13 0 8269 anon_inode
uwsgi 3401 tools.copyvios 11u 0000 0,13 0 8269 anon_inode
uwsgi 3401 tools.copyvios 12w REG 0,48 84015 171517789 /data/project/copyvios/git/copyvios/logs/.nfs000000000a39275d0000014a (nfs-tools-project.svc.eqiad.wmnet:/project/tools/project)
uwsgi 3401 tools.copyvios 13u 0000 0,13 0 8269 anon_inode
uwsgi 3401 tools.copyvios 14u unix 0xffff9[...]810c00 0t0 25360234 socket
uwsgi 3401 tools.copyvios 16u IPv4 25360235 0t0 TCP localhost:9001 (LISTEN)
uwsgi 3401 tools.copyvios 17w REG 0,48 271594 171517984 /data/project/copyvios/git/copyvios/.earwigbot/logs/bot.log (nfs-tools-project.svc.eqiad.wmnet:/project/tools/project)
uwsgi 3401 tools.copyvios 18w REG 0,48 8910 171517942 /data/project/copyvios/git/copyvios/.earwigbot/logs/error.log (nfs-tools-project.svc.eqiad.wmnet:/project/tools/project)
uwsgi 3401 tools.copyvios 19w REG 0,48 58889 171516931 /data/project/copyvios/git/copyvios/.earwigbot/logs/debug.log (nfs-tools-project.svc.eqiad.wmnet:/project/tools/project)
uwsgi 3401 tools.copyvios 20u IPv4 41493069 0t0 TCP copyvios-68555b94f4-hkf8p:50692->text-lb.eqiad.wikimedia.org:443 (ESTABLISHED)
uwsgi 3401 tools.copyvios 21u IPv4 41392949 0t0 TCP copyvios-68555b94f4-hkf8p:48552->text-lb.eqiad.wikimedia.org:443 (CLOSE_WAIT)
uwsgi 3401 tools.copyvios 22r CHR 1,9 0t0 25360901 /dev/urandom
uwsgi 3401 tools.copyvios 23u IPv4 41436690 0t0 TCP copyvios-68555b94f4-hkf8p:49466->text-lb.eqiad.wikimedia.org:443 (CLOSE_WAIT)
uwsgi 3401 tools.copyvios 24u IPv4 41493090 0t0 TCP copyvios-68555b94f4-hkf8p:41370->clouddb1001.clouddb-services.eqiad1.wikimedia.cloud:3306 (ESTABLISHED)
uwsgi 3401 tools.copyvios 25u IPv4 41451511 0t0 TCP copyvios-68555b94f4-hkf8p:49780->text-lb.eqiad.wikimedia.org:443 (CLOSE_WAIT)