Application running in Solaris 9 container generating core files. what to do?

My solaris 9 zone configuration in solaris 10 looks like:
zonecfg:sms> info
zonename: sms
zonepath: /zone/sms
brand: solaris9
autoboot: true
bootargs:
pool:
limitpriv: default,proc_priocntl,proc_clock_highres,proc_lock_memory,sys_time,priv_proc_priocntl,priv_sys_time,net_rawaccess,sys_ipc_config,priv_proc_lock_memory
scheduling-class:
ip-type: exclusive
hostid:
[max-shm-memory: 4G]
[max-shm-ids: 100]
[max-sem-ids: 100]
fs:
  dir: /var
  special: /dev/dsk/c1t0d0s5
  raw: /dev/rdsk/c1t0d0s5
  type: ufs
  options: []
net:
  address not specified
  physical: bge0
  defrouter not specified
device
  match: /dev/dsk/c1t0d0s5
device
  match: /dev/rdsk/c1t0d0s5
device
  match: /dev/dsk/c1t0d0s6
device
  match: /dev/rdsk/c1t0d0s6
device
  match: /dev/dsk/c1t0d0s7
device
  match: /dev/rdsk/c1t0d0s7
capped-cpu:
  [ncpus: 2.00]
capped-memory:
  physical: 4G
  [swap: 8G]
  [locked: 2G]
attr:
  name: hostid
  type: string
  value: 84b18f64
attr:
  name: machine
  type: string
  value: sun4u
rctl:
  name: zone.max-sem-ids
  value: (priv=privileged,limit=100,action=deny)
rctl:
  name: zone.max-shm-ids
  value: (priv=privileged,limit=100,action=deny)
rctl:
  name: zone.max-shm-memory
  value: (priv=privileged,limit=4294967296,action=deny)
rctl:
  name: zone.max-swap
  value: (priv=privileged,limit=8589934592,action=deny)
rctl:
  name: zone.max-locked-memory
  value: (priv=privileged,limit=2147483648,action=deny)
rctl:
  name: zone.cpu-cap
  value: (priv=privileged,limit=200,action=deny)
Solaris 9 zone /etc/system file looks like:
* The directive below is not applicable in the virtualized environment.
* The directive below is not applicable in the virtualized environment.
* The directive below is not applicable in the virtualized environment.
* The directive below is not applicable in the virtualized environment.
* The directive below is not applicable in the virtualized environment.
* The directive below is not applicable in the virtualized environment.
set noexec_user_stack=1
set semsys:seminfo_semmni=100
set semsys:seminfo_semmns=1024
set semsys:seminfo_semmsl=256
set semsys:seminfo_semvmx=32767
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=10
set rlim_fd_max=65536
set rlim_fd_cur=60000
* The directive below is not applicable in the virtualized environment.
My questions are:
1. Application running in solaris 9 container generating core files. what to do???
2. My prstat -Z for zone shows almost 95% percent cpu usage. what to do???
3. Kindly can share how to move solaris 9 into solaris 10 containers ??

Based on the new questions for the same post you wrote in the other communities, some posts are removed as duplicate, here is the answer :
For the point #3, please look on table 17-1 in the following URL :
Zone Components - System Administration Guide: Oracle Solaris Containers-Resource Management and Oracle Solaris Zones
You can also customize your container /etc/system file but it cannot exceeds the global zone and the zone configuration value.
For the other point, #2, this can be complicated without a complete image of what the complete system do.
Try fist to check if you have not a busy process in your zone, then you can check if a bottleneck exists in the I/O side. You use maybe wrong parameters, a wrong configuration or your system configuration is insufficient in term of resources.
What I can see in the outputs that you provided is that the S9 zone uses the half of the swap space. This can impact your zone performance and I/O activity, and can have in this case a side effect on some processes. Check why your zone uses the swap and how you can remedy this.

