Jump to content
DaLeberkasPepi

[6.5.0] nginx using 30% RAM (9.3GB)

28 posts in this topic Last Reply

Recommended Posts

Hello,

 

like you can see in the screenshot below nginx uses 30% of my installed ram. Up to the point where the webinterface states that 100% of my ram is used and the system pauses till it somehow freed up some ram. This now happened the second time and i only noticed that with the newest 6.5 version.

HBicI6t.png

 

And the 30% stays the same even when i stop all my docker containers. (the java process which also uses 30% ram is from crashplan and a 40tb+ backup)

So my guess is that the nginx process could be from the new webinterface, am i right with that?

 

Does anybody have any tip to further investigate what is causing this?

homeserver-diagnostics-20180324-1332.zip

Share this post


Link to post

Java Process 17011 using 17 Gig Virtual and 3.2 Gig Resident is from JDownloader

Java Process 535 using 26 Gig Virtual and 9.8 Gig Resident is from Crashplan

 

nginx process 18016 seems to be spawned from the main process thread and is not from any docker.

 

Memory indicates 24 Gig of 31 Gig is in use, with 6.1 Gig used as various buffers.

 


root      6472  0.0  0.0  68520  5580 ?        Ss   Mar17   0:00 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf
nobody   18016  0.2 29.4 9773584 9707828 ?     S    Mar20  14:04  \_ nginx: worker process

Edited by BRiT

Share this post


Link to post

yes the screenshot isnt right from the moment when the system was at 100% and when unraid had to force close some processes. To further clarify this i post a screenshot of my processes now.
LoNXNRc.png

 

as you can see the nginx process is slowly but steadily growing over time. And 9GB+ only for the nginx process of the webgui seems extremly high to me.

 

if also seen that the last time that happened unraid also wrote an "out of memory" warning into the log file

