Opened 6 years ago

Closed 6 years ago

#2220 closed defect (fixed)

wiki.osgeo.org login broken?

Reported by: neteler Owned by: sac@…
Priority: blocker Milestone:
Component: SysAdmin Keywords: wiki, monitoring
Cc:

Description

As also reported on the "discuss" list, there seem to be issues with Wiki editing.

For me, I cannot even login any more:

Login error
OSGeo uses cookies to log in users. You have cookies disabled. Please enable them and try again.

After logging in I see the reason:

neteler@wiki:~$ cd /var-bash: cannot create temp file for here-document: No space left on device

df -h
/dev/vda3        16G   15G     0 100% /
...

How the space is used:

neteler@wiki:/$ sudo du -hx . --max-depth=2 | sort -h
...
385M	./lib/modules
409M	./lib
791M	./usr/lib
1009M	./home/martin
1.1G	./home
1.1G	./root
1.4G	./tmp
2.0G	./var/www
2.1G	./usr/share
2.4G	./var/lib
3.0G	./var/log
3.1G	./usr
7.5G	./var

Observations: /tmp is full of (i.e., > 500k files):

...
-rw-------  1 www-data www-data       53 Jul 16 17:09 sess_jmalkcs2lqf9ql8abev0um4o63
...

neteler@wiki:/tmp$ sudo su
wiki:/tmp# find . -type f -name "sess_*" -mtime +30 | wc -l
520600

For now I have deleted all "sess_*" files older than 30days in /tmp/.

Current state:

wiki:/tmp# df -h .
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda3        16G   15G  810M  95% /

TODOs:

  • find out why they are not deleted after a while
  • cleanup other garbage on disk
  • reboot machine since it will be unstable due to the disk-full
  • understand why out monitoring didn't alert us

Change History (2)

comment:1 by robe, 6 years ago

is this still an issue or can we close this out?

comment:2 by neteler, 6 years ago

Resolution: fixed
Status: newclosed

Closing as working ok at time.

Note: See TracTickets for help on using tickets.