From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: REEVE Ruth Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Oracle 7.3.4 problem on Tru64 5.1A PK1 Date: Fri, 31 May 2002 16:48:14 +1000 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1022828089 14200 127.0.0.1 (31 May 2002 06:54:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 31 May 2002 06:54:49 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17DgJF-0003gu-00 for ; Fri, 31 May 2002 08:54:49 +0200 Original-Received: (qmail 14165 invoked by uid 5); 31 May 2002 06:48:51 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 14157 invoked from network); 31 May 2002 06:48:51 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (134.167.3.110) by 0 with SMTP; 31 May 2002 06:48:51 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GWY0054AQXEQO@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 31 May 2002 02:48:50 -0400 (EDT) Original-Received: from EXEMS1.goldcoast.qld.gov.au (sptmail2.goldcoast.qld.gov.au [203.3.64.254]) by emroute3.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GWY0020QQWJK5@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 31 May 2002 02:48:22 -0400 (EDT) Original-Received: from NTEXCHANGE1.gccc.goldcoast.qld.gov.au (unverified) by EXEMS1.goldcoast.qld.gov.au (Content Technologies SMTPRS 4.2.5) with ESMTP id for ; Fri, 31 May 2002 16:51:37 +1000 Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft Exchange V6.0.5762.3 Thread-Topic: Oracle 7.3.4 problem on Tru64 5.1A PK1 Thread-Index: AcIIPenYhKdch+87S9KwrzexmgA96AALuCFw content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Xref: main.gmane.org gmane.os.tru64.managers:392 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:392 Thanks for all who replied (Phil Baldwin, Robert Mulley, Mathew Butler, Jim= Lola & Kat), and thanks to Mat for the neat script :) However it was mainly a case of p= laying with the parameters according to oracle and o/s tuning manuals........... It appears to have been a few of the tunable parameters, not sure if they all combined to help, but this is what I did :- I changed the following parameter as below (as indicated by a few people who replied). However this on it's own didn't fix the problem. ipc: shm_max =3D 2139095040 (was 1073741824) The DBA's found some more oracle info so I tried changing the following & = rebooting proc: max_per_proc_address_space =3D 10737418240 (was 4294967296) per_proc_address_space =3D 10737418240 (was 4294967296) ipc: shm_mni =3D 256 (was 1024) shm_seg =3D 1024 (was 256) sem_msl =3D 2600 (was 1024) vm: ubc_maxpercent =3D 70 (was 30) =20 but still got the same error (see below).....doh!!!!!! Then I noticed something with the stack_sizes.......As the oracle doco sai= d=20 not to set the stack_sizes larger than 500MB, and the doco we had on system tuning said to "choose values that are significantly less that t= he=20 address space limit", I tried setting them to the default values to see wh= at happened.... proc: per_proc_stack_size =3D 8388608 (was 4398046511104) max_per_proc_stack_size =3D 33554432 (was 4398046511104) and guess what................it worked!!!!!!=20 yahoooooooooooooooooooooooooooooooooooooooooooooooooo finally.....phew........ Note: also....as I was going through the tuning doco for large memory systems,= I set some parameters as follows to the recommended values to keep in sync with the values set above, however this was done after the oracle error was fixed above. per_proc_data_size =3D 10737418240 (was 4398046511104) max_per_proc_data_size =3D 10737418240 (was 4398046511104) thankyou again Ruth > -----Original Message----- > From: REEVE Ruth =20 > Sent: Friday, 31 May 2002 10:56 AM > To: 'tru64-unix-managers@ornl.gov' > Subject: Oracle 7.3.4 problem on Tru64 5.1A PK1 >=20 > Hi All, >=20 > We have a new ES45 with 2 x EV6.8CB cpu's, 4GB memory, 12GB swap > running Tru64 5.1A PK1 and using Advfs. The DBA's are trying to=20 > start Oracle 7.3.4 but get the following error :- >=20 > uxfmis1 (root) #> su - oracle >=20 > SIDs on this machine are > mprd FPRD >=20 > ORACLE_SID =3D [FPRD] ? > FPRD@uxfmis1:> svrmgrl >=20 > Oracle Server Manager Release 2.3.4.0.0 - Production >=20 > Copyright (c) Oracle Corporation 1994, 1995. All rights reserved. >=20 > Oracle7 Server Release 7.3.4.4.0 with the 64-bit option - Production > With the distributed and parallel query options > PL/SQL Release 2.3.4.4.0 - Production >=20 > SVRMGR> connect internal > Connected to an idle instance. > SVRMGR> startup nomount > ORA-07307: sms1sg: shmat error, unable to attach sga. > Digital Unix Error: 12: Not enough space > Additional information: 1 > SVRMGR> exit > Server Manager complete. >=20 >=20 > And yes, there is plenty of disk space :) >=20 >=20 > HOWEVER if edit the file /ora_apps/oracle/admin/FPRD/pfile/initFPRD.ora > and change the following parameters :- >=20 > from > db_block_buffers =3D 20000 > shared_pool_reserved_min_alloc =3D 10000 > shared_pool_reserved_size =3D 10000000 > shared_pool_size =3D 500000000 >=20 >=20 > to > db_block_buffers =3D 2000 > #shared_pool_reserved_min_alloc =3D 10000 > #shared_pool_reserved_size =3D 10000000 > shared_pool_size =3D 5000000 >=20 >=20 > then the database starts up fine. >=20 >=20 > The DBA's think it is a tunable paramter setting which > needs changing.>=20 > We have been looking at the tunable parameters but we > are really just taking a stab in the dark when changing > them. Below is a list of some of the parameters=20 >=20 > Does anyone have any ideas with this problem??=20 >=20 > Thankyou in advance >=20 > Ruth Reeve > Unix System Administrator > GCCC QLD Australia > rreeve@goldcoast.qld.gov.au >=20 >=20 >=20 >=20 >=20 >=20 >=20 > uxfmis1 (root) #> sysconfig -q ipc > ipc: > msg_max =3D 8192 > msg_mnb =3D 16384 > msg_mni =3D 1024 > msg_tql =3D 4096 > shm_max =3D 1073741824 > shm_min =3D 1 > shm_mni =3D 1024 > shm_seg =3D 256 > sem_mni =3D 1024 > sem_msl =3D 1024 > sem_opm =3D 200 > sem_ume =3D 200 > sem_vmx =3D 32767 > sem_aem =3D 16384 > sem_broadcast_wakeup =3D 1 > max_kernel_ports =3D 167456 > ssm_threshold =3D 0 > ssm_enable_core_dump =3D 1 > shm_allocate_striped =3D 1 > shm_enable_core_dump =3D 1 >=20 >=20 > uxfmis1 (root) #> sysconfig -q proc > proc: > max_proc_per_user =3D 2048 > max_threads_per_user =3D 2048 > per_proc_stack_size =3D 4398046511104 > max_per_proc_stack_size =3D 4398046511104 > per_proc_data_size =3D 4398046511104 > max_per_proc_data_size =3D 4398046511104 > max_per_proc_address_space =3D 4294967296 > per_proc_address_space =3D 4294967296 > executable_stack =3D 0 > autonice =3D 0 > autonice_time =3D 600 > autonice_penalty =3D 4 > open_max_soft =3D 4096 > open_max_hard =3D 4096 > ncallout_alloc_size =3D 8192 > round_robin_switch_rate =3D 60 > sched_min_idle =3D 0 > give_boost =3D 1 > maxusers =3D 2048 > num_wait_queues =3D 2048 > num_timeout_hash_queues =3D 2048 > enhanced_core_name =3D 0 > enhanced_core_max_versions =3D 16 > exec_disable_arg_limit =3D 0 >=20 >=20 > uxfmis1 (root) #> sysconfig -q advfs > advfs: > AdvfsCacheMaxPercent =3D 6 > AdvfsMinFragGrps =3D 16 > AdvfsMaxFragGrps =3D 48 > AdvfsAccessMaxPercent =3D 80 > AdvfsMinFreeAccess =3D 128 > AdvfsMaxFreeAccessPercent =3D 80 > AdvfsSyncMmapPages =3D 1 > AdvfsMaxDevQLen =3D 32 > AdvfsFavorBlockingQueue =3D 1 > AdvfsReadyQLim =3D 16384 > AdvfsDomainPanicLevel =3D 1 > AdvfsCacheHashSize =3D 0 >=20 >=20 > uxfmis1 (root) #> sysconfig -q vm > vm: > ubc_minpercent =3D 10 > ubc_maxpercent =3D 30 > ubc_borrowpercent =3D 20 > vm_max_wrpgio_kluster =3D 32768 > vm_max_rdpgio_kluster =3D 16384 > vm_cowfaults =3D 4 > vm_segmentation =3D 1 > vm_ubcpagesteal =3D 24 > vm_ubcfilemaxdirtypages =3D 4294967295 > vm_ubcdirtypercent =3D 40 > ubc_maxdirtywrites =3D 5 > ubc_maxdirtymetadata_pcnt =3D 70 > ubc_kluster_cnt =3D 32 > vm_ubcseqstartpercent =3D 50 > vm_ubcseqpercent =3D 20 > vm_csubmapsize =3D 1048576 > vm_ubcbuffers =3D 256 > vm_syncswapbuffers =3D 128 > vm_asyncswapbuffers =3D 4 > vm_clustermap =3D 1048576 > vm_clustersize =3D 65536 > vm_syswiredpercent =3D 80 > vm_troll_percent =3D 4 > vm_inswappedmin =3D 1 > vm_page_free_target =3D 1536 > vm_page_free_swap =3D 778 > vm_page_free_hardswap =3D 24576 > vm_page_free_min =3D 20 > vm_page_free_reserved =3D 10 > vm_page_free_optimal =3D 778 > vm_swap_eager =3D 1 > swapdevice =3D /dev/disk/dsk0b > vm_page_prewrite_target =3D 3072 > vm_ffl =3D 1 > ubc_ffl =3D 1 > vm_rss_maxpercent =3D 100 > anon_rss_enforce =3D 0 > vm_rss_block_target =3D 778 > vm_rss_wakeup_target =3D 778 > kernel_stack_pages =3D 0 > vm_min_kernel_address =3D 18446741891866165248 > malloc_percpu_cache =3D 1 > vm_aggressive_swap =3D 0 > new_wire_method =3D 1 > vm_segment_cache_max =3D 50 > gh_chunks =3D 512 > . > . > . > gh_min_seg_size =3D 8388608 > gh_fail_if_no_mem =3D 1 > private_cache_percent =3D 0 > gh_keep_sorted =3D 0 > gh_front_alloc =3D 1 > replicate_user_text =3D 1 > enable_yellow_zone =3D 0 > boost_pager_priority =3D 0 > kstack_free_target =3D 5 >=20 ***************************************************************************= ****** This e-mail and its contents is confidential to Gold Coast City Council and un-authorised use is strictly prohibited.=20 ***************************************************************************= ******