Code Monkey home page Code Monkey logo

Comments (8)

benhylau avatar benhylau commented on May 18, 2024

Remove logs periodically?

from prototype-cjdns-pi.

darkdrgn2k avatar darkdrgn2k commented on May 18, 2024

Yeh,
most of them the files there where gz and didnt take up allof of space bug there where the .1 that ate up most of it.

from prototype-cjdns-pi.

benhylau avatar benhylau commented on May 18, 2024

most of them the files there where gz and didnt take up allof of space bug there where the .1 that ate up most of it.

I don't understand what you wrote.

from prototype-cjdns-pi.

darkdrgn2k avatar darkdrgn2k commented on May 18, 2024

Most of the logs when I noticed where
XXXX.1.gz
XXXX.2.gz
etc

The biggest files however eating up the most space where not gziped
XXXX and XXXX.1

perhaps we just need a cleanup script that delete *.1 and *.gz from lgo.

from prototype-cjdns-pi.

darkdrgn2k avatar darkdrgn2k commented on May 18, 2024

Long running orange pi nodes dont seem to have this problem anymore.

from prototype-cjdns-pi.

darkdrgn2k avatar darkdrgn2k commented on May 18, 2024

Long running orange pi 100% space

Fix:
rm -rf /var/log/*.?.*

from prototype-cjdns-pi.

makew0rld avatar makew0rld commented on May 18, 2024

I have had the same issue with my Raspberry Pi, and @dasanchez too I believe. Maybe we should include this in out stack somehow?

from prototype-cjdns-pi.

makew0rld avatar makew0rld commented on May 18, 2024

I previously had this issue with the systemd daemon log, it was full of the mesh point service saying the same line, that it couldn't connect or something.

Today with my Pi it was a different file, still in /var/log:

-rw------- 1 root root 1.4M Nov  3  2016 php7.0-fpm.log
-rw------- 1 root root  13G May  5 06:25 php7.0-fpm.log.1
pi@tomesh-d15b:~ $ sudo tail -n 20 /var/log/php7.0-fpm.log.1
[05-May-2019 06:25:01] NOTICE: [pool www] child 3307 exited with code 0 after 0.020061 seconds from start
[05-May-2019 06:25:01] NOTICE: [pool www] child 3313 started
[05-May-2019 06:25:01] NOTICE: [pool www] child 3310 exited with code 0 after 0.016315 seconds from start
[05-May-2019 06:25:01] NOTICE: [pool www] child 3314 started
[05-May-2019 06:25:01] NOTICE: [pool www] child 3311 exited with code 0 after 0.020369 seconds from start
[05-May-2019 06:25:01] NOTICE: [pool www] child 3315 started
[05-May-2019 06:25:01] NOTICE: [pool www] child 3313 exited with code 0 after 0.022714 seconds from start
[05-May-2019 06:25:01] NOTICE: [pool www] child 3316 started
[05-May-2019 06:25:01] NOTICE: [pool www] child 3314 exited with code 0 after 0.016826 seconds from start
[05-May-2019 06:25:01] NOTICE: [pool www] child 3317 started
[05-May-2019 06:25:01] NOTICE: [pool www] child 3315 exited with code 0 after 0.020074 seconds from start
[05-May-2019 06:25:01] NOTICE: [pool www] child 3319 started
[05-May-2019 06:25:01] NOTICE: [pool www] child 3316 exited with code 0 after 0.016193 seconds from start
[05-May-2019 06:25:01] NOTICE: [pool www] child 3321 started
[05-May-2019 06:25:01] NOTICE: [pool www] child 3317 exited with code 0 after 0.022935 seconds from start
[05-May-2019 06:25:01] NOTICE: [pool www] child 3323 started
[05-May-2019 06:25:01] NOTICE: [pool www] child 3319 exited with code 0 after 0.018907 seconds from start
[05-May-2019 06:25:01] NOTICE: [pool www] child 3324 started
[05-May-2019 06:25:01] NOTICE: [pool www] child 3321 exited with code 0 after 0.017878 seconds from start
[05-May-2019 06:25:01] NOTICE: [pool www] child 3326 started

I don't know what the above means. @darkdrgn2k ?

from prototype-cjdns-pi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.