Mar 20 19:04:13 HomeServer emhttpd: req (11): csrf_token=****************&title=System+Log&cmd=%2FwebGui%2Fscripts%2Ftail_log&arg1=syslog
Mar 20 19:04:13 HomeServer emhttpd: cmd: /usr/local/emhttp/plugins/dynamix/scripts/tail_log syslog
Mar 20 19:04:35 HomeServer kernel: diagnostics invoked oom-killer: gfp_mask=0x14280ca(GFP_HIGHUSER_MOVABLE|__GFP_ZERO), nodemask=(null),  order=0, oom_score_adj=0
Mar 20 19:04:35 HomeServer kernel: diagnostics cpuset=/ mems_allowed=0
Mar 20 19:04:35 HomeServer kernel: CPU: 12 PID: 17940 Comm: diagnostics Tainted: G      D         4.14.26-unRAID #1
Mar 20 19:04:35 HomeServer kernel: Hardware name: ASUSTeK COMPUTER INC. Z9PA-U8 Series/Z9PA-U8 Series, BIOS 5507 07/19/2015
Mar 20 19:04:35 HomeServer kernel: Call Trace:
Mar 20 19:04:35 HomeServer kernel: dump_stack+0x5d/0x79
Mar 20 19:04:35 HomeServer kernel: dump_header+0x8f/0x23c
Mar 20 19:04:35 HomeServer kernel: oom_kill_process+0x7e/0x38a
Mar 20 19:04:35 HomeServer kernel: out_of_memory+0x3ad/0x3cd
Mar 20 19:04:35 HomeServer kernel: __alloc_pages_nodemask+0x958/0xb03
Mar 20 19:04:35 HomeServer kernel: alloc_pages_vma+0x146/0x16d
Mar 20 19:04:35 HomeServer kernel: __handle_mm_fault+0x6bc/0xff7
Mar 20 19:04:35 HomeServer kernel: handle_mm_fault+0x125/0x174
Mar 20 19:04:35 HomeServer kernel: __do_page_fault+0x25d/0x3e2
Mar 20 19:04:35 HomeServer kernel: ? page_fault+0x65/0x80
Mar 20 19:04:35 HomeServer kernel: page_fault+0x7b/0x80
Mar 20 19:04:35 HomeServer kernel: RIP: 0033:0x628626
Mar 20 19:04:35 HomeServer kernel: RSP: 002b:00007ffdf87bf490 EFLAGS: 00010287
Mar 20 19:04:35 HomeServer kernel: RAX: 000014c5a245f000 RBX: 000000000000001c RCX: 000014c5a2463600
Mar 20 19:04:35 HomeServer kernel: RDX: 000014c5a2462200 RSI: 0000000000000a00 RDI: fffffffffffff600
Mar 20 19:04:35 HomeServer kernel: RBP: 000014c5a2400040 R08: 0000000000000063 R09: 00000000c004001c
Mar 20 19:04:35 HomeServer kernel: R10: 000014c5a2400000 R11: 0000000000000001 R12: 0000000000000005
Mar 20 19:04:35 HomeServer kernel: R13: 000000000100c980 R14: 0000000001047700 R15: 0000000001023000
Mar 20 19:04:35 HomeServer kernel: Mem-Info:
Mar 20 19:04:35 HomeServer kernel: active_anon:7716053 inactive_anon:176182 isolated_anon:0
Mar 20 19:04:35 HomeServer kernel: active_file:1314 inactive_file:21522 isolated_file:9
Mar 20 19:04:35 HomeServer kernel: unevictable:0 dirty:72 writeback:0 unstable:0
Mar 20 19:04:35 HomeServer kernel: slab_reclaimable:35330 slab_unreclaimable:99097
Mar 20 19:04:35 HomeServer kernel: mapped:38370 shmem:933661 pagetables:23129 bounce:0
Mar 20 19:04:35 HomeServer kernel: free:67949 free_pcp:954 free_cma:0
Mar 20 19:04:35 HomeServer kernel: Node 0 active_anon:30864212kB inactive_anon:704728kB active_file:5480kB inactive_file:85660kB unevictable:0kB isolated(anon):0kB isolated(file):36kB mapped:153480kB dirty:288kB writeback:0kB shmem:3734644kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 5632000kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no
Mar 20 19:04:35 HomeServer kernel: Node 0 DMA free:15884kB min:64kB low:80kB high:96kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15968kB managed:15884kB mlocked:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
Mar 20 19:04:35 HomeServer kernel: lowmem_reserve[]: 0 1820 32024 32024
Mar 20 19:04:35 HomeServer kernel: Node 0 DMA32 free:128500kB min:7676kB low:9592kB high:11508kB active_anon:1814352kB inactive_anon:16300kB active_file:204kB inactive_file:4720kB unevictable:0kB writepending:0kB present:2030388kB managed:2017004kB mlocked:0kB kernel_stack:2740kB pagetables:2232kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
Mar 20 19:04:35 HomeServer kernel: lowmem_reserve[]: 0 0 30204 30204
Mar 20 19:04:35 HomeServer kernel: Node 0 Normal free:127292kB min:127424kB low:159280kB high:191136kB active_anon:29052372kB inactive_anon:688428kB active_file:6196kB inactive_file:81036kB unevictable:0kB writepending:288kB present:31457280kB managed:30930116kB mlocked:0kB kernel_stack:36220kB pagetables:90388kB bounce:0kB free_pcp:556kB local_pcp:0kB free_cma:0kB
Mar 20 19:04:35 HomeServer kernel: lowmem_reserve[]: 0 0 0 0
Mar 20 19:04:35 HomeServer kernel: Node 0 DMA: 1*4kB (U) 1*8kB (U) 0*16kB 0*32kB 2*64kB (U) 1*128kB (U) 1*256kB (U) 0*512kB 1*1024kB (U) 1*2048kB (U) 3*4096kB (M) = 15884kB
Mar 20 19:04:35 HomeServer kernel: Node 0 DMA32: 134*4kB (UE) 284*8kB (UME) 390*16kB (UME) 564*32kB (UME) 453*64kB (UME) 251*128kB (UME) 100*256kB (UME) 29*512kB (UE) 0*1024kB 0*2048kB 0*4096kB = 128664kB
Mar 20 19:04:35 HomeServer kernel: Node 0 Normal: 346*4kB (UME) 108*8kB (UME) 111*16kB (UME) 2455*32kB (UME) 723*64kB (UME) 5*128kB (M) 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 129496kB
Mar 20 19:04:35 HomeServer kernel: 956560 total pagecache pages
Mar 20 19:04:35 HomeServer kernel: 0 pages in swap cache
Mar 20 19:04:35 HomeServer kernel: Swap cache stats: add 0, delete 0, find 0/0
Mar 20 19:04:35 HomeServer kernel: Free swap  = 0kB
Mar 20 19:04:35 HomeServer kernel: Total swap = 0kB
Mar 20 19:04:35 HomeServer kernel: 8375909 pages RAM
Mar 20 19:04:35 HomeServer kernel: 0 pages HighMem/MovableOnly
Mar 20 19:04:35 HomeServer kernel: 135158 pages reserved
Mar 20 19:04:35 HomeServer kernel: 0 pages cma reserved
Mar 20 19:04:35 HomeServer kernel: [ pid ]   uid  tgid total_vm      rss nr_ptes nr_pmds swapents oom_score_adj name
Mar 20 19:04:35 HomeServer kernel: [ 1496]     0  1496     7276     1000      15       3        0         -1000 udevd
Mar 20 19:04:35 HomeServer kernel: [ 1834]     0  1834    66050      774      35       3        0             0 rsyslogd
Mar 20 19:04:35 HomeServer kernel: [ 1929]    81  1929     4976      582      13       3        0             0 dbus-daemon
Mar 20 19:04:35 HomeServer kernel: [ 1938]    32  1938     3384      557      11       3        0             0 rpcbind
Mar 20 19:04:35 HomeServer kernel: [ 1942]    32  1942     4880     1510      14       3        0             0 rpc.statd
Mar 20 19:04:35 HomeServer kernel: [ 1972]    44  1972    25800     1297      24       3        0             0 ntpd
Mar 20 19:04:35 HomeServer kernel: [ 1979]     0  1979     1131       21       7       3        0             0 acpid
Mar 20 19:04:35 HomeServer kernel: [ 1989]     0  1989     1657      471       8       3        0             0 crond
Mar 20 19:04:35 HomeServer kernel: [ 1991]     0  1991     1654      383       7       3        0             0 atd
Mar 20 19:04:35 HomeServer kernel: [ 1997]     0  1997    56403     2368     107       3        0             0 nmbd
Mar 20 19:04:35 HomeServer kernel: [ 2000]     0  2000    76244     4371     144       3        0             0 smbd
Mar 20 19:04:35 HomeServer kernel: [ 2002]     0  2002    74813     1702     137       3        0             0 smbd-notifyd
Mar 20 19:04:35 HomeServer kernel: [ 2003]     0  2003    74273     1076     135       3        0             0 cleanupd
Mar 20 19:04:35 HomeServer kernel: [ 2006]     0  2006    69062     2530     130       3        0             0 winbindd
Mar 20 19:04:35 HomeServer kernel: [ 2008]     0  2008    69687     3307     136       3        0             0 winbindd
Mar 20 19:04:35 HomeServer kernel: [ 6294]     0  6294     1663      453       8       3        0             0 agetty
Mar 20 19:04:35 HomeServer kernel: [ 6295]     0  6295     1663      439       8       3        0             0 agetty
Mar 20 19:04:35 HomeServer kernel: [ 6296]     0  6296     1663      446       9       3        0             0 agetty
Mar 20 19:04:35 HomeServer kernel: [ 6297]     0  6297     1663      458       8       3        0             0 agetty
Mar 20 19:04:35 HomeServer kernel: [ 6298]     0  6298     1663      438       8       3        0             0 agetty
Mar 20 19:04:35 HomeServer kernel: [ 6299]     0  6299     1663      434       8       3        0             0 agetty
Mar 20 19:04:35 HomeServer kernel: [ 6328]     0  6328     6161      849      17       3        0         -1000 sshd
Mar 20 19:04:35 HomeServer kernel: [ 6335]     0  6335     1655      433       8       3        0             0 inetd
Mar 20 19:04:35 HomeServer kernel: [ 6400]     0  6400    10530      754      24       3        0             0 netatalk
Mar 20 19:04:35 HomeServer kernel: [ 6416]    61  6416     8188      876      19       3        0             0 avahi-daemon
Mar 20 19:04:35 HomeServer kernel: [ 6417]    61  6417     8091       65      18       3        0             0 avahi-daemon
Mar 20 19:04:35 HomeServer kernel: [ 6418]     0  6418    11382     1156      27       3        0             0 afpd
Mar 20 19:04:35 HomeServer kernel: [ 6419]     0  6419     8910     1010      22       3        0             0 cnid_metad
Mar 20 19:04:35 HomeServer kernel: [ 6428]     0  6428     3226       27      10       3        0             0 avahi-dnsconfd
Mar 20 19:04:35 HomeServer kernel: [ 6441]     0  6441    90086     1266      24       4        0             0 emhttpd
Mar 20 19:04:35 HomeServer kernel: [ 6469]     0  6469    44773     1360      27       3        0             0 ttyd
Mar 20 19:04:35 HomeServer kernel: [ 6472]     0  6472    17130      939      18       3        0             0 nginx
Mar 20 19:04:35 HomeServer kernel: [ 6473]    99  6473  3541290  3524817    6906      16        0             0 nginx
Mar 20 19:04:35 HomeServer kernel: [ 6611]     0  6611     2466      698       9       3        0             0 diskload
Mar 20 19:04:35 HomeServer kernel: [ 7006]     0  7006    55308      142      17       3        0             0 shfs
Mar 20 19:04:35 HomeServer kernel: [ 7019]     0  7019   449720    24990     155       4        0             0 shfs
Mar 20 19:04:35 HomeServer kernel: [ 7216]     0  7216     3539     1377      11       3        0             0 cache_dirs
Mar 20 19:04:35 HomeServer kernel: [ 8502]     0  8502   534290    17945     117       7        0          -500 dockerd
Mar 20 19:04:35 HomeServer kernel: [ 8522]     0  8522   409814     6101      92       7        0          -500 docker-containe
Mar 20 19:04:35 HomeServer kernel: [ 8965]     0  8965    36195      900      39       3        0             0 virtlockd
Mar 20 19:04:35 HomeServer kernel: [ 8971]     0  8971    36193      877      38       4        0             0 virtlogd
Mar 20 19:04:35 HomeServer kernel: [ 8988]     0  8988   341812     4605     112       5        0             0 libvirtd
Mar 20 19:04:35 HomeServer kernel: [ 9142]    99  9142     5293      517      13       3        0             0 dnsmasq
Mar 20 19:04:35 HomeServer kernel: [ 9143]     0  9143     5260       58      12       3        0             0 dnsmasq
Mar 20 19:04:35 HomeServer kernel: [ 9199]     0  9199      906      329       6       5        0          -500 docker-proxy
Mar 20 19:04:35 HomeServer kernel: [ 9205]     0  9205     1944     1052       9       5        0          -999 docker-containe
Mar 20 19:04:35 HomeServer kernel: [ 9220]     0  9220   579887    13634     144       7        0             0 cadvisor
Mar 20 19:04:35 HomeServer kernel: [10580]     0 10580     1880      878       8       5        0          -999 docker-containe
Mar 20 19:04:35 HomeServer kernel: [10599]     0 10599       49        1       3       2        0             0 s6-svscan
Mar 20 19:04:35 HomeServer kernel: [10815]     0 10815       49        1       3       2        0             0 s6-supervise
Mar 20 19:04:35 HomeServer kernel: [12257]     0 12257       49        1       3       2        0             0 s6-supervise
Mar 20 19:04:35 HomeServer kernel: [12262]     0 12262       49        1       3       2        0             0 s6-supervise
Mar 20 19:04:35 HomeServer kernel: [12263]     0 12263       49        1       3       2        0             0 s6-supervise
Mar 20 19:04:35 HomeServer kernel: [12265]     0 12265       49        1       3       2        0             0 s6-supervise
Mar 20 19:04:35 HomeServer kernel: [12266]     0 12266       49        1       3       2        0             0 s6-supervise
Mar 20 19:04:35 HomeServer kernel: [12438]     2 12438      125        1       3       2        0             0 s6-fdholderd
Mar 20 19:04:35 HomeServer kernel: [12455]     0 12455     3739      189      13       3        0             0 nginx
Mar 20 19:04:35 HomeServer kernel: [12467]     0 12467    30664    11547      63       3        0             0 Xvfb
Mar 20 19:04:35 HomeServer kernel: [12495]   122 12495     3850      317      10       3        0             0 nginx
Mar 20 19:04:35 HomeServer kernel: [12496]   122 12496     3850      297      10       3        0             0 nginx
Mar 20 19:04:35 HomeServer kernel: [12501]     0 12501       49        1       3       2        0             0 s6-supervise
Mar 20 19:04:35 HomeServer kernel: [12537]    99 12537    21660      786      46       3        0             0 openbox
Mar 20 19:04:35 HomeServer kernel: [12551]     0 12551       49        1       3       2        0             0 s6-supervise
Mar 20 19:04:35 HomeServer kernel: [12552]     0 12552       49        1       3       2        0             0 s6-supervise
Mar 20 19:04:35 HomeServer kernel: [12559]     0 12559    17907     6352      38       3        0             0 x11vnc
Mar 20 19:04:35 HomeServer kernel: [12569]    99 12569      384       14       6       3        0             0 startapp.sh
Mar 20 19:04:35 HomeServer kernel: [12600]    99 12600  4624024   421210    1369      18        0             0 java
Mar 20 19:04:35 HomeServer kernel: [17115]     0 17115    69062     1669     129       3        0             0 winbindd
Mar 20 19:04:35 HomeServer kernel: [ 4236]     0  4236     1963     1143       8       5        0          -500 docker-proxy
Mar 20 19:04:35 HomeServer kernel: [ 4248]     0  4248      906      344       7       5        0          -500 docker-proxy
Mar 20 19:04:35 HomeServer kernel: [ 4261]     0  4261      906      329       7       5        0          -500 docker-proxy
Mar 20 19:04:35 HomeServer kernel: [ 4274]     0  4274      906      344       6       5        0          -500 docker-proxy
Mar 20 19:04:35 HomeServer kernel: [ 4287]     0  4287      906      344       6       5        0          -500 docker-proxy
Mar 20 19:04:35 HomeServer kernel: [ 4299]     0  4299      906      344       6       5        0          -500 docker-proxy
Mar 20 19:04:35 HomeServer kernel: [ 4311]     0  4311     1322      488       7       5        0          -500 docker-proxy
Mar 20 19:04:35 HomeServer kernel: [ 4318]     0  4318     1880      864       8       5        0          -999 docker-containe
Mar 20 19:04:35 HomeServer kernel: [ 4333]     0  4333       49        1       3       2        0             0 s6-svscan
Mar 20 19:04:35 HomeServer kernel: [ 4414]     0  4414       49        1       3       2        0             0 s6-supervise
Mar 20 19:04:35 HomeServer kernel: [ 4619]     0  4619       49        1       3       2        0             0 s6-supervise
Mar 20 19:04:35 HomeServer kernel: [ 4622]    99  4622  2946653    99132     923      14        0             0 java
Mar 20 19:04:35 HomeServer kernel: [ 5660]    99  5660   400066     8776     137       5        0             0 mongod
Mar 20 19:04:35 HomeServer kernel: [ 9511]     0  9511     3057     1155      11       5        0          -999 docker-containe
Mar 20 19:04:35 HomeServer kernel: [ 9526]     0  9526       49        1       3       2        0             0 s6-svscan
Mar 20 19:04:35 HomeServer kernel: [ 9563]     0  9563       49        1       3       2        0             0 s6-supervise
Mar 20 19:04:35 HomeServer kernel: [10261]     0 10261       49        1       3       2        0             0 s6-supervise
Mar 20 19:04:35 HomeServer kernel: [10263]    99 10263     1126       17       7       3        0             0 sh
Mar 20 19:04:35 HomeServer kernel: [10268]    99 10268   383581    28121     744       5        0             0 Plex Media Serv
Mar 20 19:04:35 HomeServer kernel: [10524]    99 10524   514535   142375     382       5        0             0 Plex Script Hos
Mar 20 19:04:35 HomeServer kernel: [10900]    99 10900    43047      351      54       3        0             0 Plex Tuner Serv
Mar 20 19:04:35 HomeServer kernel: [10943]    99 10943   364219    16187     129       5        0             0 Plex Script Hos
Mar 20 19:04:35 HomeServer kernel: [10945]    99 10945   222365     9589      97       4        0             0 Plex Script Hos
Mar 20 19:04:35 HomeServer kernel: [ 5923]     0  5923     2232      857      10       5        0          -999 docker-containe
Mar 20 19:04:35 HomeServer kernel: [ 5938]     0  5938     1070       18       7       3        0             0 tini
Mar 20 19:04:35 HomeServer kernel: [ 6013]     0  6013    27650     3284      59       3        0             0 supervisord
Mar 20 19:04:35 HomeServer kernel: [ 6210]    99  6210     6067      109      15       3        0             0 deluge.sh
Mar 20 19:04:35 HomeServer kernel: [ 6212]    99  6212     6067      118      15       3        0             0 privoxy.sh
Mar 20 19:04:35 HomeServer kernel: [ 6236]    99  6236     3455      136      11       3        0             0 privoxy
Mar 20 19:04:35 HomeServer kernel: [ 6309]    99  6309   197128    60082     215       3        0             0 deluged
Mar 20 19:04:35 HomeServer kernel: [16146]     0 16146      906      344       7       5        0          -500 docker-proxy
Mar 20 19:04:35 HomeServer kernel: [16151]     0 16151     1880      716       8       5        0          -999 docker-containe
Mar 20 19:04:35 HomeServer kernel: [16166]     0 16166     8501     1389      20       3        0             0 my_init
Mar 20 19:04:35 HomeServer kernel: [16230]     0 16230       49        5       3       2        0             0 runsvdir
Mar 20 19:04:35 HomeServer kernel: [16231]     0 16231       44        3       3       2        0             0 runsv
Mar 20 19:04:35 HomeServer kernel: [16234]     0 16234       44        1       3       2        0             0 runsv
Mar 20 19:04:35 HomeServer kernel: [16235]     0 16235       44        3       3       2        0             0 runsv
Mar 20 19:04:35 HomeServer kernel: [16236]     0 16236       44        2       3       2        0             0 runsv
Mar 20 19:04:35 HomeServer kernel: [16237]     0 16237     7111       60      17       3        0             0 cron
Mar 20 19:04:35 HomeServer kernel: [16238]     0 16238    16622      443      36       3        0             0 syslog-ng
Mar 20 19:04:35 HomeServer kernel: [16239]     0 16239     5694       66      14       3        0             0 run
Mar 20 19:04:35 HomeServer kernel: [16240]     0 16240     2293       32       8       3        0             0 tail
Mar 20 19:04:35 HomeServer kernel: [16242]     0 16242   329398    14314     209       4        0             0 tonidoconsole
Mar 20 19:04:35 HomeServer kernel: [ 9223]     0  9223    46182     5421      77       4        0             0 auto_turbo.php
Mar 20 19:04:35 HomeServer kernel: [ 7399]    99  7399     2912     1942      10       5        0             0 unbalance
Mar 20 19:04:35 HomeServer kernel: [19842]     0 19842      906      344       6       5        0          -500 docker-proxy
Mar 20 19:04:35 HomeServer kernel: [19854]     0 19854      906      344       7       5        0          -500 docker-proxy
Mar 20 19:04:35 HomeServer kernel: [19863]     0 19863     1880      875       8       5        0          -999 docker-containe
Mar 20 19:04:35 HomeServer kernel: [19878]     0 19878       49        5       3       2        0             0 s6-svscan
Mar 20 19:04:35 HomeServer kernel: [19954]     0 19954       49        1       3       2        0             0 s6-supervise
Mar 20 19:04:35 HomeServer kernel: [21025]     0 21025       49        1       3       2        0             0 s6-supervise
Mar 20 19:04:35 HomeServer kernel: [21026]     0 21026       49        1       3       2        0             0 s6-supervise
Mar 20 19:04:35 HomeServer kernel: [21028]     0 21028       49        1       3       2        0             0 s6-supervise
Mar 20 19:04:35 HomeServer kernel: [21029]     0 21029       49        1       3       2        0             0 s6-supervise
Mar 20 19:04:35 HomeServer kernel: [21030]     0 21030       49        1       3       2        0             0 s6-supervise
Mar 20 19:04:35 HomeServer kernel: [21031]     0 21031       49        1       3       2        0             0 s6-supervise
Mar 20 19:04:35 HomeServer kernel: [21032]     0 21032       49        1       3       2        0             0 s6-supervise
Mar 20 19:04:35 HomeServer kernel: [21033]     0 21033       49        1       3       2        0             0 s6-supervise
Mar 20 19:04:35 HomeServer kernel: [21222]     2 21222      124        1       3       2        0             0 s6-fdholderd
Mar 20 19:04:35 HomeServer kernel: [21241]     0 21241     3719      164      11       3        0             0 nginx
Mar 20 19:04:35 HomeServer kernel: [21255]     0 21255    23293     5517      50       3        0             0 Xvfb
Mar 20 19:04:35 HomeServer kernel: [21286]   122 21286     3832      274       9       3        0             0 nginx
Mar 20 19:04:35 HomeServer kernel: [21287]   122 21287     3832      274       9       3        0             0 nginx
Mar 20 19:04:35 HomeServer kernel: [21292]     0 21292       49        1       3       2        0             0 s6-supervise
Mar 20 19:04:35 HomeServer kernel: [21307]    99 21307  6863639  2019472    4376      23        0             0 java
Mar 20 19:04:35 HomeServer kernel: [21587]     0 21587       49        1       3       2        0             0 forstdin
Mar 20 19:04:35 HomeServer kernel: [21664]    99 21664    21824      541      46       3        0             0 openbox
Mar 20 19:04:35 HomeServer kernel: [21710]     0 21710      382       12       6       3        0             0 tail
Mar 20 19:04:35 HomeServer kernel: [21727]     0 21727       49        2       3       2        0             0 forstdin
Mar 20 19:04:35 HomeServer kernel: [21740]     0 21740    18361     5095      40       3        0             0 x11vnc
Mar 20 19:04:35 HomeServer kernel: [21751]    99 21751   255629    14538     258      30        0             0 crashplan
Mar 20 19:04:35 HomeServer kernel: [21777]     0 21777      385       16       7       3        0             0 tailstatusfile
Mar 20 19:04:35 HomeServer kernel: [31027]    99 31027    81252      790     131       4        0             0 crashplan
Mar 20 19:04:35 HomeServer kernel: [22697]    99 22697   274099    21533     475      93        0           300 crashplan
Mar 20 19:04:35 HomeServer kernel: [20425]     0 20425    46282     3196      70       3        0             0 php-fpm
Mar 20 19:04:35 HomeServer kernel: [ 1828]    99  1828     5394      194      14       3        0             0 EasyAudioEncode
Mar 20 19:04:35 HomeServer kernel: [26758]     0 26758     3057      917      11       5        0          -999 docker-containe
Mar 20 19:04:35 HomeServer kernel: [26773]     0 26773      379        1       6       3        0             0 entrypoint
Mar 20 19:04:35 HomeServer kernel: [26805]     0 26805   153413    11328      74      47        0             0 node
Mar 20 19:04:35 HomeServer kernel: [26833]     0 26833   158789     8434      60      33        0             0 node
Mar 20 19:04:35 HomeServer kernel: [27355]     0 27355   160955    11230     104      42        0             0 node
Mar 20 19:04:35 HomeServer kernel: [28780]     0 28780      906      344       6       5        0          -500 docker-proxy
Mar 20 19:04:35 HomeServer kernel: [28786]     0 28786     1880      875       8       5        0          -999 docker-containe
Mar 20 19:04:35 HomeServer kernel: [28801]     0 28801       49        1       3       2        0             0 s6-svscan
Mar 20 19:04:35 HomeServer kernel: [28878]     0 28878       49        1       3       2        0             0 s6-supervise
Mar 20 19:04:35 HomeServer kernel: [29065]     0 29065       49        1       3       2        0             0 s6-supervise
Mar 20 19:04:35 HomeServer kernel: [29068]    99 29068   487451   131939     516       6        0             0 mono
Mar 20 19:04:35 HomeServer kernel: [27418]     0 27418      906      344       6       5        0          -500 docker-proxy
Mar 20 19:04:35 HomeServer kernel: [27424]     0 27424     2232      891       9       5        0          -999 docker-containe
Mar 20 19:04:35 HomeServer kernel: [27440]     0 27440       49        1       3       2        0             0 s6-svscan
Mar 20 19:04:35 HomeServer kernel: [27517]     0 27517       49        1       3       2        0             0 s6-supervise
Mar 20 19:04:35 HomeServer kernel: [27680]     0 27680       49        1       3       2        0             0 s6-supervise
Mar 20 19:04:35 HomeServer kernel: [27683]    99 27683    67211    23474     134       3        0             0 python
Mar 20 19:04:35 HomeServer kernel: [ 9953]     0  9953     1880      860       9       5        0          -999 docker-containe
Mar 20 19:04:35 HomeServer kernel: [ 9968]     0  9968       49        1       3       2        0             0 s6-svscan
Mar 20 19:04:35 HomeServer kernel: [10068]     0 10068       49        1       3       2        0             0 s6-supervise
Mar 20 19:04:35 HomeServer kernel: [10370]     0 10370       49        1       3       2        0             0 s6-supervise
Mar 20 19:04:35 HomeServer kernel: [10373]   911 10373    35773     7234      74       3        0             0 python
Mar 20 19:04:35 HomeServer kernel: [10394]   911 10394    37125     8299      73       3        0             0 python
Mar 20 19:04:35 HomeServer kernel: [10395]   911 10395    46642    17336      92       3        0             0 python
Mar 20 19:04:35 HomeServer kernel: [11773]    99 11773   340438    42559     210       4        0             0 Plex Transcoder
Mar 20 19:04:35 HomeServer kernel: [ 9779]     0  9779     1880      894       8       5        0          -999 docker-containe
Mar 20 19:04:35 HomeServer kernel: [ 9794]     0  9794     7926     1183      19       3        0             0 my_init
Mar 20 19:04:35 HomeServer kernel: [10316]     0 10316       49        5       3       2        0             0 runsvdir
Mar 20 19:04:35 HomeServer kernel: [10317]     0 10317       44        1       3       2        0             0 runsv
Mar 20 19:04:35 HomeServer kernel: [10318]     0 10318       44        1       3       2        0             0 runsv
Mar 20 19:04:35 HomeServer kernel: [10319]     0 10319       44        1       3       2        0             0 runsv
Mar 20 19:04:35 HomeServer kernel: [10320]     0 10320       44        1       3       2        0             0 runsv
Mar 20 19:04:35 HomeServer kernel: [10321]     0 10321       44        1       3       2        0             0 runsv
Mar 20 19:04:35 HomeServer kernel: [10322]     0 10322       44        1       3       2        0             0 runsv
Mar 20 19:04:35 HomeServer kernel: [10323]     0 10323       44        1       3       2        0             0 runsv
Mar 20 19:04:35 HomeServer kernel: [10324]     0 10324       44        1       3       2        0             0 runsv
Mar 20 19:04:35 HomeServer kernel: [10325]     0 10325       44        1       3       2        0             0 runsv
Mar 20 19:04:35 HomeServer kernel: [10326]     0 10326       44        1       3       2        0             0 runsv
Mar 20 19:04:35 HomeServer kernel: [10327]     0 10327       44        1       3       2        0             0 runsv
Mar 20 19:04:35 HomeServer kernel: [10329]     0 10329     5274       67      15       3        0             0 run
Mar 20 19:04:35 HomeServer kernel: [10331]     0 10331    16436      373      36       3        0             0 syslog-ng
Mar 20 19:04:35 HomeServer kernel: [10336]     0 10336     6688       56      18       3        0             0 cron
Mar 20 19:04:35 HomeServer kernel: [10337]     0 10337     1870       19       9       3        0             0 tail
Mar 20 19:04:35 HomeServer kernel: [11547]     0 11547    64730     1704      35       3        0             0 monitor.py
Mar 20 19:04:35 HomeServer kernel: [18493]    99 18493   483004   159270     483       5        0             0 Plex Transcoder
Mar 20 19:04:35 HomeServer kernel: [13199]    99 13199   369621    53309     246       5        0             0 Plex Transcoder
Mar 20 19:04:35 HomeServer kernel: [13688]     0 13688     1126       22       7       3        0             0 sh
Mar 20 19:04:35 HomeServer kernel: [13991]     0 13991     1126       25       7       3        0             0 healthcheck.sh
Mar 20 19:04:35 HomeServer kernel: [14205]     0 14205    10065       47      21       3        0             0 curl
Mar 20 19:04:35 HomeServer kernel: [14915]     0 14915    46845     3899      71       3        0             0 php-fpm
Mar 20 19:04:35 HomeServer kernel: [14929]     0 14929    46877     4817      73       3        0             0 php-fpm
Mar 20 19:04:35 HomeServer kernel: [15333]     0 15333    46861     4572      72       3        0             0 php-fpm
Mar 20 19:04:35 HomeServer kernel: [16428]     0 16428    46726     3571      70       3        0             0 php-fpm
Mar 20 19:04:35 HomeServer kernel: [16446]     0 16446       49        1       3       2        0             0 forstdin
Mar 20 19:04:35 HomeServer kernel: [17167]     0 17167      385       16       5       3        0             0 tailstatusfile
Mar 20 19:04:35 HomeServer kernel: [17244]    99 17244      384       15       6       3        0             0 startapp.sh
Mar 20 19:04:35 HomeServer kernel: [17262]     0 17262     1096       16       6       3        0             0 sh
Mar 20 19:04:35 HomeServer kernel: [17283]  1000 17283    78714     3968     147       3        0             0 smbd
Mar 20 19:04:35 HomeServer kernel: [17285]     0 17285      382       11       6       3        0             0 stat
Mar 20 19:04:35 HomeServer kernel: [17315]     0 17315       45        2       3       2        0             0 foreground
Mar 20 19:04:35 HomeServer kernel: [17321]     0 17321      382       12       6       3        0             0 filter
Mar 20 19:04:35 HomeServer kernel: [17429]     0 17429      382        8       6       3        0             0 md5sum
Mar 20 19:04:35 HomeServer kernel: [17541]     0 17541    46742     3641      70       3        0             0 php-fpm
Mar 20 19:04:35 HomeServer kernel: [17546]     0 17546    46726     3572      70       3        0             0 php-fpm
Mar 20 19:04:35 HomeServer kernel: [17547]     0 17547    46840     3781      71       3        0             0 php-fpm
Mar 20 19:04:35 HomeServer kernel: [17551]     0 17551    46726     3573      70       3        0             0 php-fpm
Mar 20 19:04:35 HomeServer kernel: [17555]     0 17555    46726     3556      70       3        0             0 php-fpm
Mar 20 19:04:35 HomeServer kernel: [17564]     0 17564    46792     3713      70       3        0             0 php-fpm
Mar 20 19:04:35 HomeServer kernel: [17573]     0 17573    46726     3556      70       3        0             0 php-fpm
Mar 20 19:04:35 HomeServer kernel: [17580]     0 17580    46726     3572      70       3        0             0 php-fpm
Mar 20 19:04:35 HomeServer kernel: [17682]     0 17682      382        1       5       3        0             0 cut
Mar 20 19:04:35 HomeServer kernel: [17835]    99 17835      381        1       4       3        0             0 cat
Mar 20 19:04:35 HomeServer kernel: [17857]     0 17857     1126      192       7       3        0             0 sleep
Mar 20 19:04:35 HomeServer kernel: [17940]     0 17940    45738     4996      75       3        0             0 diagnostics
Mar 20 19:04:35 HomeServer kernel: [17961]     0 17961     1126      204       7       3        0             0 sleep
Mar 20 19:04:35 HomeServer kernel: Out of memory: Kill process 6473 (nginx) score 428 or sacrifice child
Mar 20 19:04:35 HomeServer kernel: Killed process 6473 (nginx) total-vm:14165160kB, anon-rss:14093668kB, file-rss:4kB, shmem-rss:5596kB
Mar 20 19:04:36 HomeServer kernel: oom_reaper: reaped process 6473 (nginx), now anon-rss:0kB, file-rss:0kB, shmem-rss:208kB
Mar 20 19:04:36 HomeServer nginx: 2018/03/20 19:04:36 [alert] 6472#6472: worker process 6473 exited on signal 9

 

