[ The imperialist Japanese military must officially acknowledge and apologize for the coercion of young women into sexual slaves. / 幼い女性を性の奴隷にした帝國主義日本軍の?制性を公式に認め、謝罪しなければならない. ]

사용자

ID:
PW:

INDEX
01.게시판
게시판 [72]
02.File Book
File 자료실 [96]
Site Link [14]
개인폴더 [200]
03.Field Book
Altibase [19]
Tibero [30]
MS-SQL [28]
MySQL [47]
DB2 [79]
ORACLE [3099]
PSQL [135]
CUBRID [5]
기타정보 [170]
운영체제 [613]
04.Q/A Book
Q/A [53]
05.방명록
방명록 [54]
레벨업 [37]
구인/구직 [2]

기념일
Search
LINK
+ 가족 Hompy
+ DNSEver
IOTN :: Field Book :: ORACLE

 회원가입

Linux 4U5 MEM: 16G SGA: 8G [ 6시간 삽질 성공기, ORA-27102 ORA-00385 ERROR: Unable to attach to VLM segment WARNING: EINVAL creating segment ]
최길호 [LIST]   2008-06-29 02:37:30, 조회 : 34,677

How to Configure RHEL/OEL 4/5 32-bit for Very Large Memory with ramfs and HugePages
  Doc ID:  Note:317141.1

# 관련된 에러
# ORA-27102: out of memory
# ORA-00385: cannot enable Very Large Memory with new buffer cache parameters
# ERROR: Unable to attach to VLM segment at (nil): window size=0x20000000 size=0x200000000
# WARNING: EINVAL creating segment of size 0x000000007d002000
# Adjusting the default value of parameter parallel_max_servers
# from 320 to 135 due to the value of parameter processes (150)


[oracle@med ~]$ uname -a [ 성공한 정보 ]
Linux med 2.6.9-55.ELhugemem #1 SMP Fri Apr 20 17:20:11 EDT 2007 i686 i686 i386 GNU/Linux

Install OS with Full option

