Unable to set kernel parameters using Reource Control

HI,
I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
Can anyone help me in setting the above kernel parameters.
Its not possible to set it thru /etc/system.
thanx
guru

I finally had some time to find the actual syntax for tuning process.max-msq-qbytes and process.max-msg-messages. prctl will change those paramaters for an existing process.
As a proof of concept I changed process.max-msg-messages to a 64k. process 2221 is my shell.
prctl -n process.max-msg-messages  -r -v 64k 2221
bash-3.00# prctl 2221
process: 2221: -csh
NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
process.max-port-events
        privileged      65.5K       -   deny                                 -
        system          2.15G     max   deny                                 -
process.max-msg-messages
        privileged      64.0K       -   deny                                 -
        system          4.29G     max   deny                                 -
process.max-msg-qbytes
        privileged      64.0KB      -   deny                                 -
        system          4.00GB    max   deny                                 -And now to make this persist across reboots...
So long as I'm experimenting, I'll use projadd and add a new project which just includes me and not the rest of the users in the group staff.
bash-3.00# projadd -p 115 -U testuser \
-K "process.max-msg-messages=(priv,64K,deny)" \
-K "process.max-msg-qbytes=(priv,64K,deny)" \
user.me This creates the following /etc/project:
(note the last line is all on one line in the real file minus the \.)
placer% cat /etc/project
system:0::::
user.root:1::::
noproject:2::::
default:3::::
group.staff:10::::
user.me:115::testme::\
process.max-msg-messages=(priv,64000,deny);process.max-msg-qbytes=(priv,65536,deny)After a reboot I checked the values by loging in under my user and running prctl.
placer% prctl $$
process: 419: -csh
NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
process.max-port-events
        privileged      65.5K       -   deny                                 -
        system          2.15G     max   deny                                 -
process.max-msg-messages
        privileged      64.0K       -   deny                                 -
        system          4.29G     max   deny                                 -
process.max-msg-qbytes
        privileged      64.0KB      -   deny                                 -
        system          4.00GB    max   deny                                 -
process.max-sem-ops
        privileged        512       -   deny                                 -
        system          2.15G     max   deny                                 -
...Solaris 10 has different tunables and default values from 8 and 9. It's default tunables should be good for most applications per a given system's hardware. There are some great blog articles, and discussions on opensolaris.org and blogs.sun.com on tuning that explain the intent of tuning and why we shouldn't have to tune.
Cheers,
~~sa

