# Disable/Enable behavior of Component Factory when under stre

**URL:** <https://techcommunity.softwareag.com/t/disable-enable-behavior-of-component-factory-when-under-stre/58455>\
**Category:** Forum\
**Tags:** Former-Crossvision-Products, Service-Orchestrator\
**Created:** [March 1, 2003, 5:12am UTC](https://techcommunity.softwareag.com/t/disable-enable-behavior-of-component-factory-when-under-stre/58455 "2003-03-01T05:12:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [March 1, 2003, 5:12am UTC](https://techcommunity.softwareag.com/t/disable-enable-behavior-of-component-factory-when-under-stre/58455/1 "2003-03-01T05:12:01Z")

</div>

I?m running some performance tests with Mediator and has taken a sequence and broken it down into smaller segments. The first sequence only contains a validation step and look as follows:  
  
  
  
 \< !–{Name: ValidateDocument};{Notes: }–\>  
  
  
  
  
  
I now run some tests against this sequence, where my client has a single thread and is posting 1000 documents to Mediator. The first time I run the sequence everything works perfectly, but on the subsequent test runs I noticed that the average throughput in messages per second decreased dramatically. I also noticed in the Admin Console that there would be periods when no messages would come in from the client.   
  
I then noticed that my Component Factory is disabled and then after a while enabled again. This is the output in my xbdhost.log file:  
  
2003-02-28 06:12:39 PM EST INFO: EntireX XML Mediator Version 7.2.1.1  
2003-02-28 06:12:39 PM EST INFO: Copyright (C) 2000-2002 Software AG. All rights reserved.  
2003-02-28 06:12:39 PM EST INFO: calling register for usatben600  
2003-02-28 06:12:39 PM EST INFO: Creating rmi registry at port 20050  
2003-02-28 06:12:39 PM EST INFO: rmi registry started successfully at port: 20050  
2003-02-28 06:12:39 PM EST INFO: Registering usatben600 at port 20050  
2003-02-28 06:12:39 PM EST INFO: usatben600 registered at port:20050:usatben600  
2003-02-28 06:12:39 PM EST INFO: HostManager rmi registry started successfully at port: \<\<20050\>\>  
2003-02-28 06:12:39 PM EST INFO: Done registering for usatben600  
2003-02-28 06:12:39 PM EST INFO: HostManager received startFactory Request for \<\>   
2003-02-28 06:12:39 PM EST INFO: HostManager \<\> is Starting…   
2003-02-28 06:12:47 PM EST INFO: HostManager \<\> is started.  
2003-02-28 06:12:47 PM EST INFO: HostManager startFactory for \<\> is successful, Factory is started  
2003-02-28 06:15:19 PM EST INFO: HostManager \<\> is disabled.  
2003-02-28 06:15:20 PM EST INFO: HostManager \<\> is enabled.  
  
I?m running my component factory with the following settings:  
  
Log Level: Error  
Log File Size: 200  
Log File Backups: 5  
Security Preference: off  
High Memory Mark: 90%  
Low Memory Mark: 70%  
JVM ?X Options: -Xms64m -Xmx128m  
  
I?m pretty sure I?m not running out of memory. I went and increased the ?Xmx128m to ?Xmx256m, so me max heap size should be large enough to handle these documents. My document size is only 1675 bytes. What could be the cause of this behavior and what could I do to fix it?  
  
Regards  
Theo

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:39pm UTC](https://techcommunity.softwareag.com/t/disable-enable-behavior-of-component-factory-when-under-stre/58455/2 "2021-04-02T14:39:16Z")

</div>


