PHP Requests Being Blocked After Making About 25 in Ten Minutes
Posted
by
Daniel Stern
on Server Fault
See other posts from Server Fault
or by Daniel Stern
Published on 2012-09-20T20:53:16Z
Indexed on
2012/09/20
21:40 UTC
Read the original article
Hit count: 230
We have an administrative portal where we run PHP functions through a Javascript portal using ajax for administrative purposes.
For example, we might have a function called updateAllDatabaseEntries() which would call AJAX functions in rapid succession, with those functions each executing numerous SQL queries.
The problem is after making several successive requests from the same computer (not an excessive amount, maybe 30 in ten minutes) the system will stop responding to any PHP, HTTP requests ETC ONLY from my computer. From other computers in the office the panel can still be accessed, and access is restored to this computer after about 15 minutes.
We believe this is not a glitch but some kind of security feature built into our server, possibly relating to Suhosin and likely well-intentioned but currently preventing us from running our system administration.
Server Info: Linux 2.6.32-5-xen-amd64 #1 SMP Tue Mar 8 00:01:30 UTC 2011 x86_64 GNU/Linux
Cheers - DS
© Server Fault or respective owner