Share this post


Link to post
15 hours ago, DaLeberkasPepi said:

I'll update to 6.5.1-rc2 and see if the nginx process behaves the same

 

Try starting in safe mode without plugins and see if the problem persists.

 

Share this post


Link to post

it's definitely happening again with 6.5.1-rc2, not running safe mode yet

top - 19:36:49 up 2 days, 15:08,  2 users,  load average: 0.99, 1.11, 1.13
Tasks: 566 total,   1 running, 301 sleeping,   0 stopped,   3 zombie
%Cpu(s):  1.8 us,  0.5 sy,  0.0 ni, 97.6 id,  0.1 wa,  0.0 hi,  0.1 si,  0.0 st
KiB Mem : 32963008 total,   305096 free, 23242512 used,  9415400 buff/cache
KiB Swap:        0 total,        0 free,        0 used.  8397600 avail Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
22004 nobody    20   0 26.181g 8.252g   6220 S  22.8 26.3   1216:15 java
 6472 nobody    20   0 7123612 6.731g   5572 S   0.7 21.4   6:12.96 nginx
12952 nobody    20   0 17.710g 4.418g   1532 S   2.0 14.1   1040:45 java
18234 nobody    20   0 1822460 481152   5124 S   0.0  1.5  10:26.53 mono
16792 nobody    20   0 11.242g 403552      0 S   0.7  1.2  13:23.23 java
11712 nobody    20   0  736736 256936      0 S   0.7  0.8  46:29.59 deluged
23729 nobody    20   0  640628  98488  24776 S   2.3  0.3   0:43.52 Plex Media Serv
26124 nobody    20   0 1041788  92304  30720 S   0.7  0.3  41:51.87 crashplan
 7108 root      20   0 1797884  83028    908 S   1.3  0.3   1445:05 shfs
