Space filling up on togetherjs hub

RESOLVED FIXED

Status

RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: johns, Assigned: johns)

Tracking

Details

(Assignee)

Description

4 years ago
97% atm

5.8G	/var/log

-rw-r--r-- 1 syslog    adm    5736522003 Sep 25 18:50 togetherjs.log

Find out why this isn't cycling properly.
(Assignee)

Comment 1

4 years ago
Immediate problem fixed:

root@i-49cc6264:/var/log# rm togetherjs.log ;sudo service togetherjs restart;sudo service rsyslog restart
togetherjs stop/waiting
togetherjs start/running, process 13648
rsyslog stop/waiting
rsyslog start/running, process 13672

root@i-49cc6264:/var/log# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/xvda1      7.9G  1.9G  5.7G  26% /
udev            1.9G   12K  1.9G   1% /dev
tmpfs           751M  196K  750M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            1.9G     0  1.9G   0% /run/shm
(Assignee)

Comment 2

4 years ago
Hmm, logrotate should have picked up that .log file!

/var/log/*.log
{
    rotate 2
    daily
    missingok
    notifempty
    compress
    delaycompress
    sharedscripts
    postrotate
        reload rsyslog >/dev/null 2>&1 || true
    endscript
}
/var/log/*.out
{
    rotate 2
    daily
    missingok
    notifempty
    compress
    delaycompress
    sharedscripts
    postrotate
        reload rsyslog >/dev/null 2>&1 || true
    endscript


Are we really putting out gigs of logs per day?  I'll update tomorrow and see how much we're spitting out.
(Assignee)

Comment 3

4 years ago
Confirmed the log file was rotated!

head /var/log/togetherjs.log
Sep 29 16:50:42 i-48c35ba5 app=togetherjs-production: DEBUG Message on Sdpx71AImm bytes: 25408 conn ID: 0 data:{"name":"Gregarious  connections: 1
Sep 29 16:50:42 i-48c35ba5 app=togetherjs-production: DEBUG Message on Sdpx71AImm bytes: 151 conn ID: 0 data:{"type":"scroll-upda connections: 1
Sep 29 16:50:42 i-48c35ba5 app=togetherjs-production: DEBUG Message on Sdpx71AImm bytes: 105 conn ID: 0 data:{"type":"cursor-upda connections: 1
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.