codema.in

Disk is full

PP Pirate Praveen Public Seen by 62

diaspora@poddery:~$ df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 76G 72G 0 100% /

I'm moving bakup folder from the server.

PP

Pirate Praveen Tue 24 Jun 2014 5:33AM

@balasankarchelamat @manukrishnantv we should remove the logs and setup a cron job to clean it up every week.

PP

Pirate Praveen Tue 24 Jun 2014 9:48AM

Removed 11G sidekiq.log and 7G production.log. @balasankarchelamat can you check if we can turn off logging completely? It will be a privacy boost as well.

BC

Balasankar C Tue 24 Jun 2014 10:03AM

I know you may have already checked this, still posting it here till get a better answer - https://wiki.diasporafoundation.org/FAQ_for_pod_maintainers#My_log_files_are_getting_huge.2C_help.21

PP

Pirate Praveen Thu 26 Jun 2014 10:02AM

@balasankarchelamat can you set up log rotation?

BC

Balasankar C Sat 9 Aug 2014 3:01PM

Sorry for the delay. I have setup logrotate with the following config

/home/diaspora/diaspora/log/*.log {
notifempty
copytruncate
missingok
compress
weekly
delaycompress
rotate 5
maxage 30
}

i.e The logs will be rotated weekly and 5 rotations will be stored. The older rotated logs will be cleared after 30 days.
For now, I've cleared the logs.

MKT

Manu Krishnan T V Sat 9 Aug 2014 5:04PM

@balasankarchelamat Can you update the present disk usage status here?

BC

Balasankar C Sat 9 Aug 2014 5:18PM

poddery@poddery:~$ df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 76G 52G 21G 72% /
udev 10M 0 10M 0% /dev
tmpfs 397M 236K 397M 1% /run
/dev/mapper/poddery-root 76G 52G 21G 72% /
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 794M 0 794M 0% /run/shm
/dev/vda1 228M 21M 196M 10% /boot

JS

Juan Santiago Wed 13 Aug 2014 4:21PM

Hi, comrades, this is just a report, not a complaint, again the pod does not share well with other pods

PP

Pirate Praveen Thu 14 Aug 2014 7:02AM

@juansantiago thanks for the report. I will just login and see whats the issue.

PP

Pirate Praveen Thu 14 Aug 2014 7:13AM

could not obtain a database connection within 5 seconds (waited 5.000204673 seconds). The max pool size is currently 20; consider increasing it.

@balasankarchelamat did you increase it earlier?

Load More