Back

[SOLVED] Functions Timing out

  • 0
  • Self Hosted
  • Functions
  • Web
Drake
14 Jul, 2023, 20:45

those process factory errors are quite odd...do you have something in front of appwrite that's maybe closing the connection?

TL;DR
Title: [SOLVED] Functions Timing Out Summary: The issue was due to using an instance with insufficient resources. The person recommends using Sentry to identify the error. They later realize that their own code was causing the problem and mark the issue as resolved. DigitalOcean is mentioned as a possible cause for the timing out issue, and it is suggested to upgrade to a minimum of 2GB memory. It is also mentioned that process factory errors could be related to a connection being closed by something in front of Appwrite. Solution: Upgrade the instance to at least 2GB memory on DigitalOcean. Check for any processes or connections
Kenny
14 Jul, 2023, 20:45

No, I did the one click thing on digital ocean. Since then all I've done was update it.

Kenny
14 Jul, 2023, 20:45

Though I have no updated in a few weeks.

Kenny
14 Jul, 2023, 20:46

This is the specs I have on my droplet

Drake
14 Jul, 2023, 20:47

that's technically not supported 👀. you need at least 2GB memory

Kenny
14 Jul, 2023, 20:47

oop

Kenny
14 Jul, 2023, 20:47

Could that be the issue

Drake
14 Jul, 2023, 20:47

possibly ya.

Kenny
14 Jul, 2023, 20:48

I'll upgrade now then.

Kenny
14 Jul, 2023, 20:49

Sufficient?

D5
14 Jul, 2023, 20:49

Not sure, but probably yes

D5
14 Jul, 2023, 20:49

At least that meets minimum requirements

D5
14 Jul, 2023, 20:50

So I think it should be fine for small loads

Kenny
14 Jul, 2023, 20:50

I'll I'm doing is hoarding my spotify plays :P So I don't really think I need anything massive.

D5
14 Jul, 2023, 20:52

Is that digitalocean?

Kenny
14 Jul, 2023, 20:54

yes

Kenny
14 Jul, 2023, 20:54

I don't know much about this type of stuff /: So if theres something better I should be choosing let me know :)

Kenny
14 Jul, 2023, 20:57

I still do get the timing out issue.

D5
14 Jul, 2023, 21:39

I think DO is expensive, but has good performance

Kenny
14 Jul, 2023, 22:18

I believe this was my fault with some bad code, so I'm going to mark this resolved.

Kenny
14 Jul, 2023, 22:19

[Solved] Functions Timing out

Kenny
14 Jul, 2023, 22:19

[SOLVED] Functions Timing out

D5
14 Jul, 2023, 22:38

I see

D5
14 Jul, 2023, 22:38

I recommend using sentry to see what error you're committing

D5
14 Jul, 2023, 22:39

But anyways, you're using an instance that has less resources than the minimum required, so I think that could give you problems

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more