Locks question

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Locks question

Mauro Piccini
Hi,

During a tomcat hang, I managed to get a Java thread dump which  
contains references to EDU.oswego.cs.dl.util.concurrent classes.
I found this is an optional dependency used by cocoon.
We never use the exist web interface, so I think cocoon was never  
called during this session (but I can't be 100% sure).

Do somebody think this locks can lead to a tomcat slow-down and hang?

We use exist snapshot 20050805, tomcat 5.0.19, java 1.5.

At the end there are some exist thread in a state I can't  
understand... it looks like they wait on a lock created by themselves?


"Thread-2253" prio=1 tid=0x8e021928 nid=0x2fad in Object.wait()  
[0x8ff05000..0x8ff05758]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x4be16a20> (a java.lang.Object)
         at EDU.oswego.cs.dl.util.concurrent.LinkedQueue.poll(Unknown  
Source)
         - locked <0x4be16a20> (a java.lang.Object)
         at org.apache.cocoon.components.thread.ChannelWrapper.poll
(ChannelWrapper.java:72)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.getTask
(Unknown Source)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run
(Unknown Source)
         at java.lang.Thread.run(Thread.java:595)

"Thread-2250" prio=1 tid=0x8e09b050 nid=0x2fa9 in Object.wait()  
[0x8f603000..0x8f603558]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x4be16a20> (a java.lang.Object)
         at EDU.oswego.cs.dl.util.concurrent.LinkedQueue.poll(Unknown  
Source)
         - locked <0x4be16a20> (a java.lang.Object)
         at org.apache.cocoon.components.thread.ChannelWrapper.poll
(ChannelWrapper.java:72)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.getTask
(Unknown Source)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run
(Unknown Source)
         at java.lang.Thread.run(Thread.java:595)

"Thread-2247" prio=1 tid=0x8e0c3f88 nid=0x2ee0 in Object.wait()  
[0x8fa84000..0x8fa84758]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x4be16a20> (a java.lang.Object)
         at EDU.oswego.cs.dl.util.concurrent.LinkedQueue.poll(Unknown  
Source)
         - locked <0x4be16a20> (a java.lang.Object)
         at org.apache.cocoon.components.thread.ChannelWrapper.poll
(ChannelWrapper.java:72)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.getTask
(Unknown Source)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run
(Unknown Source)
         at java.lang.Thread.run(Thread.java:595)

"Thread-2245" prio=1 tid=0x8e0f5490 nid=0x2ec1 in Object.wait()  
[0x8df27000..0x8df27558]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x4be16a20> (a java.lang.Object)
         at EDU.oswego.cs.dl.util.concurrent.LinkedQueue.poll(Unknown  
Source)
         - locked <0x4be16a20> (a java.lang.Object)
         at org.apache.cocoon.components.thread.ChannelWrapper.poll
(ChannelWrapper.java:72)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.getTask
(Unknown Source)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run
(Unknown Source)
         at java.lang.Thread.run(Thread.java:595)

"Thread-6" prio=1 tid=0x083e42f0 nid=0x709e in Object.wait()  
[0x8d994000..0x8d994758]
         at java.lang.Object.wait(Native Method)
         at org.exist.storage.sync.SyncDaemon.nextTask
(SyncDaemon.java:345)
         - locked <0x4be620b0> (a org.exist.storage.sync.SyncDaemon)
         at org.exist.storage.sync.SyncDaemon$RunLoop.run
(SyncDaemon.java:380)
         at java.lang.Thread.run(Thread.java:595)

"Thread-5" prio=1 tid=0x08370718 nid=0x709d in Object.wait()  
[0x8d499000..0x8d4997d8]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x4be16908> (a  
org.exist.storage.journal.FileSyncThread)
         at java.lang.Object.wait(Object.java:474)
         at org.exist.storage.journal.FileSyncThread.run
(FileSyncThread.java:109)
         - locked <0x4be16908> (a  
org.exist.storage.journal.FileSyncThread)

"Store cocoon-ehcache-1 Spool Thread" daemon prio=1 tid=0x088b9b88  
nid=0x709c in Object.wait() [0x8d418000..0x8d418658]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x4be169d0> (a net.sf.ehcache.store.DiskStore)
         at java.lang.Object.wait(Object.java:474)
         at net.sf.ehcache.store.DiskStore.spoolThreadMain
(DiskStore.java:476)
         - locked <0x4be169d0> (a net.sf.ehcache.store.DiskStore)
         at net.sf.ehcache.store.DiskStore.access$600(DiskStore.java:89)
         at net.sf.ehcache.store.DiskStore$SpoolThread.run
(DiskStore.java:755)

"Thread-1" prio=1 tid=0x088777a8 nid=0x709a in Object.wait()  
[0x8d316000..0x8d316558]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x4be16b00> (a java.util.TreeSet)
         at  
org.apache.cocoon.components.thread.DefaultRunnableManager.run
(DefaultRunnableManager.java:452)
         - locked <0x4be16b00> (a java.util.TreeSet)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run
(Unknown Source)
         at java.lang.Thread.run(Thread.java:595)



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

eXist virus question

Tsuyoshi FUKUDA
Hello all,
I am crazy about powerful features of eXist, and am planning to
work on creating database at my division.

When I tried to download eXist-snapshot-20050805.jar, I got a
virus alert message from F-Secured based anti-virus firewall.
It says "This may be mass-mailing warm" and does not precise
what is the actual problem.

There is no problem with downloading eXist-1.0b2-build-1107.jar,
but  eXist-snapshot-20050805.jar

Did anyone face the same problem?

Best regards,
Tsu



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Locks question

Mauro Piccini
In reply to this post by Mauro Piccini
I've done another couple of test and noticed that those thread are  
always present even on a just started instance.
So I think it's a normal situation.

BTW I can't understand the presence of  
EDU.oswego.cs.dl.util.concurrent threads.


On 5 Sep, 2005, at 17:21 , Mauro Piccini wrote:

> Hi,
>
> During a tomcat hang, I managed to get a Java thread dump which  
> contains references to EDU.oswego.cs.dl.util.concurrent classes.
> I found this is an optional dependency used by cocoon.
> We never use the exist web interface, so I think cocoon was never  
> called during this session (but I can't be 100% sure).
>
> Do somebody think this locks can lead to a tomcat slow-down and hang?
>
> We use exist snapshot 20050805, tomcat 5.0.19, java 1.5.
>
> At the end there are some exist thread in a state I can't  
> understand... it looks like they wait on a lock created by themselves?
>
>
> "Thread-2253" prio=1 tid=0x8e021928 nid=0x2fad in Object.wait()  
> [0x8ff05000..0x8ff05758]
>         at java.lang.Object.wait(Native Method)
>         - waiting on <0x4be16a20> (a java.lang.Object)
>         at EDU.oswego.cs.dl.util.concurrent.LinkedQueue.poll
> (Unknown Source)
>         - locked <0x4be16a20> (a java.lang.Object)
>         at org.apache.cocoon.components.thread.ChannelWrapper.poll
> (ChannelWrapper.java:72)
>         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.getTask
> (Unknown Source)
>         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor
> $Worker.run(Unknown Source)
>         at java.lang.Thread.run(Thread.java:595)
>
> "Thread-2250" prio=1 tid=0x8e09b050 nid=0x2fa9 in Object.wait()  
> [0x8f603000..0x8f603558]
>         at java.lang.Object.wait(Native Method)
>         - waiting on <0x4be16a20> (a java.lang.Object)
>         at EDU.oswego.cs.dl.util.concurrent.LinkedQueue.poll
> (Unknown Source)
>         - locked <0x4be16a20> (a java.lang.Object)
>         at org.apache.cocoon.components.thread.ChannelWrapper.poll
> (ChannelWrapper.java:72)
>         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.getTask
> (Unknown Source)
>         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor
> $Worker.run(Unknown Source)
>         at java.lang.Thread.run(Thread.java:595)
>
> "Thread-2247" prio=1 tid=0x8e0c3f88 nid=0x2ee0 in Object.wait()  
> [0x8fa84000..0x8fa84758]
>         at java.lang.Object.wait(Native Method)
>         - waiting on <0x4be16a20> (a java.lang.Object)
>         at EDU.oswego.cs.dl.util.concurrent.LinkedQueue.poll
> (Unknown Source)
>         - locked <0x4be16a20> (a java.lang.Object)
>         at org.apache.cocoon.components.thread.ChannelWrapper.poll
> (ChannelWrapper.java:72)
>         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.getTask
> (Unknown Source)
>         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor
> $Worker.run(Unknown Source)
>         at java.lang.Thread.run(Thread.java:595)
>
> "Thread-2245" prio=1 tid=0x8e0f5490 nid=0x2ec1 in Object.wait()  
> [0x8df27000..0x8df27558]
>         at java.lang.Object.wait(Native Method)
>         - waiting on <0x4be16a20> (a java.lang.Object)
>         at EDU.oswego.cs.dl.util.concurrent.LinkedQueue.poll
> (Unknown Source)
>         - locked <0x4be16a20> (a java.lang.Object)
>         at org.apache.cocoon.components.thread.ChannelWrapper.poll
> (ChannelWrapper.java:72)
>         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.getTask
> (Unknown Source)
>         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor
> $Worker.run(Unknown Source)
>         at java.lang.Thread.run(Thread.java:595)
>
> "Thread-6" prio=1 tid=0x083e42f0 nid=0x709e in Object.wait()  
> [0x8d994000..0x8d994758]
>         at java.lang.Object.wait(Native Method)
>         at org.exist.storage.sync.SyncDaemon.nextTask
> (SyncDaemon.java:345)
>         - locked <0x4be620b0> (a org.exist.storage.sync.SyncDaemon)
>         at org.exist.storage.sync.SyncDaemon$RunLoop.run
> (SyncDaemon.java:380)
>         at java.lang.Thread.run(Thread.java:595)
>
> "Thread-5" prio=1 tid=0x08370718 nid=0x709d in Object.wait()  
> [0x8d499000..0x8d4997d8]
>         at java.lang.Object.wait(Native Method)
>         - waiting on <0x4be16908> (a  
> org.exist.storage.journal.FileSyncThread)
>         at java.lang.Object.wait(Object.java:474)
>         at org.exist.storage.journal.FileSyncThread.run
> (FileSyncThread.java:109)
>         - locked <0x4be16908> (a  
> org.exist.storage.journal.FileSyncThread)
>
> "Store cocoon-ehcache-1 Spool Thread" daemon prio=1 tid=0x088b9b88  
> nid=0x709c in Object.wait() [0x8d418000..0x8d418658]
>         at java.lang.Object.wait(Native Method)
>         - waiting on <0x4be169d0> (a net.sf.ehcache.store.DiskStore)
>         at java.lang.Object.wait(Object.java:474)
>         at net.sf.ehcache.store.DiskStore.spoolThreadMain
> (DiskStore.java:476)
>         - locked <0x4be169d0> (a net.sf.ehcache.store.DiskStore)
>         at net.sf.ehcache.store.DiskStore.access$600(DiskStore.java:
> 89)
>         at net.sf.ehcache.store.DiskStore$SpoolThread.run
> (DiskStore.java:755)
>
> "Thread-1" prio=1 tid=0x088777a8 nid=0x709a in Object.wait()  
> [0x8d316000..0x8d316558]
>         at java.lang.Object.wait(Native Method)
>         - waiting on <0x4be16b00> (a java.util.TreeSet)
>         at  
> org.apache.cocoon.components.thread.DefaultRunnableManager.run
> (DefaultRunnableManager.java:452)
>         - locked <0x4be16b00> (a java.util.TreeSet)
>         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor
> $Worker.run(Unknown Source)
>         at java.lang.Thread.run(Thread.java:595)
>
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle  
> Practices
> Agile & Plan-Driven Development * Managing Projects & Teams *  
> Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/ 
> bsce5sf
> _______________________________________________
> Exist-open mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/exist-open
>



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: eXist virus question

Pierrick Brihaye
In reply to this post by Tsuyoshi FUKUDA
Hi,

Tsuyoshi FUKUDA a écrit :

> When I tried to download eXist-snapshot-20050805.jar, I got a
> virus alert message from F-Secured based anti-virus firewall.
> It says "This may be mass-mailing warm" and does not precise
> what is the actual problem.
>
> There is no problem with downloading eXist-1.0b2-build-1107.jar,
> but  eXist-snapshot-20050805.jar
>
> Did anyone face the same problem?

My bet is the new sendmail module :-))))

Cheers,

p.b.


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Loading...