The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Request Limit Exceeded Problem

+2
Derri
TheCrow
6 posters

Go down

In progress Request Limit Exceeded Problem

Post by TheCrow May 21st 2014, 3:57 pm

Hello,
I got the Request Limit Exceeded about 5 times now as i was trying to reload the homepage! Why do i get this? Is it a problem?
Can i do something to fix it?  Sad 

Thank you..
TheCrow
TheCrow
Manager
Manager

Male Posts : 6913
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

In progress Re: Request Limit Exceeded Problem

Post by Derri May 21st 2014, 4:10 pm

Generally you'll get this when you have multiple tabs open and are trying to do too much in a short space of time. I'd recommend taking it slower, not opening as many tabs and allow pages to fully load before you click off of them.

If it persists then let us know.
Derri
Derri
Helper
Helper

Male Posts : 8755
Reputation : 638
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

In progress Re: Request Limit Exceeded Problem

Post by TheCrow May 21st 2014, 4:35 pm

I only had a page opened and that was my forum and as i wanted to go to the portal it showed it and then when i went to home it did it again. I am starting to be afraid of this. Is there anything else i can do?
TheCrow
TheCrow
Manager
Manager

Male Posts : 6913
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

In progress Re: Request Limit Exceeded Problem

Post by Derri May 21st 2014, 4:37 pm

From my experiance with this happening on FM forums it usually goes away itself. I know that isn't a great answer but it'll usually happen for a short time and then go away itself.

If it does continue though, let us know.
Derri
Derri
Helper
Helper

Male Posts : 8755
Reputation : 638
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

In progress Re: Request Limit Exceeded Problem

Post by TheCrow May 21st 2014, 4:39 pm

It happened again.. OMG why?
TheCrow
TheCrow
Manager
Manager

Male Posts : 6913
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

In progress Re: Request Limit Exceeded Problem

Post by Derri May 21st 2014, 6:23 pm

I don't know.

If it continues to happen over into Thursday I'll put a request in for our pro admin to have a look. Right now she's finished for the day so it would be tomorrow anyway before you'd get a response.
Derri
Derri
Helper
Helper

Male Posts : 8755
Reputation : 638
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

In progress Re: Request Limit Exceeded Problem

Post by TheCrow May 21st 2014, 7:23 pm

Οk but it still does it so i will be awaiting for a response. Thank you.
TheCrow
TheCrow
Manager
Manager

Male Posts : 6913
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

In progress Re: Request Limit Exceeded Problem

Post by SLGray May 21st 2014, 7:43 pm

Usually this means there is too many requests on the same page.  Do you have many JavaScripts?


Request Limit Exceeded Problem Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51482
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Request Limit Exceeded Problem

Post by TheCrow May 21st 2014, 7:51 pm

Ι have 16 js
TheCrow
TheCrow
Manager
Manager

Male Posts : 6913
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

In progress Re: Request Limit Exceeded Problem

Post by SLGray May 21st 2014, 7:55 pm

Well that could be the reason.  Also were you doing a lot on things on the page at the same time?


Request Limit Exceeded Problem Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51482
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Request Limit Exceeded Problem

Post by Ange Tuteur May 21st 2014, 7:59 pm

Hello Marios,

Please review your scripts and make sure they are not sending too many requests with the jQuery AJAX load() method. If you're loading too many pages while the current page is loading you're no doubt going to hit your request limits. When using the load() method you should only run it after page load, where the element is visible, or in an event.

Most of all use load() in moderation, only use it when necessary, and if possible cache the loaded data. Wink
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: Request Limit Exceeded Problem

Post by Tommy Lee May 21st 2014, 8:06 pm

Also,

Any old data what you have tried to delete in the past on the browser sometimes its still stored on the browser's hardware in this case you have to clear your browser cache click here.
Tommy Lee
Tommy Lee
Forumember

Posts : 232
Reputation : 7
Language : English

Back to top Go down

In progress Re: Request Limit Exceeded Problem

Post by TheCrow May 22nd 2014, 12:15 am

Ange Tuteur wrote:Hello Marios,

