Solaris Kernel settings and process limits.
- From: "Alistair McKeown" <Alistair.McKeown@xxxxxxxxxxxxxxxx>
- Date: Fri, 29 Dec 2006 11:10:31 -0000
Hi there,
I'm currently an administrator for our companies J2EE
application which sits on Weblogic and Solaris. BEA recommend certain
kernel settings to be change, one of which is the rlimit for the file
descriptors. Trouble im getting conflicting stats when I look at a
running production box at the moment.
In /etc/system its configured :
set rlim_fd_cur=8192
set rlim_fd_max=8192
Which is BEA's recommendation. Which is fine. Also when I run the
"ulimit -a" command it comes out the same 8192:
-bash-3.00$ ulimit -a
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
open files (-n) 8192
pipe size (512 bytes, -p) 10
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 29995
virtual memory (kbytes, -v) unlimited
Yet if I see what the actual java process is doing for weblogic it still
saying 1024
I find the java process :
-bash-3.00$ /usr/ucb/ps -auxwww|grep java|grep serverid
weblogic 16488 0.4 18.520360321510608 ? S Dec 14 304:54
/u01/appl/bea/jdk142_05/bin/java -Xms1536m -Xmx1536m
-XX:MaxPermSize=384m -XX:NewSize=512m -XX:MaxNewSize=512m
-XX:SurvivorRatio=8 -Djr.serverid=viepapssk10
-Djr.bootstrap.configuration=file:/u01/appl/bea/aps/products/cspire/conf
ig/bootstrap.xml -Dcom.sun.jndi.ldap.connect.pool.maxsize=20
-Dcom.sun.jndi.ldap.connect.pool.prefsize=20
-Dcom.sun.jndi.ldap.connect.pool.timeout=100000
-Dweblogic.management.server=http://10.146.116.52:7001 -classpath
/u01/appl/bea/jdk142_05/lib/tools.jar:/u01/appl/bea/weblogic81/server/li
b/weblogic_sp.jar:/u01/appl/bea/weblogic81/server/lib/weblogic.jar:/u01/
appl/bea/aps/products/cspire/lib/jrauth.jar::/u01/appl/bea
-Djava.security.policy==/u01/appl/bea/weblogic81/server/lib/weblogic.pol
icy -Dweblogic.Name=viepapssk10
-Dweblogic.system.BootIdentityFile=/u01/appl/bea/weblogic81/common/nodem
anager/NodeManagerLogs/NodeManagerInternal/bootFile_cspiresk_viepapssk10
-Dweblogic.system.NodeManagerBoot=true
-Dweblogic.system.NodeManagerAddress=null::5555
-Dweblogic.nodemanager.ServerStartTime=1166054433704
-Dweblogic.security.SSL.ignoreHostnameVerification=false
-Dweblogic.ReverseDNSAllowed=false weblogic.Server
Then look at its current limits using the "plimit" command :
-bash-3.00$ plimit -m 16488
16488: /u01/appl/bea/jdk142_05/bin/java -Xms1536m -Xmx1536m
-XX:MaxPermSize=3
resource current maximum
time(seconds) unlimited unlimited
file(mbytes) unlimited unlimited
data(mbytes) unlimited unlimited
stack(mbytes) 8 unlimited
coredump(mbytes) unlimited unlimited
nofiles(descriptors) 1024 1024
vmemory(mbytes) unlimited unlimited
It still says 1024. And the box was rebooted. Is there an explanation
for this? Or am I looking at the wrongly? Why doesn't it display 8192
like in ulimit -a Any help appreciated.
Regards,
Alistair.
_______________________________________________
sunmanagers mailing list
sunmanagers@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
- Follow-Ups:
- Linux on Sun Fire E280R
- From: gab jones
- Linux on Sun Fire E280R
- Prev by Date: Need help with LSI symbios 53c875 processor based PCI SCSI card driver
- Next by Date: SUMMARY: bogus `df' output on Solaris 10 6/06
- Previous by thread: Need help with LSI symbios 53c875 processor based PCI SCSI card driver
- Next by thread: Linux on Sun Fire E280R
- Index(es):