Solaris 10


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris 10
# 1  
Old 11-08-2012
Solaris 10

Hi Guys,

I am running Oracle 11g database on solaris 10 and one of the recommendations is to set kernel parameters using project--(something new to me).

Now I want to see if my semaphores are configure correctly and are used properly.

How do I see the behavior of my kernel parameters, more especially the semaphores?

Please Help!!!!

Thanks in advance...
# 2  
Old 11-08-2012
have you checked the solaris documentation? you can find it at Oracle Documentation
This User Gave Thanks to DukeNuke2 For This Post:
# 3  
Old 11-08-2012
Configuration of kernel parameters for current project can be displayed with this command:
Code:
root@testserver # prctl $$

If you want display parameters for project used by oracle you should login as oracle and then use above command or you can use something like this:
Code:
root@testserver # prctl -i process 5830

where 5830 must be replaced by a PID of some oracle process running on your server.
If you want to display information about one parameter you can use:
Code:
root@testserver # prctl -n process.max-sem-nsems -i process 5830

Information about semaphores usage can be displayed with:
Code:
root@testserver # ipcs -b

This User Gave Thanks to GP81 For This Post:
# 4  
Old 11-13-2012
Thanks for the replies...

How do I change the default project for the user?

I have the below attributes for one of my projects (that is projectc group.ctron):

Code:
NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
project.max-contracts
        privileged      10.0K       -   deny                                 -
        system          2.15G     max   deny                                 -
project.max-device-locked-memory
        privileged      1.94GB      -   deny                                 -
        system          16.0EB    max   deny                                 -
project.max-locked-memory
        system          16.0EB    max   deny                                 -
project.max-port-ids
        privileged      8.19K       -   deny                                 -
        system          65.5K     max   deny                                 -
project.max-shm-memory
        privileged      16.0EB      -   deny                                 -
        system          16.0EB    max   deny                                 -
project.max-shm-ids
        privileged      4.10K       -   deny                                 -
        system          16.8M     max   deny                                 -
project.max-msg-ids
        privileged        128       -   deny                                 -
        system          16.8M     max   deny                                 -
project.max-sem-ids
        privileged      4.10K       -   deny                                 -
        system          16.8M     max   deny                                 -
project.max-crypto-memory
        privileged      7.78GB      -   deny                                 -
        system          16.0EB    max   deny                                 -
project.max-tasks
        system          2.15G     max   deny                                 -
project.max-lwps
        system          2.15G     max   deny                                 -
project.cpu-cap
        system          4.29G     inf   deny                                 -
project.cpu-shares
        privileged          1       -   none                                 -
        system          65.5K     max   none                                 -
zone.max-swap
        system          16.0EB    max   deny                                 -
zone.max-locked-memory
        system          16.0EB    max   deny                                 -
zone.max-shm-memory
        system          16.0EB    max   deny                                 -
zone.max-shm-ids
        system          16.8M     max   deny                                 -
zone.max-sem-ids
        system          16.8M     max   deny                                 -
zone.max-msg-ids
        system          16.8M     max   deny                                 -
zone.max-lwps
        system          2.15G     max   deny                                 -
zone.cpu-cap
        system          4.29G     inf   deny                                 -
zone.cpu-shares
        privileged          1       -   none                                 -

Now, I have a user, attached to this project this user runs a program that processes multiple files on the server and these program used to process 100 files per minute on 850 server running Solaris 8 O/S.

We upgraded our server to T4 sparc generation with Host CPU (CPUs: 128 Cores: 16 Sockets: 2) and Solaris 10 O/S. Now the program runs very slow doing 100 files per 5 minutes.

Below is the prstat -J results:

Code:
PROJID    NPROC  SWAP   RSS MEMORY      TIME  CPU PROJECT
          104       13   19M   54M    0.2%   0:00:14 0.5% group.ctron
         100      119   19G   19G    59%    0:58:12 0.4% group.dba
           0       90  438M  499M    1.5%   0:19:19 0.2% system
          14       12   10M   16M     0.0%   0:00:00 0.0% group.sysadmin
          1        5   20M   24M      0.1%   0:00:13 0.0% user.root


Host CPU (CPUs: 128 Cores: 16 Sockets: 2)

And I what I have realized is that the NPROC value,from prstat -J for project id 104 does go above 40.

What attribute should I change and to which value, in order to improve my processing performance?

How do I make a project a default project and remove the current default project?

Please Help!!!!!

Thanks in advance...

Last edited by Phuti; 11-13-2012 at 09:24 AM..
# 5  
Old 11-14-2012
There are two methods to setup default project.
1. add entry in file /etc/user_attr for example:
Code:
gregory::::project=projectname

2. create project with a special name for example:
-user.gregory (this creates project which is default for user gregory)
-group.staff (this creates project which is default for group staff)

For details see:
Code:
man getdefaultproj

What resource limit you want to increase? Does your process need more cpu, memory, or something else? Have you check this with some stats command?
This User Gave Thanks to GP81 For This Post:
# 6  
Old 11-26-2012
Thanks a lot guys for the replies.

It looks like my problem was caused by the NFS configurations.

I am using the NetApp NFS filesystems for our application and for our Oracle database. We decided to move our apllication to the local disk to test if we get a better performance. It proved that we have a problem on the NFS filesystem as our application performs five times better than when it is on NFS.

I thought the issues are with the resource controls on the O/S level but in this case it looks like it is the NFS configurations.

Thanks a lot for the replies...
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. Solaris

Patching Procedure in Solaris 10 with sun cluster having Solaris zone

Hi Gurus I am not able to find the patching procedure for solaris 10 ( sol10 u11) to latest patchset with sun cluster having failover zones so that same I should follow. Take an instance, there are sol1 and sol2 nodes and having two failover zones like sozone1-rg and sozone2-rg and currently... (1 Reply)
Discussion started by: nick101
1 Replies

2. Solaris

root disk mirroring in solaris volume manager for solaris 10

Need a procedure document to do "root disk mirroring in solaris volume manager for solaris 10". I hope some one will help me asap. I need to do it production environment. Let me know if you need any deatils on this. Thanks, Rama (1 Reply)
Discussion started by: ramareddi16
1 Replies

3. Solaris

Unable to login using ssh,telnet onto my solaris machine with solaris 10 installed

Hi, I am unable to login into my terminal hosting Solaris 10 and get the below error message "Server refused to allocate pty ld.so.1: sh: fatal: libc.so.1: open failed: No such file or directory " Is there anyways i can get into my machine and what kind of changes are required to be... (7 Replies)
Discussion started by: sankasu
7 Replies

4. Solaris

application compiled on solaris 10 throwing error when executed on solaris 9

I have compiled my application on Solaris 10 with following description SunOS ldg1 5.10 Generic_138888-03 sun4v sparc SUNW,Sun-Blade-T6320 The compiler is Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25 But when installing the application on Solaris 9 SunOS odcarch02 5.9... (2 Replies)
Discussion started by: ash_bit2k2
2 Replies
Login or Register to Ask a Question