[Vtigercrm-developers] Marketplace down - causing Slowdown
Martin Allen
martin.allen at exe-squared.co.uk
Thu Apr 24 09:55:24 GMT 2025
Glad to hear the new setup is up and running, and from our side we’ve had no more issues with this reported recently so it would all appear to be working !
From: vtigercrm-developers-bounces at lists.vtigercrm.com <vtigercrm-developers-bounces at lists.vtigercrm.com> On Behalf Of Varma Namburi
Sent: 24 April 2025 08:13
To: vtigercrm-developers at lists.vtigercrm.com
Subject: Re: [Vtigercrm-developers] Marketplace down - causing Slowdown
Hi Martin, Alen,
Apologies for the delayed follow-up — and Martin, thank you for highlighting the issue.
As you mentioned, the delay was caused by the getNews() function in Modules/Users/views/Login.php, which was waiting on an external response that didn’t arrive. The login page only continued once the curl->exec() call timed out, leading to a brief window of 503 errors for new logins. Users already logged in were unaffected.
Over the past few weeks, we investigated the issue, tested application-level adjustments, and finally implemented infrastructure-level caching for a more scalable and reliable solution. We also monitored the changes closely to ensure stability.
Here’s what we put in place:
* DNS-layer caching, with tuned TTLs to speed up resolution
* Edge caching for the News API (including JSON), so external delays don’t block login
Since making these updates, the system has been performing consistently well, with no recurrence of the 503 errors.
For example : In the last 7 days alone, over 94% of requests — including 16M+ JSON responses from /api/app/news - were served directly from cache. This has greatly reduced backend news API server load and improved response times.
We’d really appreciate it if you could review from your end and share any feedback. Your early report helped us narrow this down quickly — thanks again!
On Sat, Mar 8, 2025 at 10:12 PM Varma Namburi <varma at vtiger.com<mailto:varma at vtiger.com>> wrote:
Hi Martin, Alen,
This is Varma Namburi from the Vtiger Team.
Sorry for the delay, and thanks for your patience! We really appreciate you bringing this up. We've noted the impact of the getNews() function call and are reviewing it internally to explore ways to make the login page more resilient in cases like this.
We're actively looking into this and will follow up with any updates. Thanks again for your insights and for bringing this to our attention!
On Fri, Mar 7, 2025 at 8:09 PM Martin Allen <martin.allen at exe-squared.co.uk<mailto:martin.allen at exe-squared.co.uk>> wrote:
It was down for about 5 minutes, then went to responding with a 503 response, then came back up normally very shortly after.
Worth looking at the code in Modules/Users/views/Login.php and specifically the getNews() function call.
Basically it was waiting for a response that didn’t come, so only continued when the curl->exec() call timed out.
Anyone already logged in was unaffected - and as all our monitoring is just checking the login page, we had LOTS of alarm bells ringing for a short time!
-----Original Message-----
From: vtigercrm-developers-bounces at lists.vtigercrm.com<mailto:vtigercrm-developers-bounces at lists.vtigercrm.com> <vtigercrm-developers-bounces at lists.vtigercrm.com<mailto:vtigercrm-developers-bounces at lists.vtigercrm.com>> On Behalf Of Alan Lord
Sent: 07 March 2025 13:35
To: vtigercrm-developers at lists.vtigercrm.com<mailto:vtigercrm-developers at lists.vtigercrm.com>
Subject: Re: [Vtigercrm-developers] Marketplace down - causing Slowdown
All seems OK for me...
Al
On 07/03/2025 13:23, Martin Allen wrote:
> Looks like marketplace.vtiger.com<http://marketplace.vtiger.com> is down – and this is causing the
> vTiger login view to be incredibly slow on every single installation
> we look after!
>
> *Martin Allen*
>
> *Exe Squared Ltd*
>
> 01392 690659 (Direct)
> 01392 248692 (Main Office)
>
> **
>
> The information in this email is confidential If you are not the
> intended recipient, you must not read or use that information. This
> email and any attachments are believed to be virus free however no
> responsibility is accepted by Exe Squared Ltd for any loss or damage
> arising in any way from receipt or use thereof. Exe Squared Ltd
> Company Reg Number 12185709, is based at Silverdown Park, Fair Oak
> Close, Exeter Airport Business Park EX5 2UX.
>
>
> _______________________________________________
> http://www.vtiger.com/
_______________________________________________
http://www.vtiger.com/
_______________________________________________
http://www.vtiger.com/
--
Thanks & Regards,
Varma.
VtigerTeam.
Connect with us on: Twitter<http://twitter.com/#%21/vtigercrm> I Facebook<http://www.facebook.com/pages/vtiger/226866697333578?sk=wall> I Blog<http://blog.vtiger.com/> I Wiki<http://wiki.vtiger.com/index.php/Main_Page> I Forums <http://forums.vtiger.com/> I Website<http://vtiger.com/>
--
Thanks & Regards,
Varma.
VtigerTeam.
Connect with us on: Twitter<http://twitter.com/#%21/vtigercrm> I Facebook<http://www.facebook.com/pages/vtiger/226866697333578?sk=wall> I Blog<http://blog.vtiger.com/> I Wiki<http://wiki.vtiger.com/index.php/Main_Page> I Forums <http://forums.vtiger.com/> I Website<http://vtiger.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20250424/c22985eb/attachment-0001.html>
More information about the vtigercrm-developers
mailing list