We have some python scripts that we use to get all the users in fusionauth. There are less than 600 users. If we try to get them all at one time or too large a page size fusionauth crashes with an out of memory error and is non responsive. We tried upping our memory on the server but still crashes. We are running it as a docker container in aws and tried with 1gb and 2gb of memory.
Once the error occurs we need to re run the task to get it back up. Is this expected behavior?
P
Best posts made by paul.fink
-
Fusionauth crashes after search for users
-
Performance issues after upgrade
Hi,
We upgraded from 1.40.2 to 1.41.3 and are seeing massive performance issues. Everything is very slow. Signing in, clicking on any pages in the admin side takes several seconds. Doing an api call to get a user takes over 6 seconds.
The only error in the logs I am seeing is this one:
2022-11-25T07:54:57.944-07:00 java.io.IOException: Broken pipe 2022-11-25T07:54:57.944-07:00 at java.base/sun.nio.ch.FileDispatcherImpl.writev0(Native Method) 2022-11-25T07:54:57.944-07:00 at java.base/sun.nio.ch.SocketDispatcher.writev(SocketDispatcher.java:66) 2022-11-25T07:54:57.944-07:00 at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:217) 2022-11-25T07:54:57.944-07:00 at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:153) 2022-11-25T07:54:57.944-07:00 at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:563) 2022-11-25T07:54:57.944-07:00 at java.base/java.nio.channels.SocketChannel.write(SocketChannel.java:642) 2022-11-25T07:54:57.944-07:00 at io.fusionauth.http.server.HTTPServerThread.write(HTTPServerThread.java:298) 2022-11-25T07:54:57.944-07:00 at io.fusionauth.http.server.HTTPServerThread.run(HTTPServerThread.java:158)
We run this in a docker container in aws. I have tried running more instances of it but that did not change anything. CPU load will get high if anyone tries to do more than one thing with the system. Memory stays the same. Any ideas on what we can do or what changed?