11074 nobody    20   0  291752  78904      0 S   0.7  0.2  11:20.86 python
23855 nobody    20   0 1456456  65948   8152 S   0.0  0.2   0:08.27 Plex Script Hos
 5352 911       20   0  183340  65372   4388 S   0.0  0.2   0:38.10 python
24768 nobody    20   0  991312  64984  22408 S   0.7  0.2  14:42.84 crashplan
 8727 root      20   0 1801636  59992  32432 S   0.3  0.2   8:17.56 dockerd
19291 root      20   0 2394616  52016   5436 S   2.0  0.2 118:24.18 cadvisor
23756 nobody    35  15 1772784  51480   6012 S   0.3  0.2   0:09.86 Plex Script Hos
 9071 root      20   0  613768  47096   1492 S   0.0  0.1   0:01.67 node
12271 root      20   0  118376  45936  16380 S   0.3  0.1  44:00.27 Xvfb
 9576 root      20   0  644548  45688      0 S   0.0  0.1   6:27.17 node
23857 nobody    20   0  888440  42492   5496 S   0.0  0.1   0:05.07 Plex Script Hos
 5329 911       20   0  150216  39100   9408 S   0.0  0.1   0:00.37 python
17742 nobody    20   0 1596200  34532      0 S   0.3  0.1  15:50.35 mongod
 5351 911       20   0  154316  33880   3488 S   0.0  0.1   0:00.01 python
 9482 root      20   0  634132  32976    988 S   0.0  0.1   0:59.54 node
