[SAC] [OSGeo] #2220: wiki.osgeo.org login broken?

OSGeo trac_osgeo at osgeo.org
Sat Nov 24 23:51:11 PST 2018


#2220: wiki.osgeo.org login broken?
---------------------------+------------------------------
 Reporter:  neteler        |      Owner:  sac@…
     Type:  defect         |     Status:  new
 Priority:  blocker        |  Milestone:
Component:  Systems Admin  |   Keywords:  wiki, monitoring
---------------------------+------------------------------
 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 at 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 at 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 at 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

-- 
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2220>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.


More information about the Sac mailing list