- Posts: 10
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Number of server requests - IP block
- usr764783
- Topic Author
- Offline
- New Member
I have a question regarding the number of petitions that gets send by LS to the server. We have installed LS 3.15.8 on a commercial hosting provider. Editing our survey we regularly get kicked out by the firewall of our provider due to a too high number of petitions to the server from the same IP. It seems the the limit set by our provider is 5000 petitions per day per IP.
Since our hosting provider is not able/willing to make changes to their general firewall settings, my question is, if anybody can suggest ways to tweak the number of petitions on the LS client side? Any ideas or suggestions? Anybody had the same problem?
Any help would be greatly appreciated,
Thanks!
- jelo
- Offline
- Platinum Member
- Posts: 5070
- Thank you received: 1263
How is "petition" defined? You will need to provide some infos about the firewall and the provider as well.usr764783 wrote: Editing our survey we regularly get kicked out by the firewall of our provider due to a too high number of petitions to the server from the same IP. It seems the the limit set by our provider is 5000 petitions per day per IP.
The reasoning for the blocking and possible workarounds will depend on the technical details.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
- holch
- Offline
- LimeSurvey Community Team
- Posts: 11758
- Thank you received: 2753
I have never heard of something like this before. I don't know how intensive you work on this questionnaire and with how many people. But I never ran in any of these troubles on any hosting platform that I used and I also have never heard something like that in the forum. Seems to be very specific to your hosting company.Editing our survey we regularly get kicked out by the firewall of our provider due to a too high number of petitions to the server from the same IP.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
- usr764783
- Topic Author
- Offline
- New Member
- Posts: 10
- Thank you received: 0
Do you suggest that we can tweak the number of petitions send to the server when you load for example the page to edit a question in LS? That's the only possibility I see, for example, an internal caching mechanism in LS which would allow to reduce the number of petitions?
As I said, we don't have access to the firewall configuration nor are the technicians of our provider willing to change the configuration of their firewall.
- holch
- Offline
- LimeSurvey Community Team
- Posts: 11758
- Thank you received: 2753
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
- jelo
- Offline
- Platinum Member
- Posts: 5070
- Thank you received: 1263
The amount of information provided is not enough to analyze the case. What is the name of the provider and what kind of hosting package is used?usr764783 wrote: Do you suggest that we can tweak the number of petitions send to the server when you load for example the page to edit a question in LS?
Current suggestion: Change provider or change survey tool.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
- Joffm
- Offline
- LimeSurvey Community Team
- Posts: 12790
- Thank you received: 3940
Only refreshing this page uses about 40-50 of these "petitions".
I am sure your provider has a different definition of this.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
- jelo
- Offline
- Platinum Member
- Posts: 5070
- Thank you received: 1263
I never heard "Petitions"in combination with firewalls or internet connections.holch wrote: 5000 "petitions" sounds a lot, but depending on what counts as a petition (e.g. every element on the website? Every MySQL call?)
You have connections or requests.
LimeSurvey is mostly using "web requests" https and http.
Depending on the setup of the webserver and the browser version, these requests can differ a lot.
If e.g. http2 can be used between webserver and browser the amount of requests is lower.
medium.com/@factoryhr/http-2-the-differe...-use-it-38094fa0e95b
So without changing any line of code inside LimeSurvey, the amount of requests can be reduced.
As long as the reasoning of the 5000 limit is not challenged, nothing will changed.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
- usr764783
- Topic Author
- Offline
- New Member
- Posts: 10
- Thank you received: 0
To provide more information as requested, our hosting provider and plan is the following: www.cdmon.com/en/servers/virtual-servers
We have the basic configuration for a virtual server.
I figure the way they count the requests per IP is through the number of entires in the Apache access log - which then really includes all graphics, javascript files, etc. etc. when loading a LS page.
- jelo
- Offline
- Platinum Member
- Posts: 5070
- Thank you received: 1263
I see no infos about a certain limit, but I see a FAQ entry about a WAF (mod security).
ticket.cdmon.com/es/support/solutions/ar...caci%C3%B3n-web-waf-
ticket.cdmon.com/es/support/solutions/ar...idad-de-aplicaciones
Try to deactivate that WAF and check if your IP get blocked.
Depending on the rules of the WAF, LimeSurvey will trigger certain rules and your IP get blocked.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users