• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: CMSMS outbound connections to itself vs webhosting rules
PostPosted: Mon May 07, 2018 6:20 pm 
Offline
Forum Members
Forum Members

Joined: Fri Jan 06, 2017 3:54 pm
Posts: 16
Hello,
I am currently experiencing a problem with 2 websites hosted on OVH shared hosting located in the Gravelines data center.
At times, I can have up to one query on 20 which returns me an incomplete loaded page, a blank page or a "502 Gateway Time-out" or "504 Gateway Time-out" error.

HTTP requests, SQL requests and CPU usage are very low for those websites.
The support tells me that the problem could come from the outgoing connections used by CMSMS.
It's true that CMSMS (since version 2.2) creates outbound connections to itself to trigger the asynchronous processing.
But the support tells me it's a typical attack behavior and their systems could slow down these calls when they are too many.
They ask me if CMSMadeSimple has no other way to trigger asynchronous processing? And they find very strange to make a synchronous call to start asynchronous tasks.

I can not believe these outgoing connections are a problem.
In the logs, I once found 2 simultaneous outgoing connections, but in principle it is maximum 1 outgoing connection every 3 minutes with an average of 380 connections per day. Is it really too much?

Has anyone ever encountered a similar problem?
Would it be possible to trigger the asynchronous processing without outbound connections?

Thanks.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: CMSMS outbound connections to itself vs webhosting rules
PostPosted: Tue May 08, 2018 2:51 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Feb 25, 2009 4:25 am
Posts: 742
Location: Victoria, BC
I don't know the answers to most of your questions, but you can change the frequency with a config setting:

https://docs.cmsmadesimple.org/configur ... _asyncfreq

I think Calguy would need to answer the rest.

_________________
Not getting the answer you need? CMSMS support options


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: CMSMS outbound connections to itself vs webhosting rules
PostPosted: Tue May 08, 2018 4:23 pm 
Offline
Forum Members
Forum Members

Joined: Fri Jan 06, 2017 3:54 pm
Posts: 16
Thank you DIGI3 for this first answer. I will test. I didn't think it was possible to change the asynchronous process jobs frequency.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting