Thanks for your feedback. See explanations below. When you published a service using Cloud Gateway Agent it enables the CG Polling transport in order to receive messages from CG server. When the transport is enabled for a one service it will be enabled for all deployed service. This is a limitation in Axis2 transport and need to fix https://wso2.org/jira/browse/CARBON-13827.
CGPolling transport runs on a busy loop so there can be some overhead but CG server should not kill the CPU. Can you send couple of threads dumps in CG server and AS server with the out put of the following command for the two processes ? I will check this on my side as well. ps -C java -L -o pcpu,cpu,nice,state,cputime,pid,tid Rajika On Thu, Sep 13, 2012 at 12:26 PM, Kasun Weranga <[email protected]> wrote: > Hi, > > > I face some issue, after publishing some services in AS to Cloud gateway. > After sometime I observed cpu usage on my machine was fully occupied by > both AS and CG. I have only published 2 services to cloud gateway and it > does nothing. Also in my AS I can see some faulty services, it has > mentioned the reason for this issue as "Unable to configure the service > HelloService for the CGPOLLING transport: The secure token is not set for > service 'HelloService'. This service is being marked as faulty and will not > be available over the CGPOLLING transport." > I suspect there is some issue in the Cloud Gateway Agent. Please have a > look. > > > This is the result of the top command > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > > 5012 kasunw 20 0 3539m 382m 17m S 157 5.0 10:37.44 java > > 4652 kasunw 20 0 3519m 334m 13m S 142 4.3 9:42.11 java > > > > Thanks, > KasunW > > >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
