HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Website using ocPortal has become ridiculously slow

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#104432 (In Topic #20397)
Avatar

Fan in training

Hi,

I've been using ocPortal for my website since 2011, and in the past month or so it suddenly became ridiculously slow to the point where it times out or can take up to 5 minutes just to load the home page. I know it isn't my web host, because all other areas of my site unrelated to ocPortal are loading perfectly fine.

The login has given me a number of notifications such as:

"A problem has been detected with your web server that may cause your login to fail – if it does, click back and read the rest of this message. Some servers are poorly configured, and invisibly redirect traffic from one URL to another, and this invisible redirection results in lost submitted form data. Try changing your base URL in the config editor so that it doesn't contain www. then come back to this URL (make sure to refresh the page) and try again. There can be other causes, such as your server blocking web requests to itself. If problems persist, contact your web host."

When I follow this suggestion the next login will say:

A problem has been detected with your web server that may cause your login to fail – if it does, click back and read the rest of this message. Some servers are poorly configured, and invisibly redirect traffic from one URL to another, and this invisible redirection results in lost submitted form data. Try changing your base URL in the config editor so that it contains www. then come back to this URL (make sure to refresh the page) and try again. There can be other causes, such as your server blocking web requests to itself. If problems persist, contact your web host.


I also received another prompt which suggested I check off a setting that indicates I'm on a server with firewall or redirecting ips... I've followed all of these suggestions but it has not changed the speed.

I have the latest updated version of ocPortal installed as well.

The website in question is http://www.negaverse.net.


Back to the top
 
Posted
Rating:
#104433
Avatar

Are all the caches all turned on?

One thing that can cause a problem is the 404 page. If you have the .htaccess set to show an ocPortal sitemap for 404 pages (and you do) and if bots are hammering on broken links, that can cause a real slow-down, especially if caches aren't on.
Try taking the 404 bit out of the .htaccess file.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#104442
Avatar

Fan in training

Hi Chris,

I went into my .hta access and deleted the 404 error code.

I also went into my info.php and changed the following to "1":

$SITE_INFO['use_mem_cache']='1';
$SITE_INFO['fast_spider_cache']='1';

Are those all of the caches or can I change more?
Back to the top
 
Posted
Rating:
#104443
Avatar

Look in /adminzone/?page=admin_config, the Site Options category I believe. You should find a whole group of cache options in there.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#104445
Avatar

Fan in training

I tried to get to the admin page but I keep getting internal server errors or this notification:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 2758512 bytes) in /home/vappy/negaverse.net/sources/caches_filesystem.php on line 71

Is there a way I can modify caches via ftp?
Back to the top
 
Posted
Rating:
#104446
Avatar

Ah, put back to this please:
$SITE_INFO['use_mem_cache']='0';

Your server doesn't have a shared memory cache and we don't support the disk-based method because it usually hurts performance more than helps it.

That error may be a clue as to your problem though.

If you can't find an obvious cache setting problem feel free to open a bug report ticket with server access and I'll have a look myself.
https://ocportal.com/site/tickets/ticket.htm?ticket_template=bug&cost=free


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#104447
Avatar

Fan in training

Okay, back into admin settings and checked off all the caches in the settings. It's still pretty pokey though, so I guess I'll have to proceed with a bug report.

Back to the top
 
Posted
Rating:
#104451
Avatar

If you post the ticket I will try and do it Wednesday, assuming we're not bombarded with other support tickets over night ;).

We added a special kind of performance profiler into the latest patch release, so I will probably try running that and see what it says.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#104487
Avatar

Ok…

"Spammer checking level" was set to "Every page view"

And…

The server's DNS resolution is broken, and DNS resolution is what powers the RBL checks. It can do some DNS, but my best guess is the TCP DNS port is being firewalled somewhere in the DNS chain your server is using. Instead of failing cleanly, it sits around for 28 seconds before timing out. Most DNS works over UDP, but sometimes TCP is used, which would explain why it has been missed for only some cases. Alternatively, there could be a routing problem, or specific DNS servers being whitelisted or blacklisted.

I have turned "Spammer checking level" down to "Never".


Last edit: by Chris Graham


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: