I have a postGIS database and tomcat8 with Geoserver installed in my raspberry pi model 3b running Ubuntu MATE.
The problem is, geoserver runs really slow, and I mean really slow. It takes up to 15 minutes to load just the presentation view in 127.0.0.1/geoserver.
This is not really an inconvenient anyway, since it's already configured (took forever), but since this is a service I have to use online for a map-based application, it's certainly not good.
We (my team) are working with leaflet, angular and spring, complementary to postgres and the geoserver for the layers. It takes literally 5 to 10 minutes to load the map every time a user moves through it or just zooms in/out.
I have no idea why, connection is good 100mbps up/down, the rest of the tomcat apps are running allright, it doesn't even have any load, it's 2 users at the same time max.
top
orhtop
on it and see if its CPU-bound or out of real RAM? How much RAM does it have? What's the disk arrangement? I had a very slow Pi backup server that sped up x100 when I mounted the external USB with `noatime' options.