[How To Fix] Request Exceeded The Limit Of 10 Internal Redirects
Aug 14, 2008
Does anyone know a script or something I can edit to fix this commonly seen error in the apache error_log:
[Wed Aug 13 22:09:25 2008] [error] [client IP] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: [url]
I don't want to increase anything as I read from different places that , that's not good to do. Most say there is a rule written wrong somewhere or something, or a loop of some kind, but I'm not sure how or where to fix it.
I installed a url shortner script but the link that the script creates takes you to a server error page.
I viewed the logs and I get this error over and over again.
Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
The server is temporarily unable to service your request due to the site owner reaching his/her bandwidth limit. Please try again later. Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at confidentchemicals.com Port 80
Bandwidth limit gets reset every first of month but what to do when users reached to this limit between 1 to 10 days?
we don't want to upgrade users packages or bandwidth limit rather than allocated.
why can't we reduce bandwidth limit? __________________
I have seen some hosting provider limit the number of process per user id. Usually its shows an Internal Server error with the error message saying "Process Limit Exceeded For UID ******", how can i do this in my vps?
I just configured the limit for outgoing mail. It works well, but I have still some questions.
Normally the server sends bounce messages in HTML and in german. They look nice and what is much more important, the users who do not speak english are informed what is going on.
The message that is send, when the limit for outgoing mail is exceeded uses a different template. It is delivered in plain text and after explaining in german that the mail could not be send, it states the reason in english.
Is there any way to edit this bounce message, so that a translation could be added?
I had some users complaining that the server is not working, because they tried again and again to send a mail and kept the counter over the limit. For they did not understand what was causing it.
I've been having trouble the past few days with someone who's been "attacking" my site so to speak by continuously downloading very large files with as many connections as (he) can open. I operate a large downloads site for computer games, this person has selected the largest files (like 400-500MB). Not sure of the real intent other than to clog up my bandwidth capacity. Also he appears to be using proxies since as soon as I ban one, another shows up seeminly from China.
Anyway, I have mod_bw and I've limited the number of connections in the downloads area to 2. While that works ok, his tool uses threads like a download manager would and he's using up 30-40 child threads for his 2 file downloads.
So 2 questions,
Is there anyway to not only limit file downloads to 2, but limit the number of connections per request? Many of my visitors do use download managers and I'd like for them to continue using them but use a reasonable number of threads like 6 or 8, but not 30.
Also, is there a way to restrict access to someone using a proxy?
There are a lot of permanent redirects in one of my customer's server. I tried to remove them through clicking the remove button but although it gave a "deleted" message, it failed to do so..
Are you sure you wish to permanently remove the redirect ** All Requests ** on ** All Public Domains **
I click YES and i got the message below.
The redirect ** All Requests ** on ** All Public Domains ** has been removed.
But redirect define is still there.
What should i do? I can access to server via SSH. So may be i can handle with this just editing some file(s)?
During these periods of inaccessibility, ping/traceroutes from multiple physical locations around the world show 50-100% packet loss.
During times when the server is accessible, ping times are anywhere from 100ms-700ms and the server does not remain accessible for very long.
I gave my provider traceroutes and pings for those times when it was inaccessible and accessible and they stated it was not on their side. It was on a hop in the middle between me (and apparently everyone else, since multiple locations around the world were used) and my server. They say it is not in their control and they cannot do anything about it.
I am reasonably sure this isn't just me or my VPS. I am on the phoenix node of PrimaryVPS.
The latest traceroute I did showed something new - a router advertisement claiming the TTL was exceeded....
setting up redirects in IIS to maintain existing links that are prominent in search engines.
current site is ASP and generally pages are accessed without requiring the default.asp to be specified, however site stats show many URLs with the default.asp used to access the page. The new site pages will be ASPX.
my query is would both
root/folder/folder/
and
root/folder/folder/default.asp
need to be redirected? or just the latter?
i believe that as long as IIS is configured to recognise default.aspx then the folder access would work as it does for default.asp at the moment...
but my understanding is that - root/folder/folder/default.asp - would need to be redirected to - root/folder/folder/default.aspx - or whatever page name was assigned to this page...
can anyone elaborate on this and the best way to handle redirects in IIS?
Now I'm looking at our last cpu_exceeded_logs file and there is long list point to "/ramdisk/bin/php5" which I don't know much about it or don't know how to deal with that. would you please tell what exactly it means and what should I do to avoid it?
Example of my last cpu_exceeded_logs file:
Quote:
Mon Jul 6 00:34:50 2009: used 0.77 seconds of cpu time for /ramdisk/bin/php5 Mon Jul 6 00:34:50 2009: used 0.50 seconds of cpu time for /ramdisk/bin/php5 Mon Jul 6 00:34:50 2009: used 0.80 seconds of cpu time for /ramdisk/bin/php5 Mon Jul 6 00:34:50 2009: used 0.55 seconds of cpu time for /ramdisk/bin/php5
I can't find the cause of problem when look at /ramdisk/bin/php5.
Has anyone ever run into this before? We are running into issues with one of our hosting servers, it claims that the /tmp folder has exceeded the disk quota but when you actually go to the /tmp folder it's not at all.
Here are the outputs:
# df -h Filesystem Size Used Avail Use% Mounted on /dev/simfs 60G 2.4G 58G 4% /
But it still gives a PHP error saying /tmp disk quota exceeded until I completely empty the folder and then it works for a few hours and does the same thing.
my costumer's web site often started to give "This Account Has Exceeded Its CPU Quota" error
his/her logs following.
Code: -------------------------------------------------------------------------------- CPU Exceeded Log For Thu Mar 22 11:55:12 2007
Thu Mar 22 11:52:19 2007: used 0.13 seconds of cpu time for HTTP Request: vbulletin.com : GET /external.php?type=RSS2 HTTP/1.1 Thu Mar 22 11:52:19 2007: used 0.13 seconds of cpu time for HTTP Request: vbulletin.com : GET /external.php?type=RSS2&forumids=12 HTTP/1.1 Thu Mar 22 11:53:25 2007: used 0.18 seconds of cpu time for HTTP Request: vbulletin.com : GET / HTTP/1.1 Thu Mar 22 11:52:00 2007: used 0.13 seconds of cpu time for HTTP Request: vbulletin.com : GET /external.php?type=RSS2&forumids=12 HTTP/1.1 Thu Mar 22 11:51:59 2007: used 0.20 seconds of cpu time for HTTP Request: vbulletin.com : GET /showthread.php?t=289 HTTP/1.1 Thu Mar 22 11:51:54 2007: used 0.12 seconds of cpu time for HTTP Request: vbulletin.com : GET /external.php?type=RSS2&forumids=12 HTTP/1.1 Thu Mar 22 11:53:35 2007: used 0.07 seconds of cpu time for HTTP Request: vbulletin.com : GET /clientscript/vbulletin_multi_quote.js?v=364 HTTP/1.1 Thu Mar 22 11:52:09 2007: used 0.12 seconds of cpu time for HTTP Request: vbulletin.com : GET /attachment.php?attachmentid=65&d=1168905639 HTTP/1.1 Thu Mar 22 11:52:27 2007: used 0.28 seconds of cpu time for HTTP Request: vbulletin.com : GET /forumdisplay.php?f=12&page=2&order=desc HTTP/1.1 Thu Mar 22 11:53:34 2007: used 0.19 seconds of cpu time for HTTP Request: vbulletin.com : GET /showthread.php?p=2784 HTTP/1.1 Thu Mar 22 11:52:29 2007: used 0.12 seconds of cpu time for HTTP Request: vbulletin.com : GET /external.php?type=RSS2 HTTP/1.1 Thu Mar 22 11:54:16 2007: used 0.19 seconds of cpu time for HTTP Request: vbulletin.com : GET /index.php HTTP/1.1 Thu Mar 22 11:54:16 2007: used 0.25 seconds of cpu time for HTTP Request: vbulletin.com : GET /forum/ HTTP/1.1 Thu Mar 22 11:54:00 2007: used 0.28 seconds of cpu time for HTTP Request: vbulletin.com : GET /forumdisplay.php?f=2 HTTP/1.1 Thu Mar 22 11:55:09 2007: used 0.18 seconds of cpu time for HTTP Request: vbulletin.com : GET /forum/cron.php?&rand=65617 HTTP/1.1 Thu Mar 22 11:55:08 2007: used 49.00 seconds of cpu time for [[mysql query]] Thu Mar 22 11:52:31 2007: used 0.13 seconds of cpu time for HTTP Request: vbulletin.com : GET /external.php?type=RSS2&forumids=12 HTTP/1.1 Thu Mar 22 11:51:57 2007: used 0.12 seconds of cpu time for HTTP Request: vbulletin.com : GET /external.php?type=RSS2 HTTP/1.1 Thu Mar 22 11:52:03 2007: used 0.15 seconds of cpu time for HTTP Request: vbulletin.com : GET /external.php?type=RSS2 HTTP/1.1
-------------------------------------------------------------------------------- CPU Exceeded Log For Thu Mar 22 12:34:21 2007
Thu Mar 22 12:31:10 2007: used 0.23 seconds of cpu time for HTTP Request: vbulletin.com : GET /forum/showthread.php?p=56720 HTTP/1.0 Thu Mar 22 12:33:25 2007: used 0.04 seconds of cpu time for HTTP Request: vbulletin.com : GET /forum/images/buttons/collapse_thead.gif HTTP/1.1 Thu Mar 22 12:33:23 2007: used 0.07 seconds of cpu time for HTTP Request: vbulletin.com.com : GET /forum/images/icons/icon1.gif HTTP/1.1 Thu Mar 22 12:33:15 2007: used 0.26 seconds of cpu time for HTTP Request: vbulletin.com : GET /forum/ HTTP/1.1 Thu Mar 22 12:33:50 2007: used 2.00 seconds of cpu time for [[mysql query]] Thu Mar 22 12:30:30 2007: used 0.22 seconds of cpu time for HTTP Request: vbulletin.com : GET /forum/showthread.php?p=62840 HTTP/1.0 Thu Mar 22 12:33:44 2007: used 0.13 seconds of cpu time for HTTP Request: vbulletin.com : GET /cron.php?&rand=790216 HTTP/1.1 Thu Mar 22 12:32:00 2007: used 0.22 seconds of cpu time for HTTP Request: vbulletin.com : GET /forum/member.php?find=lastposter&t=42694 HTTP/1.0 Thu Mar 22 12:33:12 2007: used 0.25 seconds of cpu time for HTTP Request: vbulletin.com : GET /forum/ HTTP/1.1 Thu Mar 22 12:34:02 2007: used 0.14 seconds of cpu time for HTTP Request: vbulletin.com : GET /cron.php?&rand=350679 HTTP/1.1 Thu Mar 22 12:33:59 2007: used 0.25 seconds of cpu time for HTTP Request: vbulletin.com : GET /showthread.php?p=2787 HTTP/1.1 Thu Mar 22 12:33:13 2007: used 2.00 seconds of cpu time for [[mysql query]] Thu Mar 22 12:33:54 2007: used 0.14 seconds of cpu time for HTTP Request: vbulletin.com : GET /cron.php?&rand=395167 HTTP/1.1 Thu Mar 22 12:33:35 2007: used 0.17 seconds of cpu time for HTTP Request: vbulletin.com : GET / HTTP/1.1 Thu Mar 22 12:34:19 2007: used 49.00 seconds of cpu time for [[mysql query]] Thu Mar 22 12:34:20 2007: used 0.24 seconds of cpu time for HTTP Request: vbulletin.com : GET /forum/showthread.php?p=68933 HTTP/1.0 Thu Mar 22 12:33:52 2007: used 0.28 seconds of cpu time for HTTP Request: vbulletin.com : GET /forumdisplay.php?f=2 HTTP/1.1 Thu Mar 22 12:32:42 2007: used 0.24 seconds of cpu time for HTTP Request: vbulletin.com : GET /forum/member.php?find=lastposter&t=41435 HTTP/1.0
-------------------------------------------------------------------------------- CPU Exceeded Log For Thu Mar 22 16:16:16 2007
Thu Mar 22 16:14:00 2007: used 0.18 seconds of cpu time for HTTP Request: vbulletin.com : POST /forum/login.php HTTP/1.1 Thu Mar 22 16:13:35 2007: used 0.32 seconds of cpu time for HTTP Request: vbulletin.com.com : GET / HTTP/1.1 Thu Mar 22 16:14:21 2007: used 3.00 seconds of cpu time for [[mysql query]] Thu Mar 22 16:14:21 2007: used 0.18 seconds of cpu time for HTTP Request: vbulletin.com : POST /forum/login.php HTTP/1.1 Thu Mar 22 16:16:15 2007: used 2.00 seconds of cpu time for [[mysql query]] Thu Mar 22 16:16:11 2007: used 38.00 seconds of cpu time for [[mysql query]] Thu Mar 22 16:14:03 2007: used 0.29 seconds of cpu time for HTTP Request: vbulletin.com.com : GET / HTTP/1.1 Thu Mar 22 16:15:22 2007: used 2.00 seconds of cpu time for [[mysql query]] Thu Mar 22 16:15:24 2007: used 0.24 seconds of cpu time for HTTP Request: vbulletin.com : GET /forum/ HTTP/1.1
I have a question concerning the redirection of URLs. One of our customers has 1 main website (www.x.com) and many subsites (www.y.com, www.z.com etc.) which all end up at the same IIS instance. There, a CMS picks up the URLSs and directs them to the place the user requested.
Now, our customer wants all subsites to enter at the main site/subsite, instead of letting the routing be done bij the CMS. One solution would be to let our DNS hoster put URL redirects on all subsites. This however is not a valid option for us, since it's untransparant to us.
Another option would be to create a separate IIS website for every subsite and redirect these sites to the main site/subsite. That would mean redirecting www.y.com to www.x.com/y and www.z.com to www.x.com/z. This is not a very professional solution though.
We're running a VBulletin forum. I've been able to put basic redirects in place. But I'm fuzzy on how to direct links/search engines for forums/threads to the new location.
I am getting the error "max_user_connections exceeded" for database user "xxxx". So every time this happens I have to feed a new database admin login to my script. There is nothing wrong with the script since it is very popular membership script. I think my host just allows low number of "max_user_connections". please advice me on a host that allows higher number of "max_user_connections"
I've set up some subdomains up in cPanel thinking that that would automatically change any url from www.domain.co.uk/test to test.domain.co.uk.
I know these are the same thing but I would like it so that if something links to or type in the address bar www.domain.co.uk/test then the address bar displays test.domain.co.uk.
I am getting a problem that after my reseller client's clients sign in to their cpanel they see server.myhostname.com url in their address bar. This started after upgrading to cpanel 11 yesterday
I have these options set in whm:
** When visiting /cpanel or /whm or /webmail WITHOUT SSL, you can choose to redirect to:
Origin Domain Name
** When visiting /cpanel or /whm or /webmail with SSL, you can choose to redirect to:
SSL Certificate Name
Webmail is extremely slow as well for some reason.
I have spend 6 hours in the last 24hrs hand coding 300 lines of Permanent Redirects. I am moving my site from flat file (PHP with includes) to Drupal. I was going to drop it into the .htaccess file but am wondering if there is a more efficient place to put it since this is permanent. Should it go into the httpd file/Virtual host file, will cPanel over-ride that file?
So I have been reduced, I am a firm *nix Apache user, to using IIS along with ISAPI for redirection at work. Now I can setup the redirection(s) just fine using the GUI, but I am a *nix man and doing this through the GUI is SLOW! That is when it has to be done on 3 servers at a time plus I can only access those servers through a Citrix environment.
And I need to be adding redirects many times a week. Is there any way to setup ISAPI redirects from a command line? Google has offered me nothing.
i just moved all cpanel backup from bluehost to my new dedicated server running cpanel. i restored the backup and i am getting page showing cpu exceeded error.
I just went with Steadcom's VPS and they are great. I am setting things up and it's going pretty well, I have to dust off my linux/server knowledge that I haven't used in a couple of years.
Anyway I'm creating a virtual host.. I will have about 10 in the end, but right now I only have one domain IP Pointing to my new server. My registrar is NamesDirect.
When I create the virtual host, I can no longer access subdirectories directly. My Virtual Host directory is, say, /var/www/html/newdir
If I try to reach http://www.domainname.com which has been configued as a virtual host, that comes up correctly from the directory /var/www/html/newdir and works fine.
But if I try to reach http://myipaddress/newdir I get a 404 page not found error. Looking at the log, it's trying to reach /var/www/html/newdir/newdir so it's putting in the virtual host redirect even for just hitting the subdirectory directly.
Is this normal? Do I have something configured wrong? I have another domain that I have changed to IP Point to the VPS but until it propogates I won't be able to test having 2 virtual hosts.
Also.. I have not set up DNS on my VPS. I don't really understand it, and IP Pointing has always worked for me when I ran my own server form my home so I was just going to do that. But I wonder if this could be one of the problems.
There is a page on a separate SharePoint environment, under http://domain.edu/yyy/yyy/yyy/yyy. We have a subdomain called http://123.domain. edu . We need the home page of http://123.domain,edu to point to the SharePoint site, so when users type http://123.domain.edu , they are redirected to http://domain.edu/yyy/yyy/yyy/yyy.
The trick is this - we need all sub-directories NOT to redirect. So, whatever is under http://123.domain.edu/subdirectory should not redirect at all. Is this doable? Also, if it is, I have no clue where to go to make any changes, so any instructions would be great. So far, I have found the text file httpd.conf that I can edit, but I have no clue about the rest.