2006/4/20, opensta <[EMAIL PROTECTED]>:
>
>
> Just Type kill -QUIT <pid-of-process> command you will get the thread dump
> in
> catalina.out file of tomcat log folder
>
> u can identify the ur thread which are culprit from that


Like I said in a previous email, I know about dumping thread information,
but I am unnable to identify what thread is using up the CPU cycles. What I
did to try to fix this problem is setting up some different c3p0
configurations:

on hibernate.properties:

hibernate.c3p0.idle_test_period=200
hibernate.c3p0.acquire_increment=3

on c3p0.properties (newly created):

c3p0.numHelperThreads 8

I haven't seen c3p0 problems up to now, nor 100%-cpu-using processes simply
segfaulting and futexing, but it's still early to decide whether it fixed
the problem or not. I'd still like to have insights on where the problem may
lie. I am afraid to be work-arounding the problem with a c3p0 configuration
when in fact the application is misbehaving with the connections, for
instance.

Thanks,

--
Gustavo Noronha Silva
Coordenação de Segurança e Sustentação
Ministério do Desenvolvimento Social - Brasil

Reply via email to