cancel
Showing results for 
Search instead for 
Did you mean: 

Time out parameters for java servers

Former Member
0 Kudos

Dear Gurus,

I'm trying to identify if there are any time out parameters/attributes which can be set for the users at Java level.

I'm wondering if it's possible to limit a user from running a report/query for a long period of time.

Or a parameter to limit the number of sessions one user can have.

The reason I'm asking this is because my java server nodes have experience OutOfMemory errors every once in a while, and this is caused by high workload by the users. I'm trying to prevent or decrease the number of these OutOfMemory errors.

Appreciate any feedback on this.

Thanks.

Regards,

Keat

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Dear Keat,

Are you still experiencing the outofmemory errors? If so, what kind of reports are your users running?

are they BI reports?

In addition, what jdk are you running, and what are your java parameters?

Regards,

Shimon Zafrir

SAP Active Global Support

Former Member
0 Kudos

Hi Keat,

You can set some generic http timeout parameters in the http provider via the visual admin.

It is also possible to put time out parameters on application level in the j2ee.

Visual Administrator->Configuration Adapter-> webdynpro->sap.com à tcwddispwda-> PropertySheet default -> DefaultExpirationTime

Kind regards,

Mark

Former Member
0 Kudos

Hi Mark,

Thanks. I was actually thinking if we can set such a parameter in the configtool for Java. Do you know of such parameters???

I can see that there's http and timeout under services, thi sis in the java config tool.

Cheers,

Keat

Former Member
0 Kudos

Hi Keat,

I'm not sure.. But the visual administrator is providing them, so you can use that one instead of the configtool.

Kind regards,

Mark

Former Member
0 Kudos

Hi Mark,

Currently, parameter DefaultExpirationTime = 3600, i think this is okay.

I've located other parameters which might be related to user/system timeout settings.

HttpMonitoringCacheTimeoutMillis = 1500

KeepAliveTimeout = 15

SessionTableTimeout = -1

InputStreamAddTimeout = 0

TransactionTimeout = 0

sap.defaultMaxNumberOfConnections = 10

I'm thinking about tweaking these parameters as well.

Any comments???

Regards,

Keat

Former Member
0 Kudos

Hi Keat,

Of course you can try tweaking these parameters.. If complaints are coming from the end-users you can put them back.

I'm not sure if this will fix the root cause of your problem. OutOfMemory errors can also occur due to other reasons. You might have to check the JVM parameters, check the garbage collector or even have to add an additional application server for your java instance.

Kind regards,

Mark

0 Kudos

You can set the parameter rdisp/plugin_auto_logout to a suitable value.