Disk usage ( /var/run ) 108%



  • what caused this to happen ?



  • What's in /var/run?

    du -hd1 /var/run
    


  • @cmb:

    What's in /var/run?

    du -hd1 /var/run
    
    [2.3-RELEASE][admin@bpunk.XXX]/root: du -hd1 /var/run
    4.0K    /var/run/.snap
    3.4M    /var/run
    [2.3-RELEASE][admin@bpunk.XXX]/root:
    


  • Ok, now```
    ls -la /var/run



  • @cmb:

    Ok, now```
    ls -la /var/run

    [2.3-RELEASE][admin@bpunk.XXX]/var/run: ls -la /var/run
    total 3460
    drwxr-xr-x   3 root  wheel        1024 Apr 17 14:47 .
    drwxr-xr-x  27 root  wheel         512 Apr 13 14:27 ..
    drwxrwxr-x   2 root  operator      512 Apr 16 20:50 .snap
    srw-rw-rw-   1 root  wheel           0 Apr 16 20:50 check_reload_status
    -rw-------   1 root  wheel           5 Apr 16 20:50 cron.pid
    -rw-------   1 root  wheel           3 Apr 16 20:50 devd.pid
    srw-rw-rw-   1 root  wheel           0 Apr 16 20:50 devd.pipe
    srw-rw-rw-   1 root  wheel           0 Apr 16 20:50 devd.seqpacket.pipe
    -rw-------   1 root  wheel           5 Apr 17 01:24 dhclient.em0.pid
    -rw-------   1 root  wheel           5 Apr 16 20:51 dhclient.re0.pid
    -rw-r--r--   1 root  wheel           6 Apr 17 01:24 dpinger_SYM1_192.168.20.140_8.8.8.8.pid
    srw-rw-rw-   1 root  wheel           0 Apr 17 01:24 dpinger_SYM1_192.168.20.140_8.8.8.8.sock
    -rw-r--r--   1 root  wheel           6 Apr 17 01:24 dpinger_SYM2_10.0.1.143_8.8.4.4.pid
    srw-rw-rw-   1 root  wheel           0 Apr 17 01:24 dpinger_SYM2_10.0.1.143_8.8.4.4.sock
    -rw-r--r--   1 root  wheel           6 Apr 16 20:51 expire_accounts.pid
    -rw-r--r--   1 root  wheel           4 Apr 17 14:28 filter_reload_status
    -rw-r--r--   1 root  wheel           6 Apr 16 20:50 filterlog.pid
    -r--r--r--   1 root  wheel         194 Apr 16 20:50 ld-elf.so.hints
    -r--r--r--   1 root  wheel         139 Apr 16 20:50 ld-elf32.so.hints
    srw-rw-rw-   1 root  wheel           0 Apr 17 14:47 log
    srw-------   1 root  wheel           0 Apr 17 14:47 logpriv
    -rw-r--r--   1 root  wheel           6 Apr 16 20:50 miniupnpd.pid
    -rw-r--r--   1 root  wheel           6 Apr 16 20:50 nginx-webConfigurator.pid
    -rw-r--r--   1 root  wheel           5 Apr 16 20:50 ntpd.pid
    -rw-------   1 root  wheel     3407872 Apr 17 13:41 php-fpm.core
    -rw-r--r--   1 root  wheel           3 Apr 16 20:50 php-fpm.pid
    srw-------   1 root  wheel           0 Apr 16 20:50 php-fpm.socket
    -rw-r--r--   1 root  wheel           6 Apr 16 20:51 ping_hosts.pid
    -rw-r--r--   1 root  wheel           5 Apr 16 20:50 sshd.pid
    -rw-------   1 root  wheel           5 Apr 17 14:47 syslog.pid
    -rw-r--r--   1 root  wheel           6 Apr 16 20:51 update_alias_url_data.pid
    -rw-r--r--   1 root  wheel           6 Apr 17 01:25 updaterrd.sh.pid
    -rw-r--r--   1 root  wheel           0 Apr 16 20:50 utmp
    -rw-r--r--   1 root  wheel         394 Apr 17 16:30 utx.active
    -rw-r--r--   1 root  wheel           6 Apr 16 20:50 xinetd.pid
    [2.3-RELEASE][admin@bpunk.XXX]/var/run:
    
    


  • Hm, php-fpm left a core file there, so it crashed for some reason. That probably won't be telling without symbols, but if you can get me a copy of it (download /var/run/php-fpm.core from Diag>Command or scp) I'd like to see it.

    To remove it:

    rm /var/run/php-fpm.core
    


  • sorry ! I've restarted the firewall & clear the system logs before reading your response, and disk usage back to normal

    Disk usage ( /var/run )	
    3% of 3.4MiB - ufs in RAM
    

    I will inform you if this situation occurs again. thank you very much for your help!  ;)



  • Yeah if it happens again, please grab a copy of that file and let me know.



  • hello

    I got the very same situation.
    here my php-fpm.core, if you're still want to see it: http://jirafeau.net/f.php?h=2mwyeAw1



  • @cmb:

    Yeah if it happens again, please grab a copy of that file and let me know.

    happen again! here the php-fpm core https://mega.nz/#!FwJBFQJZ!9aq4CqCCfE-SnoMguhKOVCU4zeiLY9aeTV-ZSfXVGKc



  • Hi!

    I unfortunately don't have the core dump (if it crashes again I will download it) but I had the same problem with 2.3.1…

    In my case it also seems to have made the DNS resolver stop resolving stuff which caused my phone system to go nuts (it could no longer resolve some of my providers). Does that make sense that it could cause that?

    Thank you and have a nice day!

    Nick



  • Hello , I have the same problem , someone found the solution ?


  • Rebel Alliance Developer Netgate

    That should be OK if you update to 2.3.2. Otherwise, see https://forum.pfsense.org/index.php?topic=111836.msg634122#msg634122


Log in to reply