Skip to main content

Kernel Parameter settings for Solaris 10

taken from http://forums.techarena.in/operating-systems/1182681.htm Step 1 Decide which resource controls you would like to change. Resource Control - project.max-shm-memory Purpose - Defines the total amount of shared memory allowed for a project Maximum Value [Default Value] - [Default = 25% of the physical memory] Note - It is recommended that this resource control not be set. However, if you have to set the control to accommodate other resource consumers, ensure that the value is not less than 2MB = [2097152]. Resource Control - project.max-shm-ids* Purpose - Defines the maximum number of shared memory IDs allowed for a project Maximum Value [Default Value] - 16777216 [Default = 128] Resource Control - project.max-sem-ids* Purpose - Defines the maximum number of semaphores allowed for a project Maximum Value [Default Value] - 16777216 [Default = 128] Step 2 Use either (i) projmod command or (ii) prctl command from the client to change the value of any resource control to a value that does not exceed the maximum value indicated for the control. (i) The projmod command makes a "permanent" change to the value of the affected control (i.e., until you change the value subsequently), while (ii) the prctl command makes a temporary change to the value (i.e., the value reverts back to the previous value upon system reboot). Be sure to check the appropriate man page for these commands. Information on the projmod command is located at http://docs.sun.com/app/docs/doc/816...bb1kqch?a=view. Information on the prctl command is located at http://docs.sun.com/app/docs/doc/816...bb0m9p6?a=view. If the system will be configured as an iDataAgent, update each affected control value to accommodate 10 streams. If the system will be configured as a MediaAgent, allocate no fewer than 100 additional streams per affected control. The following commands and examples are based on the Solaris 10 General Availability (GA) version and may be subject to change. The command syntax for the projmod command is as follows: projmod [-n] [-f filename] [-p projid [-o]] [-c comment] [-a|-s|-r] [-U user [,user...]] [-G group [,group...]] [[-K name[=value[,value...]...]]] [-I new_projectname] project In Solaris 10, the /etc/project file contains all the "projects" that are associated with a processor. By default, root gets associated with "project" user.root. Therefore, for example, suppose that user.root includes the following: project.max-shm-ids=(priv,640,deny) Now, suppose you want to change the value of project.max-shm-ids to 1280. To do so, you can issue the following command: projmod -s -K "project.max-shm-ids=(priv,1280,deny)" user.root The command syntax for the prctl command is as follows: prctl [-P] [-t[basic| privileged| system]] [-n name] [-v value] [-e| d action] [-p pid] [-i idtype] id... For example, suppose you want to display the current value of project.max-shm-ids. To do this, you can issue the following command: prctl -P -n project.max-shm-ids -i project user.root The following output may be displayed: project: 1: user.root project.max-shm-ids privileged 640 - deny - project.max-shm-ids system 16777216 max deny – This indicates that the current value of project.max-shm-ids is 640. Now, suppose you want to change the value of project.max-shm-ids to 1280. To do so, you can issue the following command: prctl -n project.max-shm-ids -v 1280 -r -i project user.root Step 3 Reboot the system to allow the changes to take effect. or do the following: sudo projadd -U oracle -G oinstall user.oracle sudo projmod -sK "project.max-shm-memory=(priv,14294967295,deny)" user.oracle sudo projmod -sK "process.max-sem-ids=(priv,1024,deny)" user.oracle sudo projmod -sK "process.max-sem-nsems=(priv,1024,deny)" user.oracle sudo projmod -sK "process.max-shm-ids=(priv,1024,deny)" user.oracle To ensure you have entered the correct parameters, look at /etc/project . Well, I would suggest looking at id -p as the oracle user to make sure that the user you are running oracle as, is in the correct project: id -p uid=2000(oracle) gid=2000(oinstall) projid=100(user.oracle)

Comments

Popular posts from this blog

Menginstall Nginx, MySQL, PHP on Ubuntu Bionic Beaver (18.04 LTS)

TAHAP I - INSTALL NGINX ns@ubuntu:~$ sudo apt install nginx TEST INSTALLASI NGINX ns@ubuntu:~$ curl http://ip_localhost TAHAP II - INSTALL MYSQL ans@ubuntu:~$ sudo apt install mysql-server ans@ubuntu:~$ sudo mysql_secure_installation Set password untuk mySql secure connection ans@ubuntu:~$ sudo mysql mysql> SELECT user,authentication_string,plugin,host FROM mysql.user; mysql>ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password'; dimana 'password' di set sesuai keperluan lalu cek lagi, mysql> SELECT user,authentication_string,plugin,host FROM mysql.user; TAHAP III - INSTALL PHP ans@ubuntu:~$ sudo apt install php-fpm php-mysql ubah cgi.fix_pathinfo dari 1 menjadi 0 di file php.ini ans@ubuntu:~$ sudo nano /etc/php/7.2/fpm/php.ini cgi.fix_pathinfo=0 restart service php: ans@ubuntu:~$ sudo systemctl restart php7.2-fpm KONFIG AGAR NGINX MENGGUNAKAN PHP PROCESSOR edit file def

Darkstat - Nework Traffic Analyzer atau Monitor Jaringan

Darkstat - Nework Traffic Analyzer atau Monitor Jaringan Apa itu Darkstat? Darkstat adalah pengumpul statistik jaringan. Secara efektif, ini adalah paket sniffer yang berjalan sebagai proses latar belakang pada Kabel / DSL router, mengumpulkan segala macam statistik berguna tapi menarik, Dan melayani mereka melalui HTTP. Fitur Darkstat Grafik lalu lintas Melacak lalu lintas per host. Melacak lalu lintas per port TCP dan UDP untuk setiap host. Embedded web-server dengan deflate compression. Asynchronous reverse DNS resolution menggunakan proses child. Kecil. Portable. Single-threaded. Efisien. Instalasi Darkstat di Ubuntu ~$ sudo Apt-get install darkstat Ini akan menyelesaikan instalasi. Setelah Anda menyelesaikan instalasi, Anda perlu mengedit file yang terletak di /etc/darkstat/init.cfg START_DARKSTAT = no menjadi START_DARKSTAT = iya Start darkstat  # / Etc / init.d / darkstat start Ini akan memulai proses darkstat Arahkan browser Anda di http:

Mount ISO image file on HP-UX

There are 2 ways to mount iso file in hp-ux 1) using LVM method (to copy ISO into a logical volume) is the same as for older HP-UX releases: 1. Find out the size of the ISO image: # du -k /data/myImage.iso NOTE: The size will be in Kb. 2. Create a logical volume for the ISO image: # lvcreate -L -n iso /dev/vg00 NOTE: The name of the logical volume will be /dev/vg00/iso 3. Copy the ISO file to the raw logical volume: # dd if=/data/myImage.iso of=/dev/vg00/riso bs=64k 4. Create a temporary directory and mount the /dev/vg00/iso volume # mkdir /iso_image # mount /dev/vg00/iso /iso_image NOTE: For HP-UX 11.11 you must install the latest CDFS patches: PHCO_25841 Add Rock Ridge extension to mount_cdfs(1M) PHKL_26269 Rock Ridge extension for ISO-9660 PHKL_34153 CDFS cumulative patch 2) Available in HP-UX 11.31 0909: ISOIMAGE-ENH. Provides a new DLKM module fspd. Required to mount, read and umount the ISO image file. The comm