-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ErrorException: Allowed memory size: Full export of database #10
Comments
By looking at Line 191 in 757f300
I suspect it's PHP trying to be smart, where "buffered queries are the default", which is at at fault. Try with unbuffered queries / |
Anyway, buffer or not, and out of error, I dont see any kind of limit onto the sql query. That's sounds like bad practice, and security issue. |
@boly38 this script is for exporting the whole database, so, why "not using |
DoS of someone querying export without constraints. |
Another way to fix it: adding rules to prevent more than one export per IP. per time unit. |
Without
Nice idea. Could this be achieved using |
yeah ..seems possible |
New dedicated issue for discussing rate limiting. #12 |
Calling an "export type 1" for long duration break on over memory consumption.
https://geokrety.org/export.php?modifiedsince=20000510032102&kocham_kaczynskiego=********
https://sentry.kumy.org/geokrety/geokrety-legacy/issues/547/
The text was updated successfully, but these errors were encountered: