Got 500 Internal Server Error sometime #531
-
I have photon on 4 GB RAM, 2 vCPUs, 80 GB SSD Ubuntu server. Then I have created a systemctl service to run the photon-*.jar (photon-0.3.4.jar). Then I have Nginx reverse proxy to serve the photon as a domain. But the server returns 500 Internal Server Error sometime. and after few seconds it works as expected. Some time the nginx default 500 errors. Even when no requests the Metrics Graphs (AWS Lightsail) shows (6-7 % CPU uses) Is there any better way that I should have configured? Do I need some more powerful server? I am using it for map data of Nepal, .pbf file size: 262 MB. If its using the single core, any suggestion on using available cors? other than that worked like a charm. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 13 replies
-
How do you start photon? E.g. which Xmx setting are you using? |
Beta Was this translation helpful? Give feedback.
How do you start photon? E.g. which Xmx setting are you using?