[GH-ISSUE #523] App crashes on fly.io deployment. #336

Closed
opened 2026-02-25 20:35:29 +03:00 by kerem · 1 comment
Owner

Originally created by @doloresjose on GitHub (Nov 4, 2021).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/523

The docker image gets deployed successfully and the landing page is loaded, but when a search request is sent it just crashes and throws ERROR 502.
image

I think due to the limited ram availability the app crashes i am using v0.6.0, a screen cap of ram usage and app log is attached below.
image

APP LOGS

Originally created by @doloresjose on GitHub (Nov 4, 2021). Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/523 The docker image gets deployed successfully and the landing page is loaded, but when a search request is sent it just crashes and throws ERROR 502. ![image](https://user-images.githubusercontent.com/62073313/140419491-97b6de69-1562-4ee1-9ffa-23b2a0d5fb9d.png) I think due to the limited ram availability the app crashes i am using v0.6.0, a screen cap of ram usage and app log is attached below. ![image](https://user-images.githubusercontent.com/62073313/140419715-e395f523-a1a6-44b6-96b8-1dd62a60b63a.png) [APP LOGS](https://pastebin.mozilla.org/ANtg9Mfb)
kerem closed this issue 2026-02-25 20:35:29 +03:00
Author
Owner

@benbusby commented on GitHub (Nov 7, 2021):

That seems like a weird amount of memory used by a docker deployment. Running the container locally the app peaks at ~70MB, so I'm not sure why an instance deployed with fly.io is using this much memory. It should definitely run comfortably within the 256MB limit in fly.io's free tier.

Are you running more than one app on fly.io? That could potentially cause issues since memory is shared between multiple apps. Otherwise I'm at a loss for why it would be using so much more memory on their platform than elsewhere on other platforms.

Moving to a discussion for now, since this seems to potentially be an issue on fly.io's side.

<!-- gh-comment-id:962658648 --> @benbusby commented on GitHub (Nov 7, 2021): That seems like a weird amount of memory used by a docker deployment. Running the container locally the app peaks at ~70MB, so I'm not sure why an instance deployed with fly.io is using this much memory. It should definitely run comfortably within the 256MB limit in fly.io's free tier. Are you running more than one app on fly.io? That could potentially cause issues since memory is shared between multiple apps. Otherwise I'm at a loss for why it would be using so much more memory on their platform than elsewhere on other platforms. Moving to a discussion for now, since this seems to potentially be an issue on fly.io's side.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whoogle-search#336
No description provided.