dbimport Problems: 567 and 116 Errors
Posted in 2003
Topics: Server Administration, Migration, Import/Export & Data Conversion, Platform-Specific Issues
AIX 4.3.3 and
Informix 9.30.UC2
Dbimport fails when it reaches
update statistics high for table ar_cash_history (
cash_amt, cash_balance, cash_batch_no, cash_bill_date, cash_chk_amt,
cash_chk_num, cash_cus_code, cash_date, cash_payor, cash_pro_number,
cash_receivable, cash_trans_code)resolution 0.50000 ;
at this stage
onstat -g seg shows
Informix Dynamic Server Version 9.30.UC2 -- On-Line -- Up 4 days
19:58:04 -- 300096 Kbytes
Segment Summary:
id key addr size ovhd class blkused blkfree
262154 1381451777 30000000 229752832 221796 R 56063 29
131085 1381451778 40000000 8192000 856 V 2000 0
131084 1381451779 50000000 2244608 672 M 515 33
131083 1381451780 60000000 8388608 856 V 1943 105
15 1381451781 70000000 8388608 856 V 2015 33
16 1381451782 80000000 8388608 856 V 623 1425
262161 1381451783 90000000 8388608 856 V 1 2047
262162 1381451784 a0000000 8388608 856 V 1 2047
262163 1381451785 b0000000 8388608 856 V 1 2047
262164 1381451786 c0000000 8388608 856 V 1 2047
262165 1381451787 e0000000 8388608 856 V 1 2047
Total: - - 307298304 - - 63164 11860
(* segment locked in memory)
So I copied from this to the end of sql file and did
Onmode -F
And ran it
I get the same errors again
Thanks
Basheer X 3269
What
error was given?
-----Original Message-----
From: Azeemuddin,.... [mailto:bazeemuddin@knrq.com]
Sent: Tuesday, September 02, 2003 11:07 AM
To: ids@iiug.org
Subject: dbimport Problems: 567 and 116 Errors [1786]
AIX 4.3.3 and Informix 9.30.UC2
Dbimport fails when it reaches
update statistics high for table ar_cash_history (
cash_amt, cash_balance, cash_batch_no, cash_bill_date, cash_chk_amt,
cash_chk_num, cash_cus_code, cash_date, cash_payor, cash_pro_number,
cash_receivable, cash_trans_code)resolution 0.50000 ;
at this stage
onstat -g seg shows
Informix Dynamic Server Version 9.30.UC2 -- On-Line -- Up 4 days
19:58:04 -- 300096 Kbytes
Segment Summary:
id key addr size ovhd class blkused blkfree
262154 1381451777 30000000 229752832 221796 R 56063 29
131085 1381451778 40000000 8192000 856 V 2000 0
131084 1381451779 50000000 2244608 672 M 515 33
131083 1381451780 60000000 8388608 856 V 1943 105
15 1381451781 70000000 8388608 856 V 2015 33
16 1381451782 80000000 8388608 856 V 623 1425
262161 1381451783 90000000 8388608 856 V 1 2047
262162 1381451784 a0000000 8388608 856 V 1 2047
262163 1381451785 b0000000 8388608 856 V 1 2047
262164 1381451786 c0000000 8388608 856 V 1 2047
262165 1381451787 e0000000 8388608 856 V 1 2047
Total: - - 307298304 - - 63164 11860
(* segment locked in memory)
So I copied from this to the end of sql file and did
Onmode -F
And ran it
I get the same errors again
Thanks
Basheer X 3269
"CONFIDENTIALITY NOTICE: This message originates from WHSmith USA Travel
Retail. This email message and all attachments may contain legally
privileged and confidential information intended solely for the use of the
addressee. If you are not the intended recipient, you should immediately
stop reading this message and delete it from the system. Any unauthorized
reading, distribution, copying, or other use of this message or its
attachments is strictly prohibited. All personal messages express solely the
sender's views and not those of WHSmith USA Travel Retail. This message may
not be copied or distributed without this disclaimer."
Yes, shown below
18:44:33 Dynamically allocated new virtual shared memory segment (size
8192KB)
18:45:37 Dynamically allocated new virtual shared memory segment (size
8192KB)
18:45:39 Dynamically allocated new virtual shared memory segment (size
8192KB)
18:45:41 Dynamically allocated new virtual shared memory segment (size
8192KB)
18:45:43 Dynamically allocated new virtual shared memory segment (size
8192KB)
18:45:45 shmat: [EMFILE][24]: out of shared memory segments, check system
SHMSE
G
18:45:45 shmdt: errno = 22
Thanks
Basheer
-----Original Message-----
From: preetinder dhaliwal [mailto:preetinder.dhaliwal@dhl.com]
Sent: Tuesday, September 02, 2003 1:19 PM
To: Azeemuddin,....
Cc: ids@iiug.org
Subject: Re: dbimport Problems: 567 and 116 Errors [1786]
Did u check in informix online log ( onstat -m ) if there were any
errors/warnings?
Rgds
Preetinder
Azeemuddin,.... wrote:
>AIX 4.3.3 and Informix 9.30.UC2
>
>Dbimport fails when it reaches
>
>update statistics high for table ar_cash_history (
> cash_amt, cash_balance, cash_batch_no, cash_bill_date, cash_chk_amt,
> cash_chk_num, cash_cus_code, cash_date, cash_payor, cash_pro_number,
> cash_receivable, cash_trans_code)> resolution 0.50000 ;
>
>
>at this stage
>
>onstat -g seg shows>
>Informix Dynamic Server Version 9.30.UC2 -- On-Line -- Up 4 days
>19:58:04 -- 300096 Kbytes
>
>Segment Summary:
>id key addr size ovhd class blkused blkfree
>262154 1381451777 30000000 229752832 221796 R 56063 29
>131085 1381451778 40000000 8192000 856 V 2000 0
>131084 1381451779 50000000 2244608 672 M 515 33
>131083 1381451780 60000000 8388608 856 V 1943 105
>15 1381451781 70000000 8388608 856 V 2015 33
>16 1381451782 80000000 8388608 856 V 623 1425
>262161 1381451783 90000000 8388608 856 V 1 2047
>262162 1381451784 a0000000 8388608 856 V 1 2047
>262163 1381451785 b0000000 8388608 856 V 1 2047
>262164 1381451786 c0000000 8388608 856 V 1 2047
>262165 1381451787 e0000000 8388608 856 V 1 2047
>Total: - - 307298304 - - 63164 11860
>
> (* segment locked in memory)
>
>
>
>So I copied from this to the end of sql file and did
>Onmode -F
>
>And ran it
>
>I get the same errors again
>
>
>
>Thanks
>Basheer X 3269
>
>
>
>
The error 24
EMFILE , shows " [EMFILE] The maximum number of file
descriptors allowed are
currently open."
. The problem could be with ur kernel level params maxfiles or nfil (
not sure which one ), so ask ur sys ad to increase the limit of max open
files per process and system wide and rebuild the kernel.
Alternatively, you can try to increase SHMADD in onconfig ( to double -
from 8192 to 16384 ).
Hope this helps
Rgds
Preetinder
Azeemuddin, Basheer wrote:
>Yes, shown below
>
>18:44:33 Dynamically allocated new virtual shared memory segment (size
>8192KB)
>18:45:37 Dynamically allocated new virtual shared memory segment (size
>8192KB)
>18:45:39 Dynamically allocated new virtual shared memory segment (size
>8192KB)
>18:45:41 Dynamically allocated new virtual shared memory segment (size
>8192KB)
>18:45:43 Dynamically allocated new virtual shared memory segment (size
>8192KB)
>18:45:45 shmat: [EMFILE][24]: out of shared memory segments, check system
>SHMSE
>G
>
>18:45:45 shmdt: errno = 22
>
>Thanks
>Basheer
>
>-----Original Message-----
>From: preetinder dhaliwal [mailto:preetinder.dhaliwal@dhl.com]
>Sent: Tuesday, September 02, 2003 1:19 PM
>To: Azeemuddin,....
>Cc: ids@iiug.org
>Subject: Re: dbimport Problems: 567 and 116 Errors [1786]
>
>Did u check in informix online log ( onstat -m ) if there were any
>errors/warnings?
>
>Rgds
>Preetinder
>
>Azeemuddin,.... wrote:
>
>
>
>>AIX 4.3.3 and Informix 9.30.UC2
>>
>>Dbimport fails when it reaches
>>
>>update statistics high for table ar_cash_history (
>> cash_amt, cash_balance, cash_batch_no, cash_bill_date, cash_chk_amt,
>> cash_chk_num, cash_cus_code, cash_date, cash_payor, cash_pro_number,
>> cash_receivable, cash_trans_code)>> resolution 0.50000 ;
>>
>>
>>at this stage
>>
>>onstat -g seg shows>>
>>Informix Dynamic Server Version 9.30.UC2 -- On-Line -- Up 4 days
>>19:58:04 -- 300096 Kbytes
>>
>>Segment Summary:
>>id key addr size ovhd class blkused blkfree
>>262154 1381451777 30000000 229752832 221796 R 56063 29
>>131085 1381451778 40000000 8192000 856 V 2000 0
>>131084 1381451779 50000000 2244608 672 M 515 33
>>131083 1381451780 60000000 8388608 856 V 1943 105
>>15 1381451781 70000000 8388608 856 V 2015 33
>>16 1381451782 80000000 8388608 856 V 623 1425
>>262161 1381451783 90000000 8388608 856 V 1 2047
>>262162 1381451784 a0000000 8388608 856 V 1 2047
>>262163 1381451785 b0000000 8388608 856 V 1 2047
>>262164 1381451786 c0000000 8388608 856 V 1 2047
>>262165 1381451787 e0000000 8388608 856 V 1 2047
>>Total: - - 307298304 - - 63164 11860
>>
>> (* segment locked in memory)
>>
>>
>>
>>So I copied from this to the end of sql file and did
>>Onmode -F
>>
>>And ran it
>>
>>I get the same errors again
>>
>>
>>
>>Thanks
>>Basheer X 3269
>>
>>
>>
>>
>>
>>
Related threads
- Posting from the Informix-list
- Migrating from IDS 9.40.UC6 to 11.50.UC3
- Ip for a network session
- questions onstat -g