cancel
Showing results for 
Search instead for 
Did you mean: 

Extraction job failing in source system

Former Member
0 Kudos

Hi,

We have an extractor which extracts attributes for netwrok activity(0ACTIVITY_ATTR). This is a full data load as there are huge no of records we have split into multiple infopackages(by applying data selection).

Now the problem is some of the info packeges are failing due to the job cancelled in source system.

eg of job log:

19.05.2012  13:00:00  Job started

19.05.2012  13:00:00  Step 001 started (program SBIE0001, variant &0000000035667, user ID RFCUSR)

19.05.2012  13:00:00  DATASOURCE = 0ACTIVITY_ATTR

19.05.2012  13:00:00  *************************************************************************

19.05.2012  13:00:00  *          Current Values for Selected Profile Parameters               *

19.05.2012  13:00:00  *************************************************************************

19.05.2012  13:00:00  * abap/heap_area_nondia......... 2000683008                              *

19.05.2012  13:00:00  * abap/heap_area_total.......... 2000683008                              *

19.05.2012  13:00:00  * abap/heaplimit................ 40894464                                *

19.05.2012  13:00:00  * zcsa/installed_languages...... 6EDGIJL                                 *

19.05.2012  13:00:00  * zcsa/system_language.......... E                                       *

19.05.2012  13:00:00  * ztta/max_memreq_MB............ 256                                     *

19.05.2012  13:00:00  * ztta/roll_area................ 6500352                                 *

19.05.2012  13:00:00  * ztta/roll_extension........... 2000683008                              *

19.05.2012  13:00:00  *************************************************************************

19.05.2012  13:05:40  ABAP/4 processor: TSV_TNEW_PAGE_ALLOC_FAILED

19.05.2012  13:05:40  Job cancelled

When i repaet the same infopackage it is able to extract data.

Why this is happening to only this extractor.

we have another data loads which extracts more no of records than this at a strech. why is this memory overflow issue is coming up only for this extractor ( even after splitting up the extraction based on data selection)?

Please help me understanding this.

Thanks,

Harish

Accepted Solutions (0)

Answers (8)

Answers (8)

former_member188080
Active Contributor
0 Kudos

Hi,

1. check the data packet setting in RSCUSTV6

2. you can split the data and load it multiple times

3. check with basis which parameters and table it is getting stiuck and ask them to increase the size..they can check it now or when job is running

4. Normally these types of errors occurs in Dev /quality system where there is insufficient memory allocations..

Thanks and regards

Kiran

Former Member
0 Kudos

Hi,

I have reduced data packet size

Now in my infopackage data packet size is set to 500kb,

again i have got 2 short dumps in source system jobs.

ABAP/4 processor: TSV_LIN_ALLOC_FAILED

ABAP/4 processor: TSV_TNEW_PAGE_ALLOC_FAILED

Any further suggestions?

Br,

Harish

Former Member
0 Kudos

Hi,

I am still facing this issue.

after I reduced data package size to 200kb, some times I am getting the same short dump in the source system extraction job.

Is there any thing else i could do?

Any possible notes for this extractor to overcome this issue.

Please suggest

Regards,

Harish

former_member188080
Active Contributor
0 Kudos

Hi,

check following thraeds,there are some memory setting that u need to alter with the help of basis team

http://scn.sap.com/thread/1273642

Thanks and regards

Kiran

Former Member
0 Kudos

Hi,

My system is running on Unix.

The thread which you gives is for Windows parameters.

Thanks,

Harish

Former Member
0 Kudos

Hi.

Can some suggest me any other possible reasons for this problem.

Please suggest.

Thanks,

Harish

Former Member
0 Kudos

Hi,

I have changed the data packet size at infopackage level to 200

Scheduler menu -> DataS. Default data transfer --> data packet size to 200

still some of my infopackages are fialed with the same error .

Please suggest

Br,

Harish

Former Member
0 Kudos

Hi Harish,

We have faced the same issue several times when i was trying to extract the data from source system to BI. Please follow the below steps to avoid this issue in future...

1. Check the no.of bacj ground processes available

    

     If back ground jobs are fie, then check whether there is any activity goinon in source system which is effecting your job with the help of BASIS Team.

2. Check the tRFC connection is fine or not with the help of BASIS Team

     If the back gorund processes and tRFC connection is fine then there is no issue with the source system.

3.  Reduce the packet size in Info Package Selection and run the job again.

The above three checks will let you know the reason for the failure and perform action accordingly as mentioned above.

Hope it will resolve your issue.....Please revert back with your responce......All the best..

Thanks,

Chandra.

Former Member
0 Kudos

Hi chandra,

I have checked your points.

there are sufficient Wps available ata the time of data loading and Trfc connection also fine.

How to check the packet size in Info Package Selection?

I have checked in t-code RSCUSTV6

.. if that is correct. on what basis i should change the packet size ?

Thanks,

Harish

Former Member
0 Kudos

