504 Gateway Timeout and CPU 100% (again)

I already purchased the Moralis Optimum Server.
But today I still get the 100% CPU problem.

I emailed [email protected] 6 hours ago but don’t get any response. (Ticket 68930)
I really need some way to quickly contact to technical support. My Dapp is hanged and no one can use, and I don’t know how to get support.

1 Like

can you share your server subdomain/url?

My server subdomain is: https://atl5nkrrpg3m.usemoralis.com:2053/server

is this a production server? it doesn’t look like it is an upgraded server, and it looks like the CPU is in 100%

Yes, it is our mainet server. We purchased an upgraded server for our testnet server, and after 1 week of running on testnet, we moved to mainnet.

2 days ago, I asked the question about switching my upgraded license. You can check this question: 504 Gateway Timeout and CPU 100%

Ivan told me that I need to email [email protected],
But today, when I mail, no one reply me.

@cryptokid, to summarize:

Our testnet server is https://e4xixc3alpov.usemoralis.com:2053/server
This testnet server has been upgraded.

Today, I stop using the testnet server and move to mainnet. Our mainnet server is: https://atl5nkrrpg3m.usemoralis.com:2053/server
Which is the fastest way to get my mainnet server upgraded?

Hi @nkduong , I believe I got back to you via email. I see you mention the same server url as in email.

Let’s move there, and we can close this thread.

Thanks! :slight_smile:

@kresimir thank you so much for your quick response!


Thank you for your support. But after upgrading to the production server, I still got 504 errors sometimes.

Can Moralis offer a higher plan for our dapp?

@cryto, can you help me check if this server is correctly upgraded ?

We still experience 100% CPU, and a lots of user complain :frowning:

your server is upgraded now, but it uses all the processor cores in 100% with Moralis Server. maybe you need to optimise some processing

if you don’t need historical sync and if it is enabled, you could disable it

We use account.getNFTs regulary, does that mean we can disable historical sync.

And is there a way we can upgrade the processor core to the level we needed?

you can upgrade further the processing power if you want

account.getNFTs seems to be a web3api call that doesn’t use local Moralis Server db
if you don’t query data in your Moralis Server db about your users, than you can disable historical sync

As I read in this post: https://ethereum.stackexchange.com/questions/98233/how-to-find-all-erc721-compliant-nfts-owned-by-an-address-web3-js

account.getNFTs is connect to Moralis Server, so we cannot turn of that function.

We still want to upgrade both our servers (mainnet and testnet) to a better capacity. Can you tell me how can I do this?

if you are using this: https://docs.moralis.io/moralis-server/web3-sdk/account#getnfts
as in Moralis.Web3API.account.getNFTs then this is a web3api call made to Moralis, that uses Moralis Server, but it doesn’t make a query in local Moralis Server db to get the data. It makes a query similar to what you would do to deep-index api on https://admin.moralis.io/web3Api

@kresimir can help you in upgrading the server further


  • Thank for your information. We are turning off that function and checking the result.

We want to upgrade both of our servers to production level, and with better CPU processing. Please tell me the detail.

now it looks like the processor usage it low, everything works fine?

I still have some lag. It will be better if I can upgrade my server to higher level. Still waiting for @kresimir feedback.

Thanks for the update @nkduong. I was just waiting for your feedback if everything is working well now.

I’ve just sent you an email with details. :slight_smile: