Hi,
I'm running FC5 and after using the yum update I'm experiencing a weird memory allocation problem I don't have on my other FC5 servers.
uname -a
Linux my.server.com 2.6.15-1.2054_FC5smp #1 SMP Tue Mar 14 16:05:46 EST 2006 i686 i686 i386 GNU/Linux
Specifically I run tomcat and allocate 2gigs via the start up script to the app. However on the new server I can't get it beyond 1850m.
I used
java -Xms2000m -Xmx2000m -version
to check on the cmdline where the issue is coming from. I can push it up a bit higher then 1000m tweaking the stack size to unlimited but there seems to be something else up. Any ideas?
ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
max nice (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 77824
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
max rt priority (-r) 0
stack size (kbytes, -s) unlimited
cpu time (seconds, -t) unlimited
max user processes (-u) 77824
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
Here's a recent server I don't have the problem with:
Linux my.server.com 2.6.20-1.2307.fc5smp #1 SMP Sun Mar 18 21:02:16 EDT 2007 i686 i686 i386 GNU/Linux
As you can see I've tried changing the kernel and poking kernel settings but no joy.
I'm sure it's something stupid I'm overlooking but I can't seem to figure it out.
I appreciate your help.
Also if anyone has any luck getting java to run over the 2 gig limit please let me know where to look. Thanks!