12914 root      20   0   71300  25848  16080 S   0.0  0.1  18:31.11 x11vnc
 7147 root      20   0  184744  23284  17904 S   0.0  0.1   0:05.59 auto_turbo.php
 8746 root      20   0 1570868  21920  13376 S   0.3  0.1   5:38.43 docker-containe
21951 root      20   0   93376  20476   9144 S   0.0  0.1   0:09.82 Xvfb
24753 root      20   0   72516  18620   9180 S   0.0  0.1   2:16.73 x11vnc
 2004 root      20   0  304844  17252  14480 S   0.0  0.1   0:00.37 smbd
 9318 root      20   0 1367272  16556  10644 S   0.0  0.1   0:00.44 libvirtd
 4477 root      20   0  309700  15804  12768 S   0.0  0.0   0:00.02 smbd
21625 root      20   0  187244  14968   9224 S   0.0  0.0   0:00.09 php-fpm

what amount of ram usage of the unraid nginx process is considered abnormal? Because it took 2 1/2 days to use that much ram.

Share this post


Link to post

My server is up for almost 3½ days.

top - 19:43:56 up 3 days, 10:56,  2 users,  load average: 0.31, 0.42, 0.47
Tasks: 556 total,   1 running, 306 sleeping,   0 stopped,   0 zombie
%Cpu(s):  1.4 us,  3.6 sy,  0.0 ni, 95.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem : 13197504+total,  1194428 free, 12136640 used, 11864396+buff/cache
KiB Swap:        0 total,        0 free,        0 used. 11785971+avail Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
14346 root      20   0 5147592 4.179g  19552 S  12.5  3.3 536:12.64 qemu-system-x86
22796 root      20   0 1557164  68440  14420 S   5.0  0.1   0:45.94 cadvisor
 7976 root      20   0 5166920 4.184g  19616 S   3.0  3.3  14:52.15 qemu-system-x86
 9501 nobody    20   0 1612132  75392  35232 S   1.3  0.1  13:03.82 mongod
 7754 nobody    20   0 13.247g 525980  21852 S   1.0  0.4   8:28.60 java
