[rt-users] apache 100% cpu usage
Payam Poursaied
me at payam124.com
Sun Mar 20 12:18:33 EDT 2011
Hi
Do you mean that looping email would be the source of the problem?
I haven’t seen any looped email in our system. Also I have defined all email address in $RTAddressRegexp. So I think it would prevent loop. Isn’t it?
From: Mathieu Longtin [mailto:mathieu at closetwork.org]
Sent: Sunday, March 20, 2011 4:02 PM
To: Payam Poursaied
Cc: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] apache 100% cpu usage
I found out a while ago that looping emails would cause RT to go crazy like that.
I disabled $LoopsToRTOwner and the problem disappeared. I didn't have time to debug the issue further...
--
Mathieu Longtin
1-514-803-8977
On Sun, Mar 20, 2011 at 4:19 AM, Payam Poursaied <me at payam124.com> wrote:
Hi all
We are using rt3.8.8 and we faced with a problem using apache 1.3.42 on FreeBSD 8.0-RELEASE.
The problem is that httpd processes frequently reach 100% CPU usage and stay
at this level of CPU usage.
This is a sample of top output.
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
77051 www 1 118 0 208M 86080K CPU4 4 87.6H 100.00% httpd
9403 www 1 118 0 215M 93340K CPU2 2 65.0H 100.00% httpd
78430 www 1 118 0 226M 100M CPU0 0 58:57 100.00% httpd
I think there might be a bug that caused something like endless loop but I
am newbie to gdb and debugging and I could not find any relevant point to
get into it.
I tried to compile apache in debug mode and then wait to see a suspicious
process and then attached GDB66 to that cpu intensive httpd process to find
out what is going on.
But I could not go further more.
I have also consulted with apache-freebsd mailing list but there wasn't any success.
Could anyone help me to drill down this problem?
Best Regards
Payam Poursaied
Using "next" says:
(gdb) next
Cannot find bounds of current function
And here below is output of "where" command in gdb66.
(gdb) where
#0 0x000000080093a73b in ?? () from /lib/libc.so.7
#1 0x000000080093d505 in ?? () from /lib/libc.so.7
#2 0x00000008009401bc in ?? () from /lib/libc.so.7
#3 0x0000000800942ec4 in malloc () from /lib/libc.so.7
#4 0x0000000803079946 in Perl_safesysmalloc () from /usr/local/lib/perl5/5.10.1/mach/CORE/libperl.so
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110320/36f4e639/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5686 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110320/36f4e639/attachment.bin>
More information about the rt-users
mailing list