Insurance Squared Inc. wrote:

Hi,

Here's the output from when it freezes. Sorry it's a bit verbose, wasn't sure what we're looking for so I've included it all: 051230 131519 fetching http://www.municipalaffairs.gov.ab.ca/fco/pdf/ab-clan6-1.pdf
Full thread dump Java HotSpot(TM) Client VM (1.4.2_10-b03 mixed mode):

"fetcher9" prio=1 tid=0x082f5b40 nid=0x1442 waiting for monitor entry [5097a000..5097a228] at org.apache.nutch.fetcher.Fetcher$FetcherThread.outputPage(Fetcher.java:277) - waiting to lock <0x590efa58> (a org.apache.nutch.io.ArrayFile$Writer)


[...]

"fetcher1" prio=1 tid=0x081640c0 nid=0x1442 runnable [50d86000..50d87228]
      at java.util.zip.Deflater.deflateBytes(Native Method)
      at java.util.zip.Deflater.deflate(Deflater.java:287)
      - locked <0x61da0728> (a java.util.zip.Deflater)
at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:154) at java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:114)
      at java.util.zip.GZIPOutputStream.write(GZIPOutputStream.java:72)
      - locked <0x61da0960> (a java.util.zip.GZIPOutputStream)
at org.apache.nutch.io.WritableUtils.writeCompressedByteArray(WritableUtils.java:53)
      at org.apache.nutch.protocol.Content.write(Content.java:81)
at org.apache.nutch.io.SequenceFile$Writer.append(SequenceFile.java:137)
      at org.apache.nutch.io.MapFile$Writer.append(MapFile.java:127)
      - locked <0x590efa90> (a org.apache.nutch.io.ArrayFile$Writer)
      at org.apache.nutch.io.ArrayFile$Writer.append(ArrayFile.java:39)
      - locked <0x590efa90> (a org.apache.nutch.io.ArrayFile$Writer)
at org.apache.nutch.fetcher.Fetcher$FetcherThread.outputPage(Fetcher.java:278)
      - locked <0x590efa58> (a org.apache.nutch.io.ArrayFile$Writer)

            ^^^^^^^^^^^^^^^^

at org.apache.nutch.fetcher.Fetcher$FetcherThread.handleFetch(Fetcher.java:261) at org.apache.nutch.fetcher.Fetcher$FetcherThread.run(Fetcher.java:148)


This is very strange... looks like all threads are waiting for this thread to finish compressing the data, but there is nothing in WritableUtils, or even in the source of Deflater.java to suggest what is happening... Could you connect a debugger, and run the process under debugger? It would also help to get a couple of thread dumps and compare them, if they look the same...

BTW. if you have a JDK 1.5 on that machine you could try running this with 1.5 and see if it helps.

--
Best regards,
Andrzej Bialecki     <><
___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com


Reply via email to