Similar Messages

  • System Hung frequently Generates Core file

    Hi All,
    One of my workstation is getting hung frequently when i kill that session it generates core file and the details are as follows.
    Hardware : Sun Blade 2500
    Memory: 2 GB
    Operating System : Solaris 8 2/04
    Patch Version : Generic_117350-12
    I found following error in core file:
    XtToolkitError.XtToolkitError
    CancelDrag
    typeConversionError.noConverter
    typeConversionError.noConverter
    files.so/usr/lib/locale/C/LC_CTYPE/textboundary.so.1
    override
    rter registered for 'Pixel' to 'SelectColor' conversion.
    No type converter registered for 'Pixel' to 'SelectColor' conversion.
    ListKbdCancel
    Cp9{
    override
    No type converter registered for '%s' to '%s' conversion.
    No type converter registered for '%s' to '%s' conversion.
    Please help me to fix this issue.
    Thanks & Regards,
    Ramana

    Hi,
    These files are getting generated because your JVM is getting crashed frequently.
    When JVM crash, JVM captures the state of the JVM at the time of crash and these files generate.
    Please study your std_server log very carefully and you will find some lines like "Out of Memory" kind of error.
    Now if you can stop the crash of the JVM, these files wont generate any more.
    I have faced the same issue and Fix it using the following ways.
    1)  Upgrade your JVM to the latest version so that better memory management will be in place.
    2) If still these files getting generated, you can tune the new version of the JVM.
    With Regards,
    Saurabh

  • Can a fusion web application run on smart phones also? Then what about database for mobiles?

    Sir,
    Can a fusion web application run on smart phones also? Then what about database for mobiles?
    Regards

    Any web application can run on smart phone because you are accessing it from browser so no need for database or application server on your mobile
    It is same as accessing any website on mobile
    If you are talking about mobile app
    check this - http://www.oracle.com/technetwork/developer-tools/adf-mobile/overview/adfmobile-1917693.html
    Ashish

  • Solaris 10 update 6 keeps generating core file (/core)

    I wonder if somebody has encountered the following issue.
    I did a fresh install of Solaris 10 update 6 on two servers (T5140 and T524) from DVD.
    I noticed that a core file was in the root filesystem (/core).
    So, I deleted it.
    As soon as I delete the core file, another one is generated.
    This is happening on both servers where I installed Solaris 10 update 6 from the DVD.
    This is not a live update install. Solaris was installed from scratch. When prompted to preserve previous data, I replied with 'do not preserve data'
    Does anybody know where the core file is coming from and how to stop it being generated?
    Found out that is coming from vold
    SunOS b1osdtsun02 5.10 Generic_137137-09 sun4v sparc SUNW,T5240
    # more /etc/release
                          Solaris 10 10/08 s10s_u6wos_07b SPARC
               Copyright 2008 Sun Microsystems, Inc.  All Rights Reserved.
                            Use is subject to license terms.
                                Assembled 27 October 2008
    # mdb /core
    Loading modules: [ libsysevent.so.1 libnvpair.so.1 libc.so.1 ld.so.1 ]
    ::statusdebugging core file of vold (32-bit) from b1osdtsun02
    file: /usr/sbin/vold
    initial argv: /usr/sbin/vold -f /etc/vold.conf
    threading model: multi-threaded
    status: process terminated by SIGSEGV (Segmentation Fault)
    ::stacklibc.so.1`strlen+0x18(408450a5, 0, 0, 88b70, 600, 180)
    read_slices+0x114(874a0, b, 889a0, feeafd34, 1, 5)
    read_hsfs_partition+0x88(b, 46c00, 6d0000, 2c, 34400, 1010101)
    read_partition+0x30(874a0, 341a4, 3, 34000, 34400, 9)
    create_top_partition+0x140(7cbe0, 7cc24, 7cbe0, 874a0, ffffffff, b)
    0x265e0(800012, feeaff9c, c, 598e0, 7cbe0, ffffffff)
    create_medium+0x74(800012, feeaff9c, 20, 12, 47800, c)
    0x2232c(5d278, 0, 0, 800012, 20, 33000)
    libc.so.1`_lwp_start(0, 0, 0, 0, 0, 0)
    >
    #It seems that vold is failing to mount the DVD on both servers after Solaris was installed.
    Is this a Solaris 10 update 6 bug?
    Edited by: shen on Jan 29, 2009 8:45 PM

    Never mind.
    It is a known bug documented on manual " [Solaris 10 10/08 Release Notes, Chapter 2 Solaris Runtime Issues|http://docs.sun.com/app/docs/doc/820-5245/chapter2-1000?a=view] " as shown below.
    The solution is to apply vold patch [138130-01|http://sunsolve.sun.com/search/document.do?assetkey=1-21-138130-01-1].
    Solaris 10 10/08 DVD Media Might Not be Automatically Mounted by vold (6712352)
    The Solaris 10 10/08 DVD does not mount by default during runtime. No error message is displayed.
    Workaround: Perform the following steps:
       1. Become superuser.
       2. Disable vold:
          * On Solaris 10 Systems:
                # svcadm disable -t volfs
          * On Solaris 8 and Solaris 9 systems:
                /etc/init.d/volmgt stop
       3. Mount the media manually by using the # mount -F hsfs path to block device path to mount point command. For example:
          # mount -F hsfs /dev/rdsk/c0t2d0s2 /mnt

  • ALV Grid to be run in background & to generate output file in Excel format

    I use  REUSE_ALV_GRID_DISPLAY in my program for the ALV output
    My Requirement is Program to be run in a background since it is getting timed out when executed in foreground and also to generate the output file in Excel format. And we are using 4.6 C version.
    how do i attain this?

    Hello,
    One alternate solution can be :
    Execute your report in background and then send the data to Spool .
    From this spool , you can download the data in excel file.
              SUBMIT xyz TO SAP-SPOOL
                 SPOOL PARAMETERS gt_print_parameters.
    Regards,
    Sandeep

  • Window's application run on solaris

    Dear
    Sun Microsystems
    I am Mandar sawant. I am animator. I am using 3d-animation software which required highly configuration computer. And want operating system which give me smooth performs for my 3d-animation software. I am using AutoDesk Maya for my software. So I have some question about this is follow.
    1] Can I use my software on this operating system?
    2] Is this operating system good for graphic and editing work?
    3] What about security in this Os?
    4] Is this virus and hacker proof?
    5] can i run windows's application on this os? if yes then how?
    please reply me soon.

    1] Can I use my software on this operating system?Is your software Solaris based or written in Java? If not you will need an emulator to overlay onto Solaris for the OS your software is written for.
    2] Is this operating system good for graphic and editing work?While I am not an animator, I have always been very pleased with the performance of Solaris in any task I need to run--yes, and some are animation.
    3] What about security in this Os? Unix derivatives are much more secure than Windoz.
    4] Is this virus and hacker proof?There is no such thing as virus or hacker proof... if you are connected to a network, then you can make deterants, but nothing is virus nor hacker proof.
    5] can i run windows's application on this os? if yes then how? With a Windoz emulator you may as far as the emulator will allow.

  • Maximum Core File Size for Solaris 8

    I believe that RLM_INFINITY for Solaris for core file sizes comes to 2GB.
    Is there any mechanism ( patch ) etc. by which this can be increasd ?

    if your application is 32-bit, then the core file size would be limited to 4GB (by default) and if your application is
    64-bit, then the core file size would be limited to usigned long max (by default).
    -Saurabh

  • Same container, different ear files, remote lookup failing!

    I'm having severe problems with my ears! I used to have all my EJBs in one ear file and everything worked hunky dory. Now I have separated out various components into their own ear files as they may be deployed into a separate box and also this eases group development. My problem is that some (most) of the remote lookups don't work. I'm getting a Class cast exception when i use the narrow() method.
    I have tried all the methods I can think of now and I'm getting desperate! Initially when all the beans were in the same ear file I used the coded reference for the lookup. This did not work across separate ear files so I replaces the coded reference in the lookup() method to the JNDI name. Now this works for some lookups but not others. Invariably a client application running in the container in a separate ear will work no problem. However a session bean using the same code as the client can not succeed in referencing another bean.
    I'm baffled here because the lookup itself appears to succeed (if I but a garbage name in the lookup method it returns "name not found"). The error I'm getting is class cast exception! Occasionally though it does work - by that I mean it works for some inter-ear references but not others ie it's not intermittant.
    Can anyone shed some light on the correct/best method to lookup a remote reference to a EJB from an EJB living in a different ear file in the same container?

    Found the problem!
    I was using jdk 1.3.0_02 when I should have been using
    jdk 1.3.1_01
    painful...

  • How to get segmentation fault to produce a core file

    Hi,
    I'm trying to get a program to run on SunOS 5.10, but there's a memory error - Segmentation fault is what the error message says.
    By looking around I've found libumem (umem_debug) and I am hoping to use it. Problem is that it wants a core file and the segmentation fault isn't giving me one. I know there's gcore to produce a core dump from a running program, but that's not realisitic here.
    1 - the program crashes immediately
    2 - i don't know where the error is, so i wouldn't want to force a core dump before the memory has been corrupted.
    Anyway, is there some way to explicitly get a segmentation fault to produce a core dump?
    Thanks

    You may have resource limit disabling generation of core file
    Run
    #ulimit -c to see your current limit (max. core file size in 512-byte blocks)
    Run this command to enable core file generation:
    #ulimit -c unlimitedand then try starting your program again - you should get your core.

  • Running exe contained in jar file

    Hello,
    I have written a java interface where an external executable is being called from one of the classes. I'm using Jgrasp as development environment.
    Everything works fine if I run the java program from within Jgrasp: the interface opens up fine and it can run the external program when the button which is supposed to start it is clicked on.
    I have then generated a JAR file containing all the classes etc and also the external executable.
    When I execute the Jar file, the interface opens up ok and everything works fine within it, but it cannot run the external executable any more.
    Is it possible to run an exe file contained in the jar file itself?
    I would like to distribute a single jar file containing all the files needed by the application.
    Thanks

    An EXE can only be executed from Java if it resides somewhere in the file system.
    This is obviously the case before you JAR the whole thing, but not after.
    Your code will need to extract the EXE by using Class.getResourceAsStream() and
    copy it to a temporary location in the file system before executing it.

  • Core file in solaris

    Hi all I am on solaris sparac 10 ...I have some core files generated .. I ran pstack on it and it shows some info but not exact ..
    also how I can decode xxxfff01001001010  such messages in there ..
    any other utility that can give more details info on core.
    thanks

    The only couple of things you can do are:
    run the command: # file <COREFILE> and this will tell you the name of the binary which provoked the core
    run the command: # pstack <COREFILE> which on the very first line will tell you the command line that was executed
    Other than that, either you're a developer with access to the source code, or there's not much you can do.
    HTH,
    marco
    P.S.: Please mark this response as correct or helpful when appropriate to make it easier for others to find it

  • Lot of core files are generated in webserver machine.......

    we have a iplanet webserver running in our production environment........it is creating lot of entries in the file /var/adm/messages...............
    Aug 11 13:00:01 uk17 sendmail[1449]: [ID 702911 mail.warning] gethostbyaddr(192.168.245.62) failed: 1
    Aug 11 13:00:01 uk17 sendmail[1449]: [ID 702911 mail.warning] gethostbyaddr(192.168.245.64) failed: 1
    Aug 11 13:00:01 uk17 sendmail[1449]: [ID 702911 mail.warning] gethostbyaddr(192.168.245.84) failed: 1
    Aug 11 13:00:01 uk17 sendmail[1449]: [ID 702911 mail.warning] gethostbyaddr(192.168.245.88) failed: 1
    Aug 11 13:00:01 uk17 sendmail[1449]: [ID 702911 mail.warning] gethostbyaddr(192.168.245.90) failed: 1
    Aug 11 13:00:01 uk17 sendmail[1449]: [ID 702911 mail.warning] gethostbyaddr(192.168.245.92) failed: 1
    Aug 11 13:00:01 uk17 sendmail[1449]: [ID 702911 mail.warning] gethostbyaddr(192.168.245.94) failed: 1
    Aug 11 13:00:01 uk17 sendmail[1449]: [ID 702911 mail.warning] gethostbyaddr(192.168.245.106) failed: 1
    Aug 11 13:00:01 uk17 sendmail[1449]: [ID 702911 mail.warning] gethostbyaddr(192.168.245.108) failed: 1
    Aug 11 13:00:01 uk17 sendmail[1449]: [ID 702911 mail.warning] gethostbyaddr(192.168.245.110) failed: 1
    It is creating lot of core files in /var/core/ with the name.......
    ore.ns-httpd.14156.uk17.0.0.1218243851
    core.ns-httpd.14922.uk17.0.0.1217950925
    core.ns-httpd.14922.uk17.0.0.1217950926
    core.ns-httpd.14937.uk17.0.0.1218243696
    core.ns-httpd.14937.uk17.0.0.1218243697
    core.ns-httpd.14949.uk17.0.0.1218243760
    core.ns-httpd.14949.uk17.0.0.1218243762
    core.ns-httpd.14955.uk17.0.0.1218243765
    core.ns-httpd.14955.uk17.0.0.1218243767
    core.ns-httpd.14977.uk17.0.0.1218243777
    those files are in byte code so unable to read those file.............
    Please any one help me on this issue...............

    First migrate your server to the latest Web Server 7.0 update 3
    http://www.sun.com/software/products/web_srvr/index.xml
    https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=SJWS-7.0U3-OTH-G-F@CDS-CDS_SMI
    You are getting those messages as gethostbyaddr(192.168.245.92) is failing. Try writing a small C program which calls gethostbyaddr(192.168.245.92) and see if its an o/s issue.
    If you are on Solaris 10 try to see why Web Server is dumping core by
    mdb core.pid
    ::stackAre you sure you have patch levels as recommended in the release notes of Web Server?
    Have you enabled IPv6? Since when are you seeing these core dumps?

  • Generate .PDF file from BlackBerry application

    Hai,
    Can anyone explain or give me some idea on generating pdf file in blackberry application programatically...
    Thanks in advance.
    Regards
    Ratheesh R Kurup

    hi Kiriakos,
    which version are you using ?
    please test this with reports 9i since PDF support
    has been enhanced there.
    to test i would suggest to run the report from rwclient
    as well and specify desformat=pdf and to a generate to
    file within builder to see if the same behavior occurs.
    if this problem reproduces there as well i suggest
    to contact oracle support to log the problem.
    regards,
    christian

  • QuickStart application won't run on Solaris 10 x86

    Installed Weblogic 8.1 on a Solaris 10 x86 system (from the pj_server814_generic.jar) using the graphical interface.
    At the end of the install, attempted to run the QuickStart application, and nothing happened.
    Tried to run it from the <WL_HOME>/common/bin directory, and got the message:
    org/apache/xalan/processor/TransformerFactoryImpl
    Unable to create graphical environment for QuickStartFrame.
    Please use a console that supports a Java based GUI.
    I installed Weblogic (and Oracle, also) using Java based GUI installers.
    Have been unable to locate any information to help overcome this problem.
    Has anyone run into this, and/or have any ideas on how to make QuickStart application run?

    I have the same proble.
    If I specify -log=/tmp/log at startup, the log file reports a missing class file.
    2005-08-18 09:34:21,486 FATAL [WizardController] com.bea.plateng.wizard.WizardController - Exception
    java.lang.NoClassDefFoundError: org/apache/xalan/processor/TransformerFactoryImpl
    at weblogic.xml.jaxp.RegistryTransformerFactory.<init>(RegistryTransform
    erFactory.java:62)
    at weblogic.xml.jaxp.RegistrySAXTransformerFactory.<init>(RegistrySAXTra
    nsformerFactory.java:12)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at java.lang.Class.newInstance0(Class.java:350)
    at java.lang.Class.newInstance(Class.java:303)
    at javax.xml.transform.FactoryFinder.newInstance(FactoryFinder.java:100)
    at javax.xml.transform.FactoryFinder.findJarServiceProvider(FactoryFinde
    r.java:278)
    at javax.xml.transform.FactoryFinder.find(FactoryFinder.java:185)
    at javax.xml.transform.TransformerFactory.newInstance(TransformerFactory
    .java:103)
    at com.bea.plateng.gpr.model.BEAHomeBuilder.<clinit>(BEAHomeBuilder.java
    :85)
    at com.bea.plateng.domain.DomainTaskHelper.getJvmModel(DomainTaskHelper.
    java:901)
    at com.bea.plateng.domain.DomainTaskHelper.getJvmModel(DomainTaskHelper.
    java:861)
    at com.bea.plateng.wizard.domain.console.tasks.JVMSelectionConsoleTask.b
    uildWidget(JVMSelectionConsoleTask.java:59)
    at com.bea.plateng.wizard.console.tasks.ConsoleInteractTask2.setupUI(Con
    soleInteractTask2.java:262)
    at com.bea.plateng.wizard.console.tasks.AbstractConsoleTask.setupUI(Abst
    ractConsoleTask.java:44)
    at com.bea.plateng.wizard.WizardController.run(WizardController.java:563
    at java.lang.Thread.run(Thread.java:595)
    2005-08-18 09:34:21,489 INFO [WizardController] com.bea.plateng.wizard.WizardCo
    ntroller - Terminating.

  • Application runs slower on Solaris

    We have developed an Application in Java (Servlets, JSP & Core Java classes including thread).
    My Application runs fast on Windows, but its terribly slow on Solaris. When the application is run on Solaris the CPU usage is very less around 3 to 5 % only and there is no major io bound operation also. Please comment on this behaviour when am running the application on Solaris.
    For eg: A while loop in my program took around 16 msecs to execute in Windows machine, but the same while loop is taking 250 msecs to run in solaris.
    Note: The solaris machine is very powerful than the desktop windows machine.
    Thanks & Regards,
    Salin

    Which version of Solaris are you running and what threading library is currently in use? Did you use some profiling application to arrive at the benchmark results you obtained or some other means were used? Does the code within the while loop call any classes making use of Java threads and synchronization mechanisms?

Maybe you are looking for

  • Ctrl+Shift+Option+5 registers as Option+5 in custom emacs build or over ssh

    I'm having trouble with custom emacs and emacs over ssh with Leopard. Included below is the text of the bug report I filed with Apple. If anyone has any thoughts or suggestions, I'd love to hear about them. It won't let me change the OS on this post

  • Displaying a date field as DD/MM/YY

    Hi, I have some reports that I want to display the date in the form of dd/mm/yy, currently it is appearing as dd/mm/yyyy I currently ahve this in the column heading cast(cast("- Account Custom Attributes".DATE_12 as char) as Date) How can I get it to

  • Cannot tap into VPN option after upgrading to iOS 4.2

    The VPN still working fine, turning on, turning off, but just cannot tap into the VPN to see the options, is this a bug of iOS 4.2?

  • Why is fire fox 8.01 blocking my yahoo emails?

    please read all of this message and do not scan it ok i down loaded fire fox 8.0.1 and now i can not read any emails from people i know, i have tried every thing in help and nothing changed. i had to go back to fire fox 3.6.24 in order to get my mess

  • Export from HDV to Web-Plausible Wide-Screen DVD Size?

    I'd like to let some friends view some video I've shot in HDV (1440x1080i anamorphic wide-screen, camcorder is Sony HDR-FX1) and am editing with Final Cut Pro HD 5.0.4. I'd therefore like to export this video into a web-usable format, preferably at D