FRM-41839: Disk I/O error on temporary record buffer file /tmp/...TMP,frm-41839...tmp

來源:互聯網
上載者:User

FRM-41839: Disk I/O error on temporary record buffer file /tmp/...TMP,frm-41839...tmp

這個錯誤是在處理很大資料量的時候才產生的, 比如做Physical Inventory Adjustment, 由於EBS 需要龐大的資料, 系統會在 /tmp 目錄下使用一個臨時檔案 *.TMP, 結束後這個臨時檔案就被刪了.

如果資料量實在太大, 就可能報這個錯了: FRM-41839: Disk I/O error on temporary record buffer file /tmp/...TMP

報這個錯的原因可能是 /tmp 目錄分配的空間太小, 磁碟空間不夠了. 但是即使這個目錄空間足夠, 任然有可能發生這個錯誤, 因為EBS 對這個臨時檔案的大小有限制, 在patch 14825718 之前, 這個檔案的大小被限制在 2G, 打完這個patch 之後, 可以修改設定檔來增加這個臨時檔案的大小限制.

可以參考 Most Common Solutions to FRM-41839 and .tmp Files Not Being Deleted (Doc ID 435437.1) 第13 點.

下載補丁, 以及注意事項參考 Upgrading OracleAS 10g Forms and Reports in Oracle E-Business Suite Release 12 (Doc ID 437878.1)

具體操作步驟:

0. shut down EBS
1. download patch (Solaris):https://updates.oracle.com/download/14825718.html
2. upload the patch to DIR: /var/tmp
3. unzip p14825718_xxx.zip (depends on Ct's system)
4. cd 14825718
5. export PATH=$PATH:/var/tmp/14825718
6. use command: opatch apply
7. after patch applied, then go to $ORA_CONFIG_HOME/10.1.2/forms/server, find file default.env, find FORMS_SCROLL_ALL_BUT_ONE in the file, and add
following in the next line:
FORMS_RECMGR_RECSIZE_POWER=4
this would allow .tmp file size up to 32Gb.
8. Then bounce EBS and retest.

這個是個架構的patch, 打完這個patch 之後, 需要重建 form 和 jar 檔案, 使用 adadmin 命令. 不然form 可能會打不開.

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.