resin, IBM JDK and memory problem
Hi all! We're having a problem with memory here in a client's machine. The computer is a PIII-750 with 512MB RAM running resin 2.13 and IBM JDK 1.2.2. This is a game server (the client is a game site). Up to 15 days before, this server had 256 MB and could stand up to 450 players simultaneously; the upgrade was made to allow more people to play. When the memory upgrade was made, a problem was detected. The error java.lang.OutOfMemoryError is issued when memory in use equals or exceeds 260MB. Apache keeps working, but resin freezes, taking longer to respond to commands or even crashing. Sometimes, when resin freezes, trial of working with server gives a message looking like bash:all resources unavailable fork: This server uses Debian Linux 2.2 (potato). Any help will be greatly appreciated. -- - Cesar Suporte, Linux Solutions S/C Debian GNU/Linux 2.2 possui uma instalação mais aerodinâmica e mais polida (...) (Lido no site www.linuxstore.com.br)
Re: resin, IBM JDK and memory problem
Cesar Cardoso wrote: Sometimes, when resin freezes, trial of working with server gives a message looking like bash:all resources unavailable fork: message is probably: fork(): resource temporarily unavailable right ? :) check ulimits, (ulimit -a) increase the limits for memory (ulimit -m) and swap(ulimit -v), and processes (ulimit -u) and others if needed, i would suggest putting this in whatever script you use to start the program(i've never worked with resin or JDK before ...) nate -- ::: ICQ: 75132336 http://www.aphroland.org/ http://www.linuxpowered.net/ [EMAIL PROTECTED]
Re: resin, IBM JDK and memory problem
Hi, this is the result: atrativa2:~# ulimit -a core file size (blocks) 0 data seg size (kbytes) unlimited file size (blocks) unlimited max locked memory (kbytes) unlimited max memory size (kbytes)unlimited open files 1024 pipe size (512 bytes) 8 stack size (kbytes) 8192 cpu time (seconds) unlimited max user processes 256 virtual memory (kbytes) unlimited Por favor, Luiz, cheque o que a mensagem sugere. Nos passe o resultado de ulimit -a. Obrigado. -- - Cesar Suporte, Linux Solutions S/C Debian GNU/Linux 2.2 possui uma instalação mais aerodinâmica e mais polida (...) (Lido no site www.linuxstore.com.br) Date: Fri, 08 Dec 2000 05:14:57 -0800 From: Nate Amsden [EMAIL PROTECTED] X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.17 i686) To: [EMAIL PROTECTED] CC: debian-user@lists.debian.org Subject: Re: resin, IBM JDK and memory problem X-Mailing-List: debian-user@lists.debian.org archive/latest/121685 Cesar Cardoso wrote: Sometimes, when resin freezes, trial of working with server gives a message looking like bash:all resources unavailable fork: message is probably: fork(): resource temporarily unavailable right ? :) check ulimits, (ulimit -a) increase the limits for memory (ulimit -m) and swap(ulimit -v), and processes (ulimit -u) and others if needed, i would suggest putting this in whatever script you use to start the program(i've never worked with resin or JDK before ...) nate -- ::: ICQ: 75132336 http://www.aphroland.org/ http://www.linuxpowered.net/ [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]