Re: [tf-games] Disk space and memory exhaustion |
[ Thread Index |
Date Index
| More games.tuxfamily.org/ops Archives
]
- To: ops@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [tf-games] Disk space and memory exhaustion
- From: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@xxxxxxxxx>
- Date: Sat, 23 Apr 2011 08:22:29 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=sVZt11708KsHNESbZRHgoJC0hFEqftsciLAc/2u4qow=; b=qvJ2jSUIb7GhaLUjpcjz8uFbpbdzBitlhGX87L5K4F4co2+mEpHyfM1pPan6H+yXYm Yx00bi5Y+wNRBvSb3yOFuBkhsDcMF5RNpZC9H0xw3gN2hTsYcXuHG2jTEnatD2SslhNQ MpqWLrDI3m4UFSEQhEQMq8XbyjRTTIR+HvcnA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=STDpRRADc7ScwoyP/uQSEh9Y8tixKZaKHcyXXxfQ861J4f8UF0A6cmcXr1ER3pIhxS KUFwIIIRZPG+UdbkylgDvkCzftDdotnlkiWYN30HOSwLiQ8O2fzbaMLhaVBebIcoYk0l bao0VJKqB9Y0/BIYQh738zmUkALaGH6z1EPAs=
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-----
>
>