Home » Infrastructure » Linux » Oracle 10g on FC2 - background processes: oracle.bin
Oracle 10g on FC2 - background processes: oracle.bin [message #99229] Sun, 14 November 2004 20:22 Go to next message
Sasha B.
Messages: 1
Registered: November 2004
Junior Member
Summary: Oracle background processes are all named oracle.bin ?!

Fedora Core 2, kernel 2.6.8-1.521, Intel
Oracle 10g Ent. 10.1.0.2.0

Installed 10g yesterday, it's up and running.

After I was getting ORA-12175: Unable to create shared memory segment, during first DBCA run, I had resolved it with this:

cd $ORACLE_HOME/bin
mv oracle oracle.bin

cat >oracle <<"EOF"

#!/bin/bash
export DISABLE_HUGETLBFS=1
exec $ORACLE_HOME/bin/oracle.bin $@
EOF
chmod +x oracle

After that, instead of seeing Oracle background processes by name, I.e. ora_pmon, ora_smon, ora_lgwr ...

this is what I'm getting:

ps -ef
UID PID PPID C STIME TTY TIME CMD
root 2755 1 0 14:34 ? 00:00:00 /bin/su oracle -c exec /u01/app/oracle/product/10.1.0/db_1/bin/ocssd
oracle 3130 2755 0 14:35 ? 00:00:00 /u01/app/oracle/product/10.1.0/db_1/bin/ocssd.bin
oracle 3132 3130 0 14:35 ? 00:00:00 /u01/app/oracle/product/10.1.0/db_1/bin/ocssd.bin
oracle 3133 3132 0 14:35 ? 00:00:00 /u01/app/oracle/product/10.1.0/db_1/bin/ocssd.bin
oracle 3134 3132 0 14:35 ? 00:00:00 /u01/app/oracle/product/10.1.0/db_1/bin/ocssd.bin
oracle 3135 3132 0 14:35 ? 00:00:00 /u01/app/oracle/product/10.1.0/db_1/bin/ocssd.bin
oracle 3136 3132 0 14:35 ? 00:00:00 /u01/app/oracle/product/10.1.0/db_1/bin/ocssd.bin
oracle 3137 3132 0 14:35 ? 00:00:00 /u01/app/oracle/product/10.1.0/db_1/bin/ocssd.bin
oracle 3138 3132 0 14:35 ? 00:00:00 /u01/app/oracle/product/10.1.0/db_1/bin/ocssd.bin
oracle 3139 3132 0 14:35 ? 00:00:00 /u01/app/oracle/product/10.1.0/db_1/bin/ocssd.bin
oracle 3141 3132 0 14:35 ? 00:00:00 /u01/app/oracle/product/10.1.0/db_1/bin/ocssd.bin
oracle 3142 3132 0 14:35 ? 00:00:00 /u01/app/oracle/product/10.1.0/db_1/bin/ocssd.bin
oracle 3143 3132 0 14:35 ? 00:00:00 /u01/app/oracle/product/10.1.0/db_1/bin/ocssd.bin
oracle 3144 3132 0 14:35 ? 00:00:00 /u01/app/oracle/product/10.1.0/db_1/bin/ocssd.bin
oracle 3145 3132 0 14:35 ? 00:00:00 /u01/app/oracle/product/10.1.0/db_1/bin/ocssd.bin
oracle 3146 3132 0 14:35 ? 00:00:00 /u01/app/oracle/product/10.1.0/db_1/bin/ocssd.bin
oracle 9094 1 1 19:07 ? 00:00:00 /u01/app/oracle/product/10.1.0/db_1/bin/oracle.bin
oracle 9096 1 0 19:07 ? 00:00:00 /u01/app/oracle/product/10.1.0/db_1/bin/oracle.bin
oracle 9098 1 0 19:07 ? 00:00:00 /u01/app/oracle/product/10.1.0/db_1/bin/oracle.bin
oracle 9100 1 0 19:07 ? 00:00:00 /u01/app/oracle/product/10.1.0/db_1/bin/oracle.bin
oracle 9102 1 0 19:07 ? 00:00:00 /u01/app/oracle/product/10.1.0/db_1/bin/oracle.bin
oracle 9104 1 1 19:07 ? 00:00:00 /u01/app/oracle/product/10.1.0/db_1/bin/oracle.bin
oracle 9106 1 0 19:07 ? 00:00:00 /u01/app/oracle/product/10.1.0/db_1/bin/oracle.bin
oracle 9108 1 0 19:07 ? 00:00:00 /u01/app/oracle/product/10.1.0/db_1/bin/oracle.bin
oracle 9110 1 0 19:07 ? 00:00:00 /u01/app/oracle/product/10.1.0/db_1/bin/oracle.bin
oracle 9112 1 0 19:07 ? 00:00:00 /u01/app/oracle/product/10.1.0/db_1/bin/oracle.bin
oracle 9116 1 0 19:07 ? 00:00:00 /u01/app/oracle/product/10.1.0/db_1/bin/oracle.bin (DESCRIPTION=(LOCA

Any ideas on how to see 'REAL' oracle background process names?
Re: Oracle 10g on FC2 - background processes: oracle.bin [message #99230 is a reply to message #99229] Mon, 15 November 2004 19:43 Go to previous messageGo to next message
Daljit Singh
Messages: 290
Registered: October 2003
Location: Texas
Senior Member
Hi,

I dont know from where you got that solution for ORA-12175.

According to me this error indicates that oracle is unable to allocate enough shared memory segment to create the SGA. Just set some kernel level parameters like kernel.shmmax, kernel.shmmin etc before creating any database and you would be out of this problem. On linux this changes can be made in /etc/sysctl.conf file and it is better to reboot the machine after setting them.

To check the background processes related to a particular database use :

ps -ef | grep SID

Where SID is the name of your database.

Daljit Singh.d
Re: Oracle 10g on FC2 - background processes: oracle.bin [message #115070 is a reply to message #99229] Thu, 07 April 2005 03:58 Go to previous message
mkleifgen
Messages: 1
Registered: April 2005
Location: Austin, TX
Junior Member
The full explanation behind the multitude of ocssd.bin procs you're seeing can be found in note 265769.1 on metalink, but the short version is that root.sh sets up init.cssd as a respawn process in /etc/inittab. When init.cssd starts it should leave a ocssd.bin daemon behind for management of ipc regarging automated storage management or a RAC cluster. In some cases init.cssd will respawn leaving unnecessary processes behind.

You might want to consider using the HUGETLBFS option. Newer kernels have support for very large contiguous memory pages which provides the kernel with VERY fast mmap and shared mem functions. The pages have to be reserved before they can be used, though, and since they have to be contiguous it usually means a reboot.

To reserve the pages all you need to do is set /proc/sys/vm/hugetlb_pool to the amount of mem to reserve in MB, and set it in /etc/sysctl.conf or whatever you're using to adjust kernel tuning. You can view statistics on the memory by cat'ing /proc/meminfo. One caveat is that the memory you reserve will only be available for mmap and shmgets, so make sure you leave enough for the rest for the procs on the system.


Cheers.

Previous Topic: 9i on Red Hat ES 4 ?
Next Topic: Ebtables firewall!!
Goto Forum:
  


Current Time: Fri Mar 29 01:02:59 CDT 2024