Hi Harish,

Reduce the packet size to 5000 and try. It should work. In your system the packet size is 20,000...it means each packet can hold 20,00 records. When you reduce the packet size, the noo.of records per packet will be reduced.

Please try this and let me know the result.

Regards,

Chandra.

Former Member
0 Kudos

Hi Harish,

Reduce the packet size to 5000 and try. It should work. In your system the packet size is 20,000...it means each packet can hold 20,00 records. When you reduce the packet size, the noo.of records per packet will be reduced.

Please try this and let me know the result.

Regards,

Chandra.

Former Member
0 Kudos

Hi chandra,

I have checked my info package

At the info package level

Scheduler menu -> DataS. Default data transfer. the packet size is set to 500 only..

Do I need to reduce it more?

Please suggest...

Br,

Harish

Former Member
0 Kudos

Use T-code RSCUSTV6 and see the pic to reduce packet size. Pls assign points if it is useful.

Thanks,

Raghavendra.Kolli

Former Member
0 Kudos

Use T-code RSCUSTV6 and see the pic to reduce packet size. Pls assign points if it is useful.

Thanks,

Raghavendra.Kolli

Former Member
0 Kudos

Hi Raghava,

Thanks for the response.

How to decide the packet size in my system RSCUSTV6 tcode snap shot is

what should I change here. Package size is 20000.

Thanks,

Harish

Former Member
0 Kudos

Hi Harish,

Reduce it to 5000 and try.

If it fails again with same issue, then try with still small size either 1000 or 500.

Job may take long time depending on the size of packet.

Regards,

Harish.

Former Member
0 Kudos

Hi harish,

This page allocation error can be solved by reducing the packet size in settings of infopackage.

It is due to memory issue at time of loading.

You can reduce packet size to prevent it from failing daily.

You can change packet size in display variant of infopackage. Goto Scheduler menu -> DataS. Default data transfer.

Here you can change the packet size.

Regards,

Harish.

Message was edited by: Harish Babu Tata

Former Member
0 Kudos

Hi,

I have checked my info package

At the info package level

Scheduler menu -> DataS. Default data transfer. the packet size is set to 500 only..

Do I need to reduce it more?

Please suggest...

Br,

Harisnh

Former Member
0 Kudos

Hi,

Check if  suffiecient processes are availbale at time of running the IP.

Also Check with Basis regarding the TSV_TNEW_PAGE_ALLOC_FAILED Dump , it occurs due to memory issues.

Let us know your progress with tehe issue.

Best Regards,

Arpit

Former Member
0 Kudos

Hi Harish,

Note - Take the help of basis people to solve this problem.

Recommended Memory Sizing

The following recommendations for memory sizing as of R/3 Release 3.0C are the result of the experience of software developers and consultants. All recommendations are based on the assumption that the swap space is at least 3-4 times as big as the main memory. WARNING: A lack of swap space can cause the operating system to crash. Since the extended memory is not mapped to a disk file like the roll and paging areas, more virtual memory and thus more swap space is required as of R/3 Release 3.0C than for previous Releases.

Problem Solving

Poor memory sizing and configuration causes performance problems. In the following, problem analysis is described for the four most critical problem areas:

  • Insufficient swap space
  • Extended memory exhausted
  • Roll area in memory exhausted
  • User context requires more memory

Insufficient Swap Space

  To correct the sizing for swap space, proceed as follows: 

  1. From the main menu choose Tools ® Administration ® Monitoring ® Performance ® Operating system ® Activity. (Alternative: transaction code OS06.)

  1. In the group Swap (fig. 3), check the value Actual swap-space. The recommended swap space is the largest of the following values:
    • 3 to 4 times the size of the main memory
    • Allocated virtual memory + 600 MB
    • 2 GB (the minimum size)

  3.       If the recommendation is not fulfilled, increase the swap space. Do not decrease the swap space. 

Extended Memory Exhausted

To correct the sizing for extended memory, proceed as follows:

  1. From the main menu choose Tools ® Administration ® Monitoring ® Performance ® Setup/Buffers ® Buffers. (Alternative: transaction code ST02.)
  2. In the group SAP memory (fig. 4), check the row Extended Memory. The value Max. use increased by 20% should be less than the value In memory:
    Max. use + 20% < In memory

  3. If the recommendation is not fulfilled, adapt the following profile parameters to the values             recommended in the section Recommended Memory Sizing: 

  • ztta/roll_extension
  • em/initial_size_MB
  1. 4.If the profile parameters already fulfill the recommendations, contact the SAP Hotline.

See also:

OSS Note 23863 Memory Management 3.0

OSS Note 30628 Release 3.0A/B New Memory Management

OSS Note 33395 Memory Management in Release 3.0B

OSS Note 33576 Memory Management from Release 3.0C, Unix and NT

OSS Note 44695 Memory Management in Releases from 3.0C, AS/400

OSS Note 68544 Memory Management under Windows NT