iAS902 Memory Leak???
Date: Tue, 2 Jul 2002 11:45:30 -0700
Message-ID: <afsso8$2q5$1_at_pith.uoregon.edu>
[Quoted] Sorry if this is the wrong newsgroup to post to but I could not find a 9i Application Server group.
[Quoted] If there is a better group for this could you please post the name.
Could someone Please Confirm or Contradict hanging jre (and opmn if started) on shutdown:
Environment:
[Quoted] Redhat 7.1 with Required Kernel Glib binutils
P4 2GHz; 1GB Ram; 40GB /; 4GB Swap
9iAS902 Infrastructure with OEM 9iDB90130 Repository (Installed by iAS)
9iAS902 Mid-tier installed in separate home (not started for Test Env Clear)
[Quoted] All Patches Applied
Start up Listener, Repository, and OEM per Script below
ps shows tnslsnr, oemLaunchOms, 7 oracle, and ~ 70 jre (see below) [Quoted] Shutdown OEM, Repository, Listener per Script below.
After Running it will show that multiple JRE are not stopped:
[oracle_at_hst oracle]$ ps -H
PID TTY TIME CMD
1065 pts/0 00:00:00 bash 1356 pts/0 00:00:00 ps 1267 pts/0 00:00:00 jre 1279 pts/0 00:00:00 jre 1280 pts/0 00:00:00 jre 1281 pts/0 00:00:00 jre 1282 pts/0 00:00:00 jre 1283 pts/0 00:00:00 jre 1284 pts/0 00:00:00 jre 1285 pts/0 00:00:00 jre 1286 pts/0 00:00:00 jre 1287 pts/0 00:00:00 jre 1288 pts/0 00:00:00 jre 1289 pts/0 00:00:00 jre 1290 pts/0 00:00:00 jre 1297 pts/0 00:00:00 jre
[oracle_at_hst oracle]$
If you startup and shutdown multiple times more JRE's will be lost.
Is this to be expected, anyone else see this, did I get a bad install???
Any help would be appreciated
Thanks
A
#================================================
#Scripts run in bash as user oracle with . oraenv set to iasdb (all works)
#Startup Script:
export ORACLE_HOME=/path/inf_home
export ORACLE_SID=iasdb
#Start Listener
$ORACLE_HOME/bin/lsnrctl start
#Start Repository
sqlplus /nolog $args <<EOF
connect /as sysdba
startup
EOF
#Start OEM
[Quoted] $ORACLE_HOME/bin/oemctl start oms
# At This point the system works fine and can be accessed
#Do Not connect to OMS but wait for full start (disks stop spinning)
#Shutdown Script:
export ORACLE_HOME=/path/inf_home
export ORACLE_SID=iasdb
#Stop OEM
$ORACLE_HOME/bin/oemctl stop oms sysman/oem_temp
#Stop Repository
sqlplus /nolog $args <<EOF
connect /as sysdba
shutdown immediate
EOF
#Stop Listener
$ORACLE_HOME/bin/lsnrctl stop
PROCESSES WHILE RUNNING:
[oracle_at_hst oracle]$ ps -H
PID TTY TIME CMD
1622 pts/1 00:00:00 bash 1975 pts/1 00:00:00 ps 1971 pts/1 00:00:00 oracle 1969 pts/1 00:00:00 oracle 1967 pts/1 00:00:00 oracle 1948 pts/1 00:00:00 oracle 1927 pts/1 00:00:00 oracle 1924 pts/1 00:00:00 oracle 1919 pts/1 00:00:00 oracle 1917 pts/1 00:00:00 oracle 1915 pts/1 00:00:00 oracle 1887 pts/1 00:00:00 oracle 1830 pts/1 00:00:00 oemLaunchOms 1845 pts/1 00:00:01 jre 1855 pts/1 00:00:00 jre 1856 pts/1 00:00:00 jre 1857 pts/1 00:00:00 jre 1858 pts/1 00:00:00 jre 1859 pts/1 00:00:00 jre 1860 pts/1 00:00:00 jre 1861 pts/1 00:00:00 jre 1862 pts/1 00:00:00 jre 1863 pts/1 00:00:00 jre 1864 pts/1 00:00:00 jre 1865 pts/1 00:00:00 jre 1866 pts/1 00:00:00 jre 1867 pts/1 00:00:00 jre 1868 pts/1 00:00:00 jre 1869 pts/1 00:00:00 jre 1870 pts/1 00:00:00 jre 1871 pts/1 00:00:00 jre 1872 pts/1 00:00:00 jre 1873 pts/1 00:00:00 jre 1874 pts/1 00:00:00 jre 1875 pts/1 00:00:00 jre 1876 pts/1 00:00:00 jre 1877 pts/1 00:00:00 jre 1878 pts/1 00:00:00 jre 1879 pts/1 00:00:00 jre 1884 pts/1 00:00:00 jre 1885 pts/1 00:00:00 jre 1888 pts/1 00:00:00 jre 1889 pts/1 00:00:00 jre 1890 pts/1 00:00:00 jre 1891 pts/1 00:00:00 jre 1892 pts/1 00:00:00 jre 1893 pts/1 00:00:00 jre 1894 pts/1 00:00:00 jre 1895 pts/1 00:00:00 jre 1896 pts/1 00:00:00 jre 1897 pts/1 00:00:00 jre 1898 pts/1 00:00:00 jre 1899 pts/1 00:00:00 jre 1900 pts/1 00:00:00 jre 1901 pts/1 00:00:00 jre 1902 pts/1 00:00:00 jre 1903 pts/1 00:00:00 jre 1904 pts/1 00:00:00 jre 1905 pts/1 00:00:00 jre 1906 pts/1 00:00:00 jre 1907 pts/1 00:00:00 jre 1908 pts/1 00:00:00 jre 1909 pts/1 00:00:00 jre 1910 pts/1 00:00:00 jre 1911 pts/1 00:00:00 jre 1912 pts/1 00:00:00 jre 1913 pts/1 00:00:00 jre 1920 pts/1 00:00:00 jre 1921 pts/1 00:00:00 jre 1922 pts/1 00:00:00 jre 1925 pts/1 00:00:00 jre 1928 pts/1 00:00:03 jre 1929 pts/1 00:00:00 jre 1930 pts/1 00:00:00 jre 1931 pts/1 00:00:00 jre 1933 pts/1 00:00:00 jre 1934 pts/1 00:00:00 jre 1949 pts/1 00:00:00 jre 1962 pts/1 00:00:00 jre 1963 pts/1 00:00:00 jre 1964 pts/1 00:00:00 jre 1665 pts/1 00:00:00 tnslsnr
On another note If I start and Shutdown the Intelligent Agent I will get "Agent Shutdown Failed but the logs all show normal shutdown with return of [Quoted] 0. Also if I start OPMN and shut it down it will also have the same Hanging processes. Received on Tue Jul 02 2002 - 20:45:30 CEST