You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Naresh Yadav <ny...@gmail.com> on 2017/09/26 09:52:20 UTC
Randomly tomcat process create another copy process of it. Now see
two PIDs of tomcat running
Hi all,
Already posted my problem on stackoverflow but not got any respo/nses so
thought
of posting here. Please read and help me with possible resolutions ??
https://stackoverflow.com/questions/46409358/randomly-tomcat-process-create-another-copy-process-of-it-now-see-two-pids-of-t
Thanks
Naresh
Re: Randomly tomcat process create another copy process of it. Now
see two PIDs of tomcat running
Posted by Naresh Yadav <ny...@gmail.com>.
from my observation both nodes get almost equal load as we had set load
factor=1 in mod_jk;
On Fri, Sep 29, 2017 at 11:28 AM, Guang Chao <gu...@gmail.com>
wrote:
> On Thu, Sep 28, 2017 at 2:50 PM, Naresh Yadav <ny...@gmail.com>
> wrote:
>
> > my hard requirement is to run tomcat from eclipse only using sysdeo or
> > other plugin.
> > But yes i can try running from service OR startup bat file also...
> >
> > Another thing want to highlight is this problem is not consistent and it
> > appear randomly...
> > my guess is when there is more load on server then someone create another
> > tomcat pid.
> >
>
> It could be an Eclipse issue not Tomcat issue, because you launch from
> Eclipse.
>
>
> >
> > One more information wanted to share is :
> > In this environment we have 2 node tomcat setup running behind
> > mod_jk loadbalancer with session replication enabled.
> > right now we observed this problem on one of node only.
> >
>
> Do both nodes getting around the same load? It could be that only one node
> is getting all the request, but problem may occur to both.
>
>
> >
> > Please give next level pointers.
> >
> > On Thu, Sep 28, 2017 at 6:26 AM, Guang Chao <gu...@gmail.com>
> > wrote:
> >
> > > On Tue, Sep 26, 2017 at 5:52 PM, Naresh Yadav <nyadav.techie@gmail.com
> >
> > > wrote:
> > >
> > > > Hi all,
> > > >
> > > > Already posted my problem on stackoverflow but not got any respo/nses
> > so
> > > > thought
> > > > of posting here. Please read and help me with possible resolutions ??
> > > >
> > >
> > > Would it be possible one is run as a service and another run using the
> > > *.bat file?
> > >
> > >
> > > >
> > > > https://stackoverflow.com/questions/46409358/randomly-
> > > > tomcat-process-create-another-copy-process-of-it-now-see-
> two-pids-of-t
> > > >
> > > > Thanks
> > > > Naresh
> > > >
> > >
> > >
> > >
> > > --
> > > Guang <http://grails.asia/check-if-string-array-contains-a-value-
> > in-java/>
> > >
> >
>
>
>
> --
> Guang <http://grails.asia/java-string-array-initialization/>
>
Re: Randomly tomcat process create another copy process of it. Now
see two PIDs of tomcat running
Posted by Guang Chao <gu...@gmail.com>.
On Thu, Sep 28, 2017 at 2:50 PM, Naresh Yadav <ny...@gmail.com>
wrote:
> my hard requirement is to run tomcat from eclipse only using sysdeo or
> other plugin.
> But yes i can try running from service OR startup bat file also...
>
> Another thing want to highlight is this problem is not consistent and it
> appear randomly...
> my guess is when there is more load on server then someone create another
> tomcat pid.
>
It could be an Eclipse issue not Tomcat issue, because you launch from
Eclipse.
>
> One more information wanted to share is :
> In this environment we have 2 node tomcat setup running behind
> mod_jk loadbalancer with session replication enabled.
> right now we observed this problem on one of node only.
>
Do both nodes getting around the same load? It could be that only one node
is getting all the request, but problem may occur to both.
>
> Please give next level pointers.
>
> On Thu, Sep 28, 2017 at 6:26 AM, Guang Chao <gu...@gmail.com>
> wrote:
>
> > On Tue, Sep 26, 2017 at 5:52 PM, Naresh Yadav <ny...@gmail.com>
> > wrote:
> >
> > > Hi all,
> > >
> > > Already posted my problem on stackoverflow but not got any respo/nses
> so
> > > thought
> > > of posting here. Please read and help me with possible resolutions ??
> > >
> >
> > Would it be possible one is run as a service and another run using the
> > *.bat file?
> >
> >
> > >
> > > https://stackoverflow.com/questions/46409358/randomly-
> > > tomcat-process-create-another-copy-process-of-it-now-see-two-pids-of-t
> > >
> > > Thanks
> > > Naresh
> > >
> >
> >
> >
> > --
> > Guang <http://grails.asia/check-if-string-array-contains-a-value-
> in-java/>
> >
>
--
Guang <http://grails.asia/java-string-array-initialization/>
Re: Randomly tomcat process create another copy process of it. Now
see two PIDs of tomcat running
Posted by Naresh Yadav <ny...@gmail.com>.
my hard requirement is to run tomcat from eclipse only using sysdeo or
other plugin.
But yes i can try running from service OR startup bat file also...
Another thing want to highlight is this problem is not consistent and it
appear randomly...
my guess is when there is more load on server then someone create another
tomcat pid.
One more information wanted to share is :
In this environment we have 2 node tomcat setup running behind
mod_jk loadbalancer with session replication enabled.
right now we observed this problem on one of node only.
Please give next level pointers.
On Thu, Sep 28, 2017 at 6:26 AM, Guang Chao <gu...@gmail.com>
wrote:
> On Tue, Sep 26, 2017 at 5:52 PM, Naresh Yadav <ny...@gmail.com>
> wrote:
>
> > Hi all,
> >
> > Already posted my problem on stackoverflow but not got any respo/nses so
> > thought
> > of posting here. Please read and help me with possible resolutions ??
> >
>
> Would it be possible one is run as a service and another run using the
> *.bat file?
>
>
> >
> > https://stackoverflow.com/questions/46409358/randomly-
> > tomcat-process-create-another-copy-process-of-it-now-see-two-pids-of-t
> >
> > Thanks
> > Naresh
> >
>
>
>
> --
> Guang <http://grails.asia/check-if-string-array-contains-a-value-in-java/>
>
Re: Randomly tomcat process create another copy process of it. Now
see two PIDs of tomcat running
Posted by Guang Chao <gu...@gmail.com>.
On Tue, Sep 26, 2017 at 5:52 PM, Naresh Yadav <ny...@gmail.com>
wrote:
> Hi all,
>
> Already posted my problem on stackoverflow but not got any respo/nses so
> thought
> of posting here. Please read and help me with possible resolutions ??
>
Would it be possible one is run as a service and another run using the
*.bat file?
>
> https://stackoverflow.com/questions/46409358/randomly-
> tomcat-process-create-another-copy-process-of-it-now-see-two-pids-of-t
>
> Thanks
> Naresh
>
--
Guang <http://grails.asia/check-if-string-array-contains-a-value-in-java/>