11679 root      20   0  141460  82204   3232 S   1.0  0.1   0:38.85 netdata
 2608 root      20   0   27588   3668   2596 R   0.7  0.0   0:00.07 top
 4858 root      20   0  294812   2956   2268 S   0.7  0.0  28:17.01 emhttpd
11792 root      20   0  345448  24312   8020 S   0.7  0.0   0:28.26 python
    8 root      20   0       0      0      0 I   0.3  0.0  12:40.17 rcu_preempt
   15 root      20   0       0      0      0 S   0.3  0.0   1:28.85 ksoftirqd/1
   25 root      20   0       0      0      0 S   0.3  0.0   1:25.44 ksoftirqd/3
   30 root      20   0       0      0      0 S   0.3  0.0   0:50.37 ksoftirqd/4
   35 root      20   0       0      0      0 S   0.3  0.0   0:49.84 ksoftirqd/5
   80 root      20   0       0      0      0 S   0.3  0.0   0:53.21 ksoftirqd/14
 3215 root      20   0 2548872  68348  32884 S   0.3  0.1   6:59.14 dockerd
 3236 root      20   0 1721972  24560  13268 S   0.3  0.0  12:39.26 docker-containe
 4895 nobody    20   0   71088   7816   3564 S   0.3  0.0  10:14.69 nginx

