You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Anthony E." <ap...@yahoo.com> on 2001/01/16 16:26:04 UTC
1 java thread and 5 httpd threads?
I recently re-installed cocoon on two new servers that
I have, everything seems to be working fine, except
that they are extremely slow when multiple users
access an xsp file at the same time.
I did a "ps -x", and there is only 1 "java" thread,
and 5 "httpd" threads....on my old server, there would
be the same number of "java" and "httpd" threads.
Could this be causing the slowness?
Where do I set the number of java threads to equal the
same as httpd?
Thanks
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
Re: 1 java thread and 5 httpd threads?
Posted by Matthew Cordes <mc...@maine.edu>.
ps doesn't really show threads... it displays processes. A single
process can be made up of 1 or more threads. Depending upon your
os ps may display each thread as a process or not as this depends
how threading is implemented in the kernel. AFAIK linux make use
of the mini-process idea in that each thread is handled as a very
special process and should appear in ps as such. If you are using
a different os, e.g. dec alpha it is not uncommon to see only 1
java process even though you are making use of more than 1 thread.
If you are using linux I would be a little worried (and perhaps
someone else will know how to fix this), if not don't sweat it.
-matt
On Tue, Jan 16, 2001 at 07:26:04AM -0800, Anthony E. wrote:
> I recently re-installed cocoon on two new servers that
> I have, everything seems to be working fine, except
> that they are extremely slow when multiple users
> access an xsp file at the same time.
>
> I did a "ps -x", and there is only 1 "java" thread,
> and 5 "httpd" threads....on my old server, there would
> be the same number of "java" and "httpd" threads.
>
> Could this be causing the slowness?
> Where do I set the number of java threads to equal the
> same as httpd?
>
> Thanks
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>