PROPFIND Requests Causing severe CPU/Server Load Issues

31 views
Skip to first unread message

davidm

unread,
Mar 11, 2009, 5:13:45 PM3/11/09
to Phusion Passenger Discussions
I am experiencing some strange behavior on my sever currently.
Intermittently there are requests like so littering my log:

132.4.4.39 - - [06/Mar/2009:11:40:41 -0600] "PROPFIND /instmsg/aliases/
person.name HTTP/1.1" 500 60 "-" "

and this seems to cause passenger to go spawn children that take up
enormous amounts of the CPU.
This creates a problem that results in a server load of at one point
today over 11.x. I was wondering if anyone
has experienced this issue or is aware of what can be done to fix this
issue.

Here is a relevant stack trace
https://gist.github.com/75f0d414cc367c3901ff

Tom Copeland

unread,
Mar 11, 2009, 6:06:29 PM3/11/09
to phusion-...@googlegroups.com

You may want to block requests that use the PROPFIND method; you can
do this in Apache using a rewrite rule with a RewriteCond %
{REQUEST_METHOD} and returning an error code or redirecting off to
some static page.

Yours,

Tom

Hongli Lai

unread,
Mar 11, 2009, 6:39:55 PM3/11/09
to phusion-...@googlegroups.com

Could you elaborate on these child processes which take up enormous
amounts of CPU? Are these Apache worker processes or Rails processes?

Do you experience this problem with 2.1.1 as well?

--
Phusion | The Computer Science Company

Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)

Reply all
Reply to author
Forward
0 new messages