On Tue, May 28, 2013 at 7:51 PM, Afkham Azeez <az...@wso2.com> wrote:

>
>
> On Tue, May 28, 2013 at 7:48 PM, Nuwan Dias <nuw...@wso2.com> wrote:
>
>> Hi,
>>
>> This is regarding [1]. We have been doing some long running tests on a
>> lab setup. The test was done on the API Gateway. But when attempted to
>> restart the API Gateway server, the following issue has been occurring.
>>
>> *WARN - StartupFinalizerServiceComponent Waiting for required OSGi
>> services:*
>> *
>>  
>> org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService,org.wso2.carbon.server.admin.common.IServerAdmin,org.wso2.carbon.throttling.agent.ThrottlingAgent,
>> *
>>
>
>>
>> This delays the server startup significantly. What can be the cause of
>> this?
>>
>
> You need to figure out why the  *SynapseEnvironmentService OSGi service
> is taking a long time to load. Running this with JProfiler may give you a
> clue as to where the time is spent most.*
>

What I suspected was the local H2 database. But it was a guess & not based
on profiler analysis.

>
>> Some points to note are that this is not reproducable in any other setups
>> other than this specific lab setup. The Gateway is running on a machine
>> which is 90% disk full and AFAIR there were some other servers running too.
>> The server was killed with a kill -9 while it was still receiving requests
>> and I assume that restart had been attempted while the client was still
>> sending requests to the server.
>>
>> Any hints on how we could tackle this?
>>
>> [1] - https://wso2.org/jira/browse/APIMANAGER-1321
>>
>> --
>> Nuwan Dias
>>
>> Member, Management Committee - Solutions Technology Group
>> Senior Software Engineer - WSO2, Inc. http://wso2.com
>> email : nuw...@wso2.com
>> Phone : +94 777 775 729
>>
>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>**
> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
/sumedha
m: +94 773017743
b :  bit.ly/sumedha
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to