[cod] Limiting Server RAM Usage

admin at teamhost.co.uk admin at teamhost.co.uk
Wed Dec 12 22:50:44 EST 2007


Rob,

Thanks for your reply. This is what I thought. More ram it is then ;)

Dan

-----Original Message-----
From: rmount at gmail.com [mailto:rmount at gmail.com] On Behalf Of Robert Mount
Sent: 13 December 2007 03:48
To: cod at icculus.org
Subject: Re: [cod] Limiting Server RAM Usage

Indeed, the server will crash with an "OUT OF MEMORY!!!" error.  Trust
me, i know from experience :-)

--Rob

On Dec 12, 2007 10:40 PM,  <admin at teamhost.co.uk> wrote:
> Brandon,
>
> Thank you for your reply. I will try that however I'm not sure if this
will
> affect the cod4 process if it needs ram.
>
> I may cause more problems than fix.
>
> Dan
>
>
> -----Original Message-----
> From: Brandon Ewing [mailto:nicotine at warningg.com]
> Sent: 13 December 2007 03:30
> To: cod at icculus.org
> Subject: Re: [cod] Limiting Server RAM Usage
>
> On Thu, Dec 13, 2007 at 01:13:02AM -0000, admin at teamhost.co.uk wrote:
> >    Hi,
> >
> >    Is there anyway to limit the amount of ram cod4 Linux uses? For me
its
> >    around 200meg+ per server process
> >
> >    Dan
>
> You can use ulimit prior to starting the server to limit the amount of
> memory available to yourself.
>
> ulimit -m 204800
>
> will set a limit of 200MB of physical memory for the current shell and any
> processes it launches.
>
> -m == physical memory
> -v == virtual memory (swap)
> -s == stack (physical and virtual, I believe)
>
> The actual limit is set in kilobytes.
>
>
> --
> Brandon Ewing
(nicotine at warningg.com)
>
>
> ---
> To unsubscribe, send a blank email to cod-unsubscribe at icculus.org
> Mailing list archives: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?38
>
>
>

---
To unsubscribe, send a blank email to cod-unsubscribe at icculus.org
Mailing list archives: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?38






More information about the Cod mailing list