It says memory usage of java is 0.4% and nginx is 0.0%, which in my case translates to 512MB for java and less than 128MB for nginx.

 

Please test in safe mode.

Share this post


Link to post

okay i start testing with safe mode now. I just wanted to know at what point i should worry about ram usage of the nginx process while running in safe mode.

Share this post


Link to post

I presume your system is still running in safe mode. Can you upload the diagnostics?

 

Share this post


Link to post

I thought that neither plugins or dockers were started in Safe Mode?    I ask because the process list shows lot of plex related processes running!

Share this post


Link to post

Good point. In safemode only plugins and packages in the /extra folder are not loaded, but docker containers remain unchanged.

 

As a follow-up test stop the docker service and if needed the VM service too (in a second step).

 

Share this post


Link to post

So i stoped libvirt and docker services in that order.

 

1.) With docker and libvirt both running:

w3Jx4pf.png

homeserver-diagnostics-20180329-1907_docker_libvirt_running.zip

 

2.) Only with docker service running:

jHFjKo7.png

homeserver-diagnostics-20180329-2024_docker_running.zip

 

3.) Only UnRAID running:

42faiM0.png

homeserver-diagnostics-20180329-2120_only_unraid_running.zip

 

should i now restart with only unraid running and wait if the nginx process grows? Or is there a way how i can speed up that process because my plex users are crying alread ^^

Edited by DaLeberkasPepi

Share this post


Link to post

With both docker and VM services off, all returned to normal as far as I can see.

 

I would selectively test the docker containers. Switch off autostart, and stop all containers, then start each container one at the time and observe memory usage, if you are satisfied nothing is wrong then start the next container. If you have impatient Plex users, maybe start with testing Plex first.

 

Share this post


Link to post

No no no!

You have to take a look at the nginx process that doesnt shrink in size the reduction in ram usage come from stopping the plex and jdownload docker and so on.

 

Also made an video of top while only running unraid without plugins/docker/libvirt and you can see while other process dont change like shfs, smbd or php the nginx needs more ram every second or so. This can be best sceen in the VIRT column

 

Also the screenshot where made a few minutes after i stopped libvirt or docker to let the system stabilise but nginx still rise in ram usage

 

2018-03-29 21-48-22.mkv

Edited by DaLeberkasPepi

Share this post


Link to post
3 minutes ago, DaLeberkasPepi said:

No no no!

You have to take a look at the nginx process that doesnt shrink in size the reduction in ram usage come from stopping the plex and jdownload docker and so on

 

Sorry, didn't scroll down far enough in the process list. Yes, I see nginx still at high usage as you mentioned.

 

Try a reboot of your system with both services off.

 

Share this post


Link to post

An interesting thing to check is /proc/<pid>/fd/ for the process - does it have a huge number of files and/or networking connections open?

 

And what is the contents of /proc/<pid>/smaps - is all the memory consumed by the heap?

Share this post


Link to post

As of now with rebooting after i disabled both kvm and dockers it didnt start skyrocketing.

Uum6ym1.png

vJu462f.png

 

i'll start one docker after another with like an hour inbetween and see when it starts sky rocketing again. And if it starts again i test the things @pwm mentioned to see why it is happening, because a docker shouldnt be able to affect the webinterface in this way.

homeserver-diagnostics-20180330-1326.zip

Share this post


Link to post
3 minutes ago, DaLeberkasPepi said:

because a docker shouldnt be able to affect the webinterface in this way.

 

In theory you are correct, but a misconfigured container (e.g. give it access to the wrong resources) can still impact the system.

 

Share this post


Link to post

it is happening again but it took over 12h since i started the last docker to occure.

 

And @pwm was right with his suspision. heap uses all the memory.

tsRsFnq.png

 

nginx in total needs about 472MB and the second process of heap needs about 394MB and if substract that i am pretty much there when i had no problems with nginx regarding memory consumption. I've also added the complete smaps of nginx maybe it helps more than just the heap info.

