Hi all,

Thanks to a pointer from Steve Brewin I was able to get some thread dumps while James is running above 90% CPU. I took 4 thread dumps: 3 within a minute and 1 an hour later. It looks like there are 4 threads that are runnable. 3 that are waiting for socket connections (I assume that's SMTP, POP, and the Admin Manager), the last 1 is doing DNS for remote delivery. Here's the stack:

"Remote delivery thread (1)" prio=1 tid=0x0x8133590 nid=0x2f8d runnable [4da1e000..4da1f830]
at org.xbill.DNS.RRset.first(RRset.java:165)
at org.xbill.DNS.RRset.getType(RRset.java:126)
at org.xbill.DNS.Cache.addRRset(Cache.java:247)
at org.xbill.DNS.Cache.addMessage(Cache.java:609)
at org.apache.james.dnsserver.DNSServer.rawDNSLookup(DNSServer.java:322)
at org.apache.james.dnsserver.DNSServer.lookup(DNSServer.java:267)
at org.apache.james.dnsserver.DNSServer.findMXRecords(DNSServer.java:211)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.avalon.phoenix.components.application.BlockInvocationHandler.invoke(BlockInvocationHandler.java:92)
at $Proxy0.findMXRecords(Unknown Source)
at org.apache.james.James.getMailServers(James.java:618)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.avalon.phoenix.components.application.BlockInvocationHandler.invoke(BlockInvocationHandler.java:92)
at $Proxy9.getMailServers(Unknown Source)
at org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.java:288)
at org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:797)
at java.lang.Thread.run(Thread.java:536)



There isn't anything in the spool (or at least not in the spool long enough for me to catch it in a snap shot. The server is barely receiving any email, so its not under load due to too much email.. I'm at my wits end, its negatively impacting the rest of my website. I'm starting to get Internal Server Errors because Apache can't get the CPU long enough to respond to a request.


Any help at all will be really appreciated.

Kenny Smith
JournalScape.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to