Hi Forum,
is there any option in MODX Revolution
a) limiting the number of scripts called simultaneously by the manager (e. g. via Ajax) and/or
b) switching off warning modal window?
Problem: Many of our MODX Revo installations are hosted at 1&1. There, the number of processes running simultaneously by one user is limited (10 to 15, depending on the package):
http://www.1and1.com/details-performance (doesn't work anymore)
This leads to a very ugly scenario: If you display a file system folder in the manager with many images, you only see as many thumbnails as this limitation takes effect. If the limiter kicks in, the following scripts return HTTP 500, Internal Server Error:
94.222.227.x - - [09/Aug/2013:14:56:36 +0200] "GET /connectors/system/phpthumb.php?src=images%2FCover-Flow%2FsampleImage17.jpg&w=100&h=80&f=png&q=90&far=1&HTTP_MODAUTH=foo_bar&wctx=mgr&source=1 HTTP/1.1" 200 7521 www.mydomain.com "http://www.mydomain.com/manager/index.php?a=30&id=40" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0" "-"
94.222.227.x - - [09/Aug/2013:14:56:36 +0200] "GET /connectors/system/phpthumb.php?src=images%2FCover-Flow%2FsampleImage18.jpgg&w=100&h=80&f=png&q=90&far=1&HTTP_MODAUTH=foo_bar&wctx=mgr&source=1 HTTP/1.1" 200 5382 www.mydomain.com "http://www.mydomain.com/manager/index.php?a=30&id=40" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0" "-"
94.222.227.x - - [09/Aug/2013:14:56:37 +0200] "GET /connectors/system/phpthumb.php?src=images%2FCover-Flow%2FsampleImage19.jpg&w=100&h=80&f=png&q=90&far=1&HTTP_MODAUTH=foo_bar&wctx=mgr&source=1 HTTP/1.1" 500 - www.mydomain.com "http://www.mydomain.com/manager/index.php?a=30&id=40" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0" "-"
94.222.227.x - - [09/Aug/2013:14:56:37 +0200] "GET /connectors/system/phpthumb.php?src=images%2FCover-Flow%2FsampleImage20.jpg&w=100&h=80&f=png&q=90&far=1&HTTP_MODAUTH=foo_bar&wctx=mgr&source=1 HTTP/1.1" 500 - www.mydomain.com "http://www.mydomain.com/manager/index.php?a=30&id=40" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0" "-"
94.222.227.x - - [09/Aug/2013:14:56:37 +0200] "GET /connectors/system/phpthumb.php?src=images%2FCover-Flow%2FsampleImage21.jpg&w=100&h=80&f=png&q=90&far=1&HTTP_MODAUTH=foo_bar&wctx=mgr&source=1 HTTP/1.1" 500 - www.mydomain.com "http://www.mydomain.com/manager/index.php?a=30&id=40" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0" "-"
94.222.227.x - - [09/Aug/2013:14:56:37 +0200] "GET /connectors/system/phpthumb.php?src=images%2FCover-Flow%2FsampleImage22.jpg&w=100&h=80&f=png&q=90&far=1&HTTP_MODAUTH=foo_bar&wctx=mgr&source=1 HTTP/1.1" 500 - www.mydomain.com "http://www.mydomain.com/manager/index.php?a=30&id=40" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0" "-"
94.222.227.x - - [09/Aug/2013:14:56:37 +0200] "GET /connectors/system/phpthumb.php?src=images%2FCover-Flow%2FsampleImage23.jpg&w=100&h=80&f=png&q=90&far=1&HTTP_MODAUTH=foo_bar&wctx=mgr&source=1 HTTP/1.1" 500 - www.mydomain.com "http://www.mydomain.com/manager/index.php?a=30&id=40" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0" "-"
94.222.227.x - - [09/Aug/2013:14:56:37 +0200] "GET /connectors/system/phpthumb.php?src=images%2FCover-Flow%2FsampleImage24.jpg&w=100&h=80&f=png&q=90&far=1&HTTP_MODAUTH=foo_bar&wctx=mgr&source=1 HTTP/1.1" 500 - www.mydomain.com "http://www.mydomain.com/manager/index.php?a=30&id=40" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0" "-"
94.222.227.x - - [09/Aug/2013:14:56:37 +0200] "POST /connectors/system/registry/register.php HTTP/1.1" 500 - www.mydomain.com "http://www.mydomain.com/manager/index.php?a=30&id=40" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0" "-"
Not bad enough: I recently updated one installation from 2.2.0pl to 2.2.8. In between there must have been a change, how MODX deals with HTTP-headers != 200. Now, a modal window with a warning message for every HTTP error pops up:
Questions:
1. Is there an option to control/limit/reduce the simultaneously called scripts by MODX Revolution? In TYPO3, there are similar problems with thumbnails in galleries. There, you could set putenv("MAGICK_THREAD_LIMIT=1"); in localconf.php to throttle the processes.
2. Can I suppress those warning modals (as workaround)?
My efforts: I installed the same website on different hosters without any problems. The 1&1-helpdesk told me, I could rent a server, if I'm not contented with it. LOL
Please don't give me advices to change the provider.

I know, that this is $%#$§, but hey, I didn't choose this ISP and 1&1 has a very good marketing, I'm unable to cope with.
Thanks in advance,
Chris.
[ed. note: mr.odo last edited this post 12 years, 10 months ago.]