cancel
Showing results for 
Search instead for 
Did you mean: 

SAP J2EE Engine Open Alerts

Former Member
0 Kudos

Hi All,

We are working on MII 12.0, initially we had few scheduled jobs running smoothly. Now after introducing several scheduled jobs, none of them are running automatically, even the scheduler logs are empty. However when I manually click on "RUN" button in schedule Editor I can see them in logs and they are actually triggered.

We also upgraded the application to the latest version with patches and disabled all the scheduled jobs but for one. No Luck.

When I compare J2EE Engine Open alerts and logs of working instance with the other instance which is not working properly this is what I found.

1) Used Memory Rate u2013 94% > 80% which is above threshold.

2) Waiting Tasks Count u2013 2 > 0 which is above threshold.

3) Total Log File Size u2013 above threshold.

When I restart the J2EE engine, this instance doesn't restart immediately, it says some processes are not running because of these open alerts.

I assume the scheduled jobs are not running perhaps because of these memory issues, is there any way I can increase the threshold or any other alternative solution for this?

Any Help is much appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Srinivas,

You need to size your VM Settings properly before you proced with further fine tuning any other aspect of the system.

Please go through this # Note 709140 - Recommended JDK and VM Settings for the WebAS630/640/7.0

Regards

Sekhar

Former Member
0 Kudos

Note 709140 has been replaced by note 723909.

The server and dispatcher sizes have already been increased from 1024M to 2048M as required for 64 bit processing.

But the problem still persists.

Former Member
0 Kudos

Hi Srinivas,

Wondering what's the prequency of your system GC (both Full & normal/regular)?

this you can check from your SAP MMC (if you are running with 7.1) or std_server*.out file

Also are there any other task while you were doing the same?

Regards

Sekhar

Former Member
0 Kudos

HI Sekar,

Thanks for the piece of information. I checked in std_server0.out file.

I am what too sure which frequency you are referring too.

I find many logs like this:

11582.469: [GC 11582.470: [ParNew: 242501K->69018K(261888K), 0.1622033 secs] 350499K->177016K(2009856K), 0.1623461 secs]

14066.290: [GC 14066.290: [ParNew: 243610K->65689K(261888K), 0.1386152 secs] 351608K->173687K(2009856K), 0.1387549 secs]

I dont really know what does this mean.

Apart from that I also saw this error:

"VM Periodic Task Thread" prio=10 tid=0x000000000229dd80 nid=0x2708 waiting on condition

"Suspend Checker Thread" prio=10 tid=0x000000000229dc80 nid=0x194c runnable

java.lang.OutOfMemoryError

How do I proceed now?

Former Member
0 Kudos

hi Srinivas,

Please past 'Full GC' details from the same std_server*.out file.

Yes, as you have been seeing it's out of memory error. The reas why i am asking for 'Full GC' details because that gives an idea whether either full GC or GC releasing the memory or not.

Regards

Sekhar

Former Member
0 Kudos

Hi,

I had similar problems.

Please change your JVM settings in accordance to SAP note 723909

Following is a list of the values which should to be adapted. I still recommend to check

the note above to get sure that no parameter is missing:

dispatcher:

-Xmx256m 170m

-Xms256m 170m

-Xmn80 57m

server0:

-Xmx2048m 1024m

-Xms2048m 1024m

-XX:NewSize=341m 171m

-XX:MaxNewSize=341m 171m

-XX:MaxPermSize=512m 256m

-XX:PermSize=512m 256m

Before restarting the J2EE please be aware that your environment is still starting in startup mode 'SAFE' and startup action 'UPGRADE'. Therefore you also need to change the startup mode to 'NORMAL' in order to make the system

available for the applications.

note 1267123 - System remains in SAFE mode after update

provides instructions on how to reset the startup mode back to 'NORMAL'.

After you have applied all changes please restart the system, perform your tests again and provide a new set of log files.

Regards,

Gerd

P.S. special thanks to Alexander Kühn SAP Support Consultant in "change hostname"

Former Member
0 Kudos

Hi Sekar,

Just sent you complete log details.. please confirm if you have received it. its very huge to paste it here.

Former Member
0 Kudos

Hi Gerd,

Thank you so very much for your reply. I just asked the Basis team to cross check all these details you specified. I will let you know if there is any progress.

Former Member
0 Kudos

Hi Srinivas,

I replied.

Regards

Sekhar

Former Member
0 Kudos

Hi Srinivas,

you are welcome! please note the first value is the new one the second value the old one. e.g. -Xmx<after> <before>

have much success!

Gerd

Former Member
0 Kudos

Hi,

How to start the j2ee engine in the procedure mentioned.Thanks in advance.

Former Member
0 Kudos

Hi,

which procedure do you mean? after you have adapted the parameters please restart your SCSxx as usual. If you have a dual stack system that can be also done in transaction SMICM

Gerd

Former Member
0 Kudos

The issue was with the load MII was receiving from external system. load was reduced and everything is in place now. thanks everybody

Answers (0)