DevOps and System Administration Discussions
Dive into SAP DevOps and system administration. Join discussions to collaborate on optimizing workflows, share knowledge, and leverage resources effectively.
cancel
Showing results for 
Search instead for 
Did you mean: 

Recompilation of objects after system copy

m4t0
Explorer
0 Kudos
1,989

Hello,


I have strange issue after system copy... We are running SGEN after system copy with option Generate All Objects of Selected Software Components. But straight to that, programs or transactions behave like not compiled, loading takes some time, or maybe their are not buffered. Do you have any ideas what it should be?

Thanks in advance.

M.

8 REPLIES 8

TammyPowlas
Active Contributor
1,374

Hi Martin - I have seen this happen myself - so far the best thread/explanation I see is from Tomas (SAP) here: https://answers.sap.com/questions/8795956/ehp5---system-compiling-after-sgen.html Tomas says "I'll provide some hints regarding the runtime of SGEN:

- initially it should be checked that SGEN is stuck because of lack of available work processes (DIA? BGD?). Please check this in SM50/66 and rearrange your WPs in RZ03.

Do you have any error message which you can see from your oracle alert log during such execution, etc? Sometimes defragmented state of the database may cause the difference too!

Transaction SGEN determines the so-called generation set through the options given in the first screen and the content of the file REPLIST. The resulting set is saved in table GENSETC. After that step the SGEN starts a maximum of 8 generation jobs in batch which then do the dirty work and process the content of GENSETC. So there are in actually two parts which are citical:

First part is SGEN related and means the calculation of the generation set.

Second part is the performance of the gen. jobs and this is out of control of SGEN. This is SAP system related and depends on resources of the system itself like main memory, number of cpu and last but not least, the database performance." etc.

0 Kudos
1,374

Hi Tammy,


thank you for your comment.

We didn't spot any error in alert log during SGEN run. System resources didn't look exhausted during SGEN.

But we spot afterwards, that REPLIST file was missing on OS level. Could it caused the issue? Is missing REPLIST a problem?

Content of GENSETC table in SE16 looks like this:

PGMID OBJECT OBJNAME NAME COMPONENT GENSTATUS
561369 §_EL_NEW all_components_REPLIST X

Best regards,

Martin

S_Sriram
Active Contributor
0 Kudos
1,374

Hi Martin.

After the SGEN, have you restarted the full system (SAP & database instances)?

Regards

SS

0 Kudos
1,374

Hi SS,

we didn't restart full system after SGEN. What should be advance of this?

Best regards,

Martin

S_Sriram
Active Contributor
0 Kudos
1,374

Hi Martin.

After the SGEN you have to do the full system restart, otherwise, all sap transactions performance are slow down, because of the SAP buffers values swaps are more, you can check in the transaction code ST02. better do the full system restart and then check the system.

Regards

SS

raymond_giuseppi
Active Contributor
0 Kudos
1,374

0 Kudos
1,374

Hi Raymond,


Thank you for your comment. Yes, I've read the KBA, but it's not related to our problem. We have one dialog instance, server.

Regards,

Martin.

0 Kudos
1,374

Can you provide more information such as

  • Elaborate on 'programs or transactions behave like not compiled' did you have 'compiling' pop-up (what most people assumed) or just poor response times?
  • With SM50/SM51 do you see some unexpected processes running
  • Ask database operators if any processes are still running.
  • Do you still have enough disk space (database and folders on application server) or should you perform some cleaning (log, resume/rollback areas, etc.)