Re: [tf-games] Disk space and memory exhaustion

[ Thread Index | Date Index | More games.tuxfamily.org/ops Archives ]


Hi,

i made some place.
what does take place :
1) - xmoto svn compiled (svn checkout) = to update the server (all the
..o, all files in double cause to .svn)
2) - xmoto installed
3) 1 et 2 again for the debug server (for tests)
4) version n-1 of 2 in case the new version causes trouble
5) ~/.local/share/xmoto : levels
6) ~/.cache/xmoto : binary version of levels (faster to load and
require less ram)

to make place, i removed 3) install + 3) svn/bin directory and 4)
in case of emergency, i can remove all exept xmoto server install
xmoto still uses 1.4Go (300 for levels, 150 for cache, ...)

Filesystem            Size  Used Avail Use% Mounted on
/dev/vda1             9.4G  8.2G  715M  93% /
xmoto@thym:~$

i've not edited correctly the reboot cron while i don't know the syntax.
Is it just a shell ran as a script or does it have a cron format ?

xmoto@thym:~$ sudo chmod u+rw /var/run/crond.reboot
xmoto@thym:~$ sudo vi /var/run/crond.reboot
xmoto@thym:~$ sudo chmod u-rw /var/run/crond.reboot
xmoto@thym:~$ sudo cat /var/run/crond.reboot
# reboot xmoto process (ie kill xmoto process, update levels, start
xmoto as a server with nohup)
# su - xmoto -c /home/users/xmoto/startXmoto.sh
xmoto@thym:~$

Nicolas


2011/4/23 Sylvain Rochet <gradator@xxxxxxxxxxxx>:
> Hi,
>
>
> As you may have noticed, we are running out of disk space, remaining
> disk space will be sufficient for only a few days starting now.
>
> grad@thym:~$ df --si
> Filesystem             Size   Used  Avail Use% Mounted on
> /dev/vda1               11G   9.3G   325M  97% /
>
>
> We are also, but this is less critical, swapping more than not, mainly
> due to huge memory leaks in one running game, which are now fixed. This
> may have disturbed other games.
>
> grad@thym:~$ free -m
>             total       used       free     shared    buffers     cached
> Mem:           496        486         10          0        103        211
> -/+ buffers/cache:        170        325
> Swap:          509         88        421
>
>
> In order to solve those issues, I am going to shutdown the VM to double
> the allocated disk space and memory during this week-end. The down time
> will depend on the time for ext3 to grow or for the time to copy the
> files to another filesystem, depending on what I choose to do ;-)
>
>
> Please check that your games are automatically started at bootup, to do
> that you can use the "@reboot" special field in your user cron file.
>
>
> (And yes, this is a new mailing-list which main purpose is
> coordination, posting is only allowed for members)
>
>
> Sylvain
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAk2yGc8ACgkQDFub3qtEsS9J/QCfRGM3hu5oUS657/hFdWpjU97r
> RSMAoIq+iVHjPI6uCgCfG5erKq6j5/FR
> =6w4h
> -----END PGP SIGNATURE-----
>
>



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/