SAP Knowledge Base Article - Public

1818222 - Random BusinessObjects server is restarted on the schedule of a Crystal Reports publication containg ~3000 dynamic recipients recipients

Symptom

Schedule a Crystal Reports publication to a large number of  Dynamic Recipients (~3000) and the publication stay in running status forever. It causes restart of any random SAP BusinessObjects XI 3.1 service.

The affected service do not restart successfully, rather it stays in Starting status.

Error captured from APS logs:

  • ERROR [SchedulingHelper] ERROR: A document job failed for ScopeBatch
  • Object failed to run due to an error while processing on the Job Server. (FBE60013)
  • <log4j:message><![CDATA[com.businessobjects.foundation.exception.ExceptionWorker.getErrorMessage(): cannot obtain resource bundle. com/crystaldecisions/sdk/occa/security/internal/SecurityExceptionResources, strID: BatchFailure, locale: en_US
  • <log4j:throwable><![CDATA[com.crystaldecisions.sdk.occa.security.internal.SecurityException$BatchFailure: An error occurred at the server during security batch commit
  • Exception in thread "ORBacus:Server:ReceiverThread" java.lang.OutOfMemoryError: unable to create new native thread
  • Scheduling failed: Not enough memory for operation.

Environment

  • RedHat Enterprise Linux 5
  • Crystal Reports Server 2008 V1 SP5

Reproducing the Issue

Set the value of 'max user processes' to a lower value, such as 1024 and schedule a publication which bursts to a large number of dynamic recipients.

Cause

ulimit settings for ‘max user processes’ might be set too low for the environment such as 1024.

Resolution

Increase the value from 1024 to 73728 and the publication starts running successfully.

Before change:
--- ulimit -a ---
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 73728
max locked memory       (kbytes, -l) 32
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 10240
cpu time               (seconds, -t) unlimited
max user processes              (-u) 1024
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

After Change:
--- ulimit -a ---
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 73728
max locked memory       (kbytes, -l) 32
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 10240
cpu time               (seconds, -t) unlimited
max user processes              (-u) 73728
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

See Also

SAP KB# 1748486

Keywords

BOXI shutdown CR pub crpublication crpub rec stuck response fail bo xi state shut down starting , KBA , BI-BIP-ADM , BI Servers, security, Crystal Reports in Launchpad , Problem

Product

Crystal Reports Server 2008 V1