/boot/grub/grub.conf [ booting 2.6.9-55.ELhugemem ]
=======================================================================================
default=0 # 1->0 수정됨
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux AS (2.6.9-55.ELhugemem)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-55.ELhugemem ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.9-55.ELhugemem.img
title Red Hat Enterprise Linux AS (2.6.9-55.ELsmp)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-55.ELsmp ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.9-55.ELsmp.img
title Red Hat Enterprise Linux AS-up (2.6.9-55.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-55.EL ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.9-55.EL.img


/etc/sysctl.conf
=======================================================================================
kernel.sysrq = 1
kernel.core_uses_pid = 1
kernel.shmmni = 4096
kernel.shmall = 8388608
kernel.shmmax = 4294967295        # shared_pool_size 제한값
net.core.rmem_default=1048576
net.core.wmem_default=1048576
net.core.rmem_max=1048576
net.core.wmem_max=1048576
kernel.sem = 2000 500000 100 250
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000

/etc/rc.local
=======================================================================================
umount /dev/shm
mount -t ramfs ramfs /dev/shm
chown oracle:dba /dev/shm

[ Reboot server ]
=======================================================================================
# /dev/shm 확인
# oracle:dba /dev/shm 확인
[root@med GH]# mount | grep shm        
ramfs on /dev/shm type ramfs (rw)
[root@med GH]# ls -ld /dev/shm
drwxr-xr-x  2 oracle dba 0 Jun 29 02:10 /dev/shm

/etc/security/limits.conf
=======================================================================================
*               soft    nproc   2047
*               hard    nproc   16384
*               soft    nofile  1024
*               hard    nofile  65536
*               soft    memlock 4194302
*               hard    memlock 4194302

[oracle@med dbs]$ ulimit -l
4194302


init.ora
=======================================================================================
*.db_block_buffers=1048576          # 8G
*.db_block_size=8192
*.shared_pool_size=2000M           # shmmax 범위 적용
*.USE_INDIRECT_DATA_BUFFERS=TRUE
# USE_INDIRECT_DATA_BUFFERS=TRUE
# sga_max_size      # 사용 못함.
# sga_target disable # 사용 못함.

kernel.shmmax = 4294967295 4G [ shared_pool_size 제한값], SGA_TARGET은 동적, 사용 못함.

[oracle@med dbs]$ ipcs

------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status
0x235c63b4 1146891    oracle    640        2166358016 24
0x00000000 1179660    oracle    640        4096       0

================================================================
ls -l /dev/shm
-rw-r-----  1 oracle dba 6442450944  7월  8 22:26 ora_M2_524300

SQL> select  786432*8192 from dual;
786432*8192
-----------
6442450944

db_block_buffers = 786432
db_block_size = 8192
================================================================
3.238.121.7


최길호
*.process=300을 넘지 못함. [ site에서는 1000 값을 요구 ]

/etc/sysctl.conf
------------------------------------------------------------
kernel.shmmax = 4294967295 # shared_pool_size 제한값

init.ora
------------------------------------------------------------
*.shared_pool_size=2000M # shmmax 범위 적용

요놈들과 관련이 있는것 같은데..
다음주 삽질 한번 해야지.. ㅎㅎㅎ
2008-07-27
10:22:02



최길호
ORA10G.__db_cache_size=1644167168
ORA10G.__java_pool_size=16777216
ORA10G.__large_pool_size=33554432
ORA10G.__shared_pool_size=385875968
ORA10G.__streams_pool_size=0
*.audit_file_dest='/oracle/app/oracle/product/10g/admin/ORA10G/adump'
*.background_dump_dest='/oracle/app/oracle/product/10g/admin/ORA10G/bdump'
*.compatible='10.2.0.3.0'
*.control_files='/ORADATA1/control01.ctl','/ORADATA1/control02.ctl','/BACKUP/mirror/control03.ctl'
*.core_dump_dest='/oracle/app/oracle/product/10g/admin/ORA10G/cdump'
*.shared_pool_size=1800m
*.db_block_buffers=512000
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_name='ORA10G'
*.db_recovery_file_dest='/ORADATA1/OCS/flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.job_queue_processes=10
*.large_pool_size=0
*.log_archive_dest_1='location=/BACKUP/arch/'
*.open_cursors=200
*.pga_aggregate_target=800M
*.processes=600
*.remote_login_passwordfile='EXCLUSIVE'
*.sessions=600
#*.sga_target=2097152000
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.USE_INDIRECT_DATA_BUFFERS=TRUE
*.utl_file_dir='*'
*.user_dump_dest='/oracle/app/oracle/product/10g/admin/ORA10G/udump'


SQL> show sga

Total System Global Area 6157238272 bytes
Fixed Size 1268244 bytes
Variable Size 1946158572 bytes
Database Buffers 4194304000 bytes
Redo Buffers 15507456 bytes
2009-10-19
11:53:19



  LIST

제목 작성자 작성일 조회
Troubleshoot  IMP-00058 ORA-01461 IMP-00028 ORA-29275 [ character set은 동일하게 하세요 ]    최길호 2009/08/28 34940
Troubleshoot  windows 2008 64bit 11gR1 imp.exe APPCRASH     최길호 2010/11/03 34932
Troubleshoot  ORA-16038, ORA-00354, ORA-00353, ORA-16014, Archiver process freed from errors. No longer stopped    최길호 2008/06/28 34764
Install and Config  Linux 4U5 MEM: 16G SGA: 8G [ 6시간 삽질 성공기, ORA-27102 ORA-00385 ERROR: Unable to attach to VLM segment WARNING: EINVAL creating segment ]  [2]  최길호 2008/06/29 34677
RAC,OPS  rac 10.2 change public IP , VIP , nic device [ vip evtf.log ( clsrevtf: Invalid resource attr ora.node1.vip ) ]  [6]  최길호 2008/09/16 34349
Tool  ociuldr 입니다. 유용하게 사용할 수 있을듯 합니다. [linux gcc, aix cc]   [1]  최길호 2010/01/27 34121
Troubleshoot  event enq: SQ - contention [ enqueue lock ]     최길호 2010/07/11 33956
Troubleshoot  create ctxsys [ 9i,10g ]    최길호 2011/04/16 33879
Troubleshoot  dbca LRM-00123 ORA-01078    최길호 2010/11/25 33874
Troubleshoot  ORA-04052 ORA-12154 IMP-00098: INTERNAL ERROR: impccr2    최길호 2009/04/01 33616
Troubleshoot  ORA-00600: 내부 오류 코드, 인수 : [12333], [12], [50], [48], [], [], [], []    최길호 2010/03/24 33361
Install and Config  11g 기본 설치 script [ create database script , 10g 가능 ]    최길호 2009/07/07 33279
Troubleshoot  /usr/lib/pa20_64/dld.sl: Unable to find library 'libsqlplus.sl' 'libwtc9.sl' 'libclntsh.sl.10.1'    최길호 2010/05/07 33192
Troubleshoot  ORA-07445: exception encountered: core dump [kghlkaftf()+128], ORA-00470: LGWR process terminated with error    최길호 2009/12/07 33102
Troubleshoot  opatch rollback후 OUI-67076    최길호 2007/07/11 33026
Troubleshoot  ORA-12705: Cannot access NLS data files or invalid environment specified    최길호 2010/10/01 32976
Tuning  DECODE 조건을 Index 사용할 수 있도록 SQL 변경    최길호 2010/05/11 32964
Script  login alter session 적용 [ trigger , alter session , 10046 event ]    최길호 2009/06/04 32904
Application Server  opmn java.lang.OutOfMemoryError 대처    최길호 2005/06/16 32869
Troubleshoot  HPUX, ORA-09968: scumnt: unable to lock file  [1]  최길호 2008/02/20 32675

    목록보기   이전페이지   다음페이지 [1][2][3][4] 5 [6][7][8][9][10]..[155]   [다음 10개]
       

Copyright 1999-2024 Zeroboard / skin by 최길호(gilho.kr@gmail.com)
최근 댓글
2021/06/30
윈도우 서버에서 sqlplus .... ORA-...
by 최길호
2021/06/30
ORA-28500: connection from O...
by 최길호
2019/05/02
pkg 확인 SELECT * FROM AL...
by 최길호
최근 게시물
07/22
[ORACLE]
ogg Rolling over remote file [....
by 최길호
07/15
[ORACLE]
PRKF-1125 : multiple values sp....
by 최길호
07/04
[운영체제]
NIC add cli / nmcli device sho....
by 최길호