Please review your scripts and make sure they are not sending too many requests with the jQuery AJAX load() method. If you're loading too many pages while the current page is loading you're no doubt going to hit your request limits. When using the load() method you should only run it after page load, where the element is visible, or in an event.

Most of all use load() in moderation, only use it when necessary, and if possible cache the loaded data. Wink

Ange i dont know about js. How should i check them? :/
TheCrow
TheCrow
Manager
Manager

Male Posts : 6913
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

In progress Re: Request Limit Exceeded Problem

Post by Ange Tuteur May 22nd 2014, 12:25 am

Check your scripts for the following word : load

after that should be parenthesis () and data between those parenthesis; an url and/or selector.
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: Request Limit Exceeded Problem

Post by TheCrow May 22nd 2014, 12:30 am

It has is 7 times. 5 in one js and an other 2 times on an other one. What should i do?
TheCrow
TheCrow
Manager
Manager

Male Posts : 6913
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

In progress Re: Request Limit Exceeded Problem

Post by Ange Tuteur May 22nd 2014, 12:38 am

If you want to stop those requests, your best option would be to remove the script which is the heaviest. Having so many functions with load can really slow your forum down, and make you hit the request limit quickly. If the script you're using loads data on another page while the page is loading, and doesn't cache the data, then that is not a good choice.

I recommend avoiding scripts which do the above.
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: Request Limit Exceeded Problem

Post by TheCrow May 22nd 2014, 12:41 am