Similar Messages

  • Unable to set kernel parameters using Reource Control in solaris 10

    HI,
    I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
    Can anyone help me in setting the above kernel parameters.
    Its not possible to set it thru /etc/system.
    thanx

    HI,
    I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
    Can anyone help me in setting the above kernel parameters.
    Its not possible to set it thru /etc/system.
    thanx

  • Unable to set  kernel parameters using solaris 10

    HI,
    I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
    Can anyone help me in setting the above kernel parameters.
    Its not possible to set it thru /etc/system.
    thanx
    guru

    HI,
    I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
    Can anyone help me in setting the above kernel parameters.
    Its not possible to set it thru /etc/system.
    thanx
    guru

  • Y setting kernel parameters in linux and not in windows

    Hi Can any one please help me out...
    While installing oracle on linux we are setting some kernel parameters But when installing in windows are we setting any kernel parameters...We are not setting any parameters...can any one please explain why r we setting kernel parameters and what is the use of those parameters and why are we not setting any parameters in windows.

    probably because linux != windows
    anyway, there are still some recommendation you can follow, for example if you want to use more than 2Gb of memory in win32

  • Unable to connect to Database using Grid Control

    Hi,
    I am attempting to connect to my Oracle Linux Machine which has 2 databases FROM my 10g Grid control which is on a Windows XP 32 bit.
    Although I can login to the actual linux box with the host and database credentials ; I cant use the same to login to the database using Grid control.
    I have tried testing the connection using Grid Control >> Preferences >> Preferred Credentials >> Host ; but its just not recognizing the credentials as correct.
    When I attempt to startup the database using the host and DB credentials : ERROR MESSAGE : <servername> : <servername> comes up.
    My agent on linux box is up. My Listener is running fine.
    On my Grid control .. i have the DB, OMS, and Agent running as well.
    Any inputs on this issue, I'd appreciate very much.

    Thanks for your reply.
    Under Hosts on the Main Grid Console Home Page >> "server3.sam" Status shows UP. This server houses my 2 databases. But when I click on Databases >> it shows Instance DOWN.
    Status          
    Failed
    Details          Failed to connect to database instance: ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach).
    I have verified that my lsnrctl status is good on the linux box. My target agent is up and running on it as well.
    So I try to start the STARTUP button >> I enter the HOST Credentials of the Linux box and the Database credentials which I use "SYS" (in upper case - just in case that mattered) and choose SYSDBA ;
    Error Message
    server3.sam: server3.sam
    I created a new dba account and try to login ... dont seem to work ; I tried using SYSTEM account and even altering my sys and system passwords .. all turn out negative.
    And the ANSWER to your question ---> Grid Control >> Preferences >> Preferred Credentials >> Database Instance >> corresponding to my database name ; I enter my sysdba username / password AND the host username / password of my Linux box >> TEST >> which also turns out negative.
    This entry is auto filled in since I "checked" the box "Save as Preferred Credential"; initially when I tried to start the DB using the STARTUP button.
    By the way, my Win XP doesnt really have a password set under User accounts.
    Any suggestions please ?

  • Unable to set bounding box using rectangle tool on small rectangles

    I just upgraded to InDesign CC and keep getting an error message "Unable to set bounding box" when I try to create a small rectangle. The tool works fine when creating a larger rectangle -- it only gives me the error when creating a very small rectangle. Never had this problem in CS5.
    Anyone else run across this?

    Check what your default stroke weight is. If the stroke weight is to wide for the size of the box you are trying to draw, you will get that message.

  • Unable to set up email, use BBM or App World

    Hi. I recently purchased the Blackberry Curve 3G 9300 v5 under Vodafone Australia but I haven't been able to set up email, use BBM or the App World. I've already installed the Desktop Software and BBM and App World from this website (the person at the shop apparently didn't do a thing). Here are the errors I received -
    1) I don't have the I would like to create new email account option, I only have the I want to use a work email account with Blackberry Enterprise Server option
    2) When I add someone's BBM pin, they don't receive notification for it and it's stated as pending on my side. When they try to add me, I don't receive anything to inform me to add them
    3) When I go to the App World button, I get the message Blackberry App World is having trouble connecting to the server, Verify your network connection then when I try to download it again at this site - I get the message 
    Sorry, your device does not meet the system requirements that are needed to support BlackBerry App World.
    Please help. I've gone to the shop where I bought this from but they were not very helpful. I need to know if they didn't set up my account properly so I can ask them to fix it. Thank you!

    Hi! I've contacted my provider and it turns out my account wasn't activated after a week! It's fixed now, thanks!

  • I had my Iphone5 stolen in France 2months ago, I now use my Iphone4. today my phone turned itself to the setup screen and i was unable to set it up using my itunes account because its been hacked in france im in uk.what do i do?.

    Ive had my iphone5 stolen when i was in France 2 months ago. i now use my iphone 4, but today my phone went to the set up screen when when you first get an iphone. i was not able to set it back up because some one had changed my password. i found this out when i went on to itunes on my computer and asked it to send email to me so i could change it and i recieved it in french. guess work i sussed it but im worried that they have logged into all my other accounts including bank. i rung the phone company 2 months ago to report stolen so i assumed my phone would have been blocked. ive lost everything on my iphone 4 including photos of my new born little girl which hurts.
    what can i do about this?
    how can i block my iphone5?
    is there any way of getting things back that i never backed up?
    this needs to be sorted so it does not happen to anyone else. i live in the UK.
    thank you all
          regards ricky..

    Sorry, without knowing the Apple ID/Password that was originally used to activate this phone, then there is no way to re-activate it, as you've found out.
    Apple can't/won't help you. Your choice is to get this info, or you simply won't be able to re-activate this phone.
    If you ex won't give it to you, then consult a lawyer.

  • Unable to set thermostate schedule with home control

    Is anyone else having problems setting their thermostate schedule? I get an error message that the system was unavailable. I am getting really frustrated that I can't rely on this system. I have invested alot of money in everything, and it doesn't seem to be a very stable platform. Can anyone help me out?

    I had the same problem for 3 days in a row. Each day I re-programmed the thermostat at the start of the cold weather. The next day I would check and it was back to the original settings. On the 4th day the settings finally took.
    I called Verizon (as I have done about 50 times) and they had no solution other than to tell me they were doing some updates to the site and that might take care of it. My Energy Reader still doesn't give accurate readings about 1/2 the days. It seems to get signals mixed with the Appliance Switches I have. I've called Verizon on that as well and got the same reply so apparently it is their scripted answer. I also get the "server is currently busy, try again later" message frequently. Other than that things are working well.
    I have talked to the Manager and Developers and they are supposed to be getting back to me with solutions but it is going on 2 months and the problems still exist (except for the Thermostat which worked because of my persistence).
    This would be a nice system if they would resolve the bugs in it. I tried MiCasaVerde for a month and their system worked flawlessly but I couldn't use the cameras I bought from Verizon due to their coding them to prevent that. The manufacturer of the cameras said they should work unless the company changes the code in them which apparently Verizon does. Other than that I would have stayed with MiCasaVerde but decided to work with Verizon and hopefully get the thing working right. 
    They seem to spend more time on making the system proprietary than resolving customer issues. I've had the system for over 8 months now and have seen little improvement. My patience is running out. I won't even expound on new services that were supposed to be added and never have been.

  • Unable to set up iOS app remote control

    Hello.
    Since updating to Lion and iTunes 10.4, I have been unable to connect iOS apps (on iPod/iPhone/iPad) to iTunes. In Preferences -> Devices, the option to look for remotes is gone, and replaced with the text "iTunes is not paired with any remotes". I have searched for a remedy for this issue online without results. Is there something obvious that I'm missing?
    Regards
    Snorre

    Replying to my own question: Problem solved. I went to "Settings" in the iOS Remote app and deleted the settings for my iTunes library. I noticed that Home Sharing was disabled. I re-enabled it, entered my iTunes account user name and password, and now all is well! The library is again available on all my iOS devices.
    Regards
    Snorre

  • Increasing kernel parameters Solaris

    Hi,
    actually i have these parameters and i need to increase them. Which will be the next values to be entered for those ones. Im using solaris 10 , oracle 10gR2.04.
    set shmsys:shminfo_shmmax=4294967295
    set shmsys:shminfo_shmmni=2500
    set semsys:seminfo_semmsl=1000
    set shmsys:shminfo_shmmin=1
    set shmsys:shminfo_shmseg=10
    set semsys:seminfo_semmns=2500
    Thx

    Hi here i have answer for your query
    if you want to set kernel parameters on solaris means
    open the system file as vi /etc/system
    and type the following at the end of file
    set shmsys:shminfo_shmmax=4294967295
    set shmsys:shminfo_shmmni=2500
    set semsys:seminfo_semmsl=1000
    set shmsys:shminfo_shmmin=1
    set shmsys:shminfo_shmseg=10
    set semsys:seminfo_semmns=2500
    save and exit
    reboot your system
    now your kernel parameters changed
    okkkkkk

  • Problem in setting the parameters for an OASingleSelectionBean

    Hi,
    I have created an advanced table, for which I have to allow single selection or mutliple selection according to my requirements ie dynamically. So, for single selection, I have created a OASingleSelectionBean dynamically and add this to my advanced table bean.
    I also want to set Action for the single selection option. I have set the action using
    setPrimaryClientAction() which takes an argument of oracle.cabo.ui.action.FirePartialAction class. Now I also want to pass certain parameters when the single selection event happens.
    For that, I have taken an object of FirePartialAction class and but using the FirePartialAction class .setParameters(oracle.cabo.ui.collection.Parameter[]) function. I am setting the parameters using
    Parameter class object.setKey
    Parameter class object.setValue
    But my problem is that I want the value for the parameters at runtime, for which I intend to use SPEL. But I am not able to use SPEL using the setValue method.
    So it goes like this in short:
    OAAdvancedTableBean.setTableSelection(OASingleSelectionBean)
    OASingleSelectionBean.setPrimaryClientAction(FirePartialAction)
    FirePartialAction.setParameters(Parameter[])
    Parameters.setKey(String)
    Parameters.setValue(String) --- In case of value I want to give SPEL as an argument as I get the value at rutime
    Is that any other way in which I can set the value for the parameters using SPEL?

    Hi,
    I got ur point.
    Although i have never tried.........Can you try using method
    Parameters.setValueBinding(new OADataBoundValueViewObject(<single selectionbean>,<vo attr>))
    In this way without the use of SPEL, you will be able to achieve the functionality!
    Try this and get back to me!
    --Mukul
    Message was edited by:
    Mukul Gupta

  • Unable to set parental controls on itunes b/c my username and password are not correct.  How do I reset them?  There is no prompt to give any clues what they are.

    unable to set parental controls on Itunes b/c my user name and password got rejected.  How do I reset them or figure out my username and password?

    This is a user to user support forum.  We are all iphone users just like you.
    You are not addressing Apple here at all.
    This is an odd way to ask your fellow iphone users for help. Berating oterh users will not help you.
    "it's too fragile"
    No it is not.  i have never damaged one, nor has anyone I know.
    " U loose data when Ur phone is locked"
    No you don't.  Why do you think this?
    "and there is no customer support!!!  "
    Wrong yet again.  Apple has an 800 number and they have many retail stores and they have support articles that you can access using the search bar. Or you can contact them throgh express lane online
    "but I will go back with Blackberry "
    Please do.
    Good ridance

  • Unable to set Password Policy controls

    When I call oracle.ldap.util.User.autheticateUser() I receive the exception "Unable to set Password Policy controls". What is the cause of this error? I was not able to find anything useful through google searches.
    I am running everything inside ServiceMix. Furthermore, I am able to create a context and retrieve properties through oracle.ldap.util.User.getProperties().
    Here is the stack trace:
    my.company.Exception.AuthenticationException: Unable to set Password Policy controls
    at my.company.OracleLdap.authenticateClient(OracleLdap.java:171)
    at service.AuthenticationInInterceptor.isAuthenticated(AuthenticationInInterceptor.java:55)
    at service.AuthenticationInInterceptor.handleMessage(AuthenticationInInterceptor.java:32)
    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)
    at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:111)
    at org.apache.cxf.transport.http_osgi.OsgiDestination.doMessage(OsgiDestination.java:80)
    at org.apache.cxf.transport.http_osgi.OsgiServletController.invokeDestination(OsgiServletController.java:321)
    at org.apache.cxf.transport.http_osgi.OsgiServletController.invoke(OsgiServletController.java:107)
    at org.apache.cxf.transport.http_osgi.OsgiServlet.invoke(OsgiServlet.java:53)
    at org.apache.cxf.transport.http_osgi.SpringOsgiServlet.invoke(SpringOsgiServlet.java:48)
    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179)
    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:103)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
    at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.handle(HttpServiceServletHandler.java:64)
    at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
    at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
    at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.handle(HttpServiceContext.java:111)
    at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:68)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    at org.mortbay.jetty.Server.handle(Server.java:326)
    at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
    at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
    at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
    at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
    at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
    Caused by: oracle.ldap.util.UtilException: Unable to set Password Policy controls
    at oracle.ldap.util.User.authenticateUser(User.java:1243)
    at my.company.OracleLdap.authenticateClient(OracleLdap.java:158)
    ... 29 more
    Edited by: user1094798 on Feb 22, 2011 12:53 PM
    Edited by: user1094798 on Feb 22, 2011 12:55 PM
    Edited by: user1094798 on Feb 22, 2011 1:17 PM

    I fixed it by changing the way my InitialDirContext is created.
    Previously I was using:
    InitialDirContext ctx = oracle.ldap.util.jndi.ConnectionUtil.getDefaultDirCtx(hostname, portNum, adminName, adminPass);
    Now I'm using:
    Hashtable env = new HashTable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
    env.put(Context.PROVIDER_URL, "ldap://" + hostname + ":" + portNum);
    env.put(Context.SECURITY_PRINCIPAL, adminName);
    env.put(Context.SECURITY_CREDENTIALS, adminPass);
    InitialDirContext ctx = new InitialDirContext(env);
    Edited by: user1094798 on Feb 23, 2011 8:29 AM

  • Using SET GET parameters in ITS

    Hi All,
    Is it possible to use set get parameters in ITS. We want to set some parameters in a BADI and read the value in ITS Template .
    Or is there any other method to do this?
    Thanks,
    Anubhav

    Sure. In your abap program use the following code
    *  ITS macros
    INCLUDE avwrtcxm.
    GET PARAMETER ID 'YOUR_PARAMETER' FIELD SAVE_PARAMETER.
    field-set u2018~YOUR_PARAMETERu2019 1 SAVE_PARAMETER.
    field-transport.
    in the template you can now use ~YOUR_PARAMETER.
    regards,
    Klaus
    Edited by: Klaus Layer on Feb 3, 2009 5:05 PM

Maybe you are looking for