00772000-00acc000 rw-p 00000000 00:00 0                                  [heap]
Size:               3432 kB
KernelPageSize:        4 kB
MMUPageSize:           4 kB
Rss:                3320 kB
Pss:                1814 kB
Shared_Clean:          0 kB
Shared_Dirty:       3012 kB
Private_Clean:         0 kB
Private_Dirty:       308 kB
Referenced:         3128 kB
Anonymous:          3320 kB
LazyFree:              0 kB
AnonHugePages:      2048 kB
ShmemPmdMapped:        0 kB
Shared_Hugetlb:        0 kB
Private_Hugetlb:       0 kB
Swap:                  0 kB
SwapPss:               0 kB
Locked:             1814 kB
VmFlags: rd wr mr mw me ac 
00acc000-19573000 rw-p 00000000 00:00 0                                  [heap]
Size:             404124 kB
KernelPageSize:        4 kB
MMUPageSize:           4 kB
Rss:              403728 kB
Pss:              403728 kB
Shared_Clean:          0 kB
Shared_Dirty:          0 kB
Private_Clean:         0 kB
Private_Dirty:    403728 kB
Referenced:       266840 kB
Anonymous:        403728 kB
LazyFree:              0 kB
AnonHugePages:         0 kB
ShmemPmdMapped:        0 kB
Shared_Hugetlb:        0 kB
Private_Hugetlb:       0 kB
Swap:                  0 kB
SwapPss:               0 kB
Locked:           403728 kB
VmFlags: rd wr mr mw me ac 

About the /proc/2204/fd/ directory contents:

AkLdHFV.png

 

but i dont know just by the names what a network connection or an open file should be. Sry im not a linux "nativ" ^^

smaps

 

EDIT: forgot to add the current diagnostics

homeserver-diagnostics-20180401-1107.zip

Edited by DaLeberkasPepi

Share this post


Link to post

The graphical tool isn't very nice showing what all the open file handles are.

ls -l does give a bit more information.

root@n54l-3:/mnt/user/Movies/Animal House (1978) [DVD]# ls -l /proc/3421/fd
total 0
lrwx------ 1 nobody users 64 Mar  2 13:17 0 -> /dev/null
lrwx------ 1 nobody users 64 Mar  2 13:17 1 -> /dev/null
l-wx------ 1 nobody users 64 Mar  2 13:17 10 -> pipe:[13446]
lrwx------ 1 nobody users 64 Mar  2 13:17 11 -> socket:[11035]
lrwx------ 1 nobody users 64 Mar  2 13:17 12 -> anon_inode:[eventpoll]
lrwx------ 1 nobody users 64 Mar  2 13:17 13 -> socket:[13449]
lrwx------ 1 nobody users 64 Mar  2 13:17 14 -> anon_inode:[eventfd]
lrwx------ 1 nobody users 64 Mar  2 13:17 15 -> anon_inode:[eventfd]
l-wx------ 1 nobody users 64 Mar  2 13:17 2 -> /var/log/nginx/error.log
lrwx------ 1 nobody users 64 Mar  2 13:17 3 -> socket:[13321]
l-wx------ 1 nobody users 64 Mar  2 13:17 5 -> /var/log/nginx/error.log
lrwx------ 1 nobody users 64 Mar  2 13:17 6 -> socket:[13441]
lrwx------ 1 nobody users 64 Mar  2 13:17 7 -> socket:[13443]
lrwx------ 1 nobody users 64 Mar  2 13:17 8 -> socket:[13444]
lr-x------ 1 nobody users 64 Mar  2 13:17 9 -> pipe:[13446]

Then it takes further time to lookup the numbers.

netstat -avn | grep 13321

shows that:

unix  2      [ ACC ]     STREAM     LISTENING     13321    /var/run/emhttpd.socket

which informs that open file handle 3 was the unix socket /var/run/emhttpd.socket

 

Share this post


Link to post

Thanks! that worked like a charm.

root@HomeServer:/# ls -l /proc/2204/fd
total 0
lrwx------ 1 nobody users 64 Apr  1 10:29 0 -> /dev/null
lrwx------ 1 nobody users 64 Apr  1 10:29 1 -> /dev/null
lrwx------ 1 nobody users 64 Apr  1 10:29 10 -> socket:[245]
lr-x------ 1 nobody users 64 Apr  1 10:29 11 -> pipe:[247]
l-wx------ 1 nobody users 64 Apr  1 10:29 12 -> pipe:[247]
lrwx------ 1 nobody users 64 Apr  1 10:29 13 -> socket:[15678]
lrwx------ 1 nobody users 64 Apr  1 10:29 14 -> anon_inode:[eventpoll]
lrwx------ 1 nobody users 64 Apr  1 10:29 15 -> socket:[15680]
lrwx------ 1 nobody users 64 Apr  1 10:29 16 -> anon_inode:[eventfd]
lrwx------ 1 nobody users 64 Apr  1 10:29 17 -> anon_inode:[eventfd]
lrwx------ 1 nobody users 64 Apr  1 10:29 18 -> socket:[8314654]
lrwx------ 1 nobody users 64 Apr  1 10:29 19 -> socket:[8689740]
l-wx------ 1 nobody users 64 Apr  1 10:29 2 -> /var/log/nginx/error.log
lrwx------ 1 nobody users 64 Apr  1 10:29 20 -> socket:[9058393]
lrwx------ 1 nobody users 64 Apr  1 10:29 21 -> socket:[5109646]
lrwx------ 1 nobody users 64 Apr  1 10:29 22 -> socket:[9307968]
lrwx------ 1 nobody users 64 Apr  1 10:29 23 -> socket:[9589935]
lrwx------ 1 nobody users 64 Apr  1 10:29 24 -> socket:[9589937]
lrwx------ 1 nobody users 64 Apr  1 10:29 26 -> socket:[9948507]
lrwx------ 1 nobody users 64 Apr  1 10:31 27 -> socket:[9948509]
lrwx------ 1 nobody users 64 Apr  1 10:31 28 -> socket:[10196069]
lrwx------ 1 nobody users 64 Apr  1 10:44 29 -> socket:[10083796]
lrwx------ 1 nobody users 64 Apr  1 10:29 3 -> socket:[11529]
lrwx------ 1 nobody users 64 Apr  1 10:29 4 -> socket:[7797310]
l-wx------ 1 nobody users 64 Apr  1 10:29 5 -> /var/log/nginx/error.log
lrwx------ 1 nobody users 64 Apr  1 10:29 6 -> socket:[240]
lrwx------ 1 nobody users 64 Apr  1 10:29 7 -> socket:[242]
lrwx------ 1 nobody users 64 Apr  1 10:29 8 -> socket:[243]
lrwx------ 1 nobody users 64 Apr  1 10:29 9 -> socket:[244]

 

but it looks like i miss something regarding netstat, could it be that i get that no support message because of running in safe mode?

root@HomeServer:/# netstat -avn | grep 15678
netstat: no support for `AF INET (sctp)' on this system.
netstat: no support for `AF INET (sctp)' on this system.
netstat: no support for `AF IPX' on this system.
netstat: no support for `AF AX25' on this system.
netstat: no support for `AF X25' on this system.
netstat: no support for `AF NETROM' on this system.
netstat: no support for `BTPROTO L2CAP' on this system.
netstat: no support for `BTPROTO RFCOMM' on this system.
unix  3      [ ]         STREAM     CONNECTED     15678

 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.