2 Replies Latest reply: Nov 6, 2012 7:25 AM by JohnWatson RSS

    semaphores on solaris 10

    user11979518
      Hi Guys,

      I need help with semaphores on solaris 10. I have an application that processes transaction from the O/S to the Oracle database 11gR2. I used to run this processes on solaris 9 and it was faster than on Solaris 10.

      T4 have the following kernel parameters:

      cat /etc/system

      set noexec_user_stack = 1
      set noexec_user_stack_log = 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 = 21474836480
      set shmsys:shminfo_shmmni = 100

      Does the semaphores have impact on the processes that runs on the server?--How do I see how many semaphores am I using for my processes?

      Please Help !!!!!!!

      Thanks in advance...
        • 1. Re: semaphores on solaris 10
          Osama_Mustafa
          to understand what is semaphores read :

          http://careerride.com/OS-semaphore.aspx

          Check Oracle Doc about this
          http://docs.oracle.com/cd/E19575-01/821-0182/fxxtz/index.html
          http://docs.oracle.com/cd/E23824_01/html/821-1450/chapter2-63.html
          • 2. Re: semaphores on solaris 10
            JohnWatson
            In Solaris 10, you do not control semaphores through /etc/system, you have to set them up in your project definition. The same applies to your shared memory. This is really important: your system is working, but it may be running completely on defaults and could fail any time. That having ben said, clearly the semaphores and so on are OK, or it wouldn't be running.
            This is irrelevant to performance.