The one i am using with the 2 load is the one with the mod boxes and the other one is this:
Code:
if(/\/?u(\d+)$/.test(location.pathname)) {
    jQuery(document).ready(function(){if(jQuery('#profile-advanced-right').length){
    var avataripb=jQuery('#profile-advanced-right .main-content.clearfix.center img:first-child').attr('src');
    var tabsipb=jQuery('#profile-advanced-layout #profile-advanced-left #tabs').html();var infoipbge=jQuery('#profile-advanced-left #profile-advanced-details .middleline').html();
    var listfriends=jQuery('.main-content.clearfix[style^="padding:0.3em;text-align:center;"]').html();
    var prfiletoadd=jQuery('#profile-advanced-right #profile-advanced-add').html();
    var usernameipb=jQuery('#profile-advanced-right .module.main:eq(0) .main-head .h3').text().split(' (conectado)').join('');var miregistro=jQuery('.middleline #field_id-4 dd div:eq(0)').html();
    var monedas=jQuery('.middleline #field_id-13 dd div:eq(0)').html();
    var reputipb=jQuery('.middleline #field_id-14 dd div:eq(0)').html();
    var mid=jQuery('#profile-advanced-layout #tabs li:eq(3) a').attr('href').match(/[0-9]+/);
    var onlineipb=jQuery('#profile-advanced-right .main-head:eq(0) .h3 em').text().replace(/[(]/gi,' ').replace(/[)]/gi,' ');
    jQuery('#profile-advanced-right').after('<div class="ipb-profile">
    <div class="nav-ipb-top"><span>Προεπισκόπιση &nbsp; Προφίλ: &nbsp;<span id="useridhahs"> '+usernameipb+'</span></span></div>
    <div class="mod-left">
    <div class="profile-ava"><img id="ipd-avatar" src="'+avataripb +'" /> </div>
    <div class="ipb-tab-us">'+tabsipb+'</div></div>
    <div class="mod-center">
    <div class="sub-panel-top"><div class="usernam-ipb">'+usernameipb+'</div>
    <div class="register-date">Εγγεγραμμένος &nbsp; από: &nbsp;  '+miregistro+'</div>
<div class="ofline-ipb">Copyright©& nbsp; PunBB.biz & nbsp;& & nbsp; 15-Tronos</div>
    <div class="lass-activiti"></div>
    <div class="rating-profile">
    <img src="http://i.imgur.com/jFLWgyz.png"/>
    <img src="http://i.imgur.com/jFLWgyz.png"/>
    <img src="http://i.imgur.com/jFLWgyz.png"/>
    <img src="http://i.imgur.com/jFLWgyz.png"/>
    <img src="http://i.imgur.com/jFLWgyz.png"/>
    </div><div class="profi-add-ipb">'+prfiletoadd+'
    <a id="men"href="/privmsg?mode=post&u='+mid+'">Αποστολή &nbsp; Π.Μ.</a>
    <a id="search-i"href="/spa/'+usernameipb+'">Αναζήτηση &nbsp; Δημοσιεύσεων</a>
    </div>
    </div>
    <div class="main-info-ipb">
    <div class="co-ipb" id="profile">
    <div class="ipb-m-title">
    <h2 id="wallcomment">Μηνύματα &nbsp; Επισκεπτών</h2>
    <h2 id="estadis">Πληροφορίες &nbsp; Μέλους</h2>
    <h2 id="estadisgene"><span>Στατιστικά</span></h2>
    <h2 id="friends">Φίλοι</h2>
    <h2 id="contacto">Επικοινωνία</h2></div>
    <div class="mensajeprofile"></div>
    <div class="m-info-ipb"><div class="in-ipb">'+infoipbge+'
    <div class="contac-me-ipb"></div>
    </div>
    <div class="band-right">
    <div class="repu-ipb"><span id="cs">'+monedas+'</span><div id="sub">Βαθμοί</div></div>
    <div class="coin-ipb"><span>'+reputipb+'</span><div iid="re-p">Moυ &nbsp; αρέσει</div></div>
    <div class="module-ipb-right">
    <h2>Φίλοι &nbsp; Μέλους</h2>
    <div class="main-ipb-f">'+listfriends+'</div>
    </div>
    </div>
    </div>
    <div class="estadis-ipb"></div>
    <div class="friends-ips"></div>
    <div class="contact-ips"></div></div>
    </div></div>
    </div>');
    }});
    $(document).ready(function(){if(jQuery('#profile-advanced-right').length){
    $('.estoyenline-i:contains("conectado") .ofline-ipb').attr('style','display:none;');
    $('.estoyenline-i:contains("conectado")').attr('style','padding:0px 5px;');
    var linkwall=jQuery('#tabs ul li a:eq(0)').attr('href');
    jQuery(".mensajeprofile").load(linkwall+' #profile-advanced-details .main-content');
    var linkestaipb=jQuery('#tabs ul li a:eq(2)').attr('href');
    jQuery(".estadis-ipb").load(linkestaipb+' #profile-advanced-details .main-content');
    jQuery(".lass-activiti").load(linkestaipb+' #profile-advanced-details .main-content.clearfix .stats-field.genmed ul li:contains("Última visita :")');
    var linkfriendipb=jQuery('#tabs ul li a:eq(3)').attr('href');
    jQuery(".friends-ips").load(linkfriendipb+' #profile-advanced-details .main-content');
    var linkcontaipb=jQuery('#tabs ul li a:eq(4)').attr('href');
    jQuery(".contact-ips").load(linkcontaipb+' #profile-advanced-details .main-content');
    }});
    $(document).ready(function(){if(jQuery('#profile-advanced-right').length){ // Script del Slider
        $(".mensajeprofile, .estadis-ipb, .friends-ips, .contact-ips") . hide();
        $('.m-info-ipb').addClass('activetab');
    $(".ipb-tab-us ul li:eq(0)").click(function(e){
            $('.ipb-tab-us li ,.co-ipb div').removeClass('activetab');
            $(this).addClass('activetab');
            $('.mensajeprofile').addClass('activetab').fadeToggle();
            $('.estadis-ipb, .m-info-ipb, .friends-ips, .contact-ips') . hide('');
            return false;
            e.preventDefault();
        });
    $(".ipb-tab-us ul li:eq(1)").click(function(e){
            $('.ipb-tab-us li ,.co-ipb div').removeClass('activetab');
            $(this).addClass('activetab');
            $('.m-info-ipb').addClass('activetab').fadeToggle();
            $('.mensajeprofile, .estadis-ipb, .friends-ips, .contact-ips') . hide('');
            return false;
            e.preventDefault();
        });
    $(".ipb-tab-us ul li:eq(2)").click(function(e){
            $('.ipb-tab-us li ,.co-ipb div').removeClass('activetab');
            $(this).addClass('activetab');
            $('.estadis-ipb').addClass('activetab').fadeToggle();
            $('.mensajeprofile, .m-info-ipb, .friends-ips, .contact-ips') . hide('');
            return false;
            e.preventDefault();
        });
    $(".ipb-tab-us ul li:eq(3)").click(function(e){
            $('.ipb-tab-us li ,.co-ipb div').removeClass('activetab');
            $(this).addClass('activetab');
            $('.friends-ips').addClass('activetab').fadeToggle();
            $('.mensajeprofile, .m-info-ipb, .estadis-ipb, .contact-ips') . hide('');
            return false;
            e.preventDefault();
        });
    $(".ipb-tab-us ul li:eq(4)").click(function(e){
            $('.ipb-tab-us li ,.co-ipb div').removeClass('activetab');
            $(this).addClass('activetab');
            $('.contact-ips').addClass('activetab').fadeToggle();
            $('.mensajeprofile, .m-info-ipb, .estadis-ipb, .friends-ips') . hide('');
            return false;
            e.preventDefault();
        });
    }});
    $(document).ready(function(){if(jQuery('#profile-advanced-right').length){
    $(".ipb-tab-us ul li:first-child > a").click(function(e){$('.co-ipb').attr('id', 'profilewall');});
    $(".ipb-tab-us ul li:first-child + li > a").click(function(e){$('.co-ipb').attr('id', 'profile');});
    $(".ipb-tab-us ul li:first-child + li +li > a").click(function(e){$('.co-ipb').attr('id', 'estadisticas');});
    $(".ipb-tab-us ul li:first-child + li +li +li > a").click(function(e){$('.co-ipb').attr('id', 'friends');});
    $(".ipb-tab-us ul li:first-child + li +li + li +li > a").click(function(e){$('.co-ipb').attr('id', 'contacto');
    });
    }});
    $(document).ready(function(){if(jQuery('#profile-advanced-right').length){jQuery('#profile-advanced-right').remove()};});
    $(document).ready(function(){if(jQuery('#profile-advanced-layout').length){jQuery('#profile-advanced-layout').remove()};});
    }
for the profiles that i use.
Do i have to remove them to stop that?
TheCrow
TheCrow
Manager
Manager

Male Posts : 6913
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

In progress Re: Request Limit Exceeded Problem

Post by Ange Tuteur May 22nd 2014, 12:45 am

That looks to run on the profiles only, that isn't too bad however, if you're going from profile to profile quickly then you'll definitely hit the request limit.

It depends : is this happening only on the profiles, and/or when you navigate from the profiles ?

Edit :

On your forum there is a script ajaxify which is sending a request to /forum every 15 seconds.
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: Request Limit Exceeded Problem

Post by Paulostge May 22nd 2014, 1:01 am

where code and it has .load or .get should delete them.
Paulostge
Paulostge
Forumember

Male Posts : 129
Reputation : 17
Language : Greek
Location : Greece

http://www.thegreeksenergy.com

Back to top Go down

In progress Re: Request Limit Exceeded Problem

Post by TheCrow May 22nd 2014, 1:06 am

Ange Tuteur wrote:That looks to run on the profiles only, that isn't too bad however, if you're going from profile to profile quickly then you'll definitely hit the request limit.

It depends : is this happening only on the profiles, and/or when you navigate from the profiles ?

Edit :

On your forum there is a script ajaxify which is sending a request to /forum every 15 seconds.
+

Yes that is the pm counter which i think i can remove!
TheCrow
TheCrow
Manager
Manager

Male Posts : 6913
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

In progress Re: Request Limit Exceeded Problem

Post by Ange Tuteur May 22nd 2014, 1:14 am

Let me know if the problem persists.

Thanks Smile
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: Request Limit Exceeded Problem

Post by TheCrow May 22nd 2014, 1:16 am

I removed it and now i will check if it continues. Thanks for your time. May this topic be open for a couple of days. Thank you.
TheCrow
TheCrow
Manager
Manager

Male Posts : 6913
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

In progress Re: Request Limit Exceeded Problem

Post by Derri May 22nd 2014, 1:19 am

The topic will remain open until you say it has been solved.
Derri
Derri
Helper
Helper

Male Posts : 8755
Reputation : 638
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum