Exceeding Shared Hosting Resources

Hey @khat17 , I originally wrote the “resources skyrocket” topic that you mentioned in your first post. I also upgraded from a self hosted V4 installation and I’ve had numerous performance issues with V5 that linger to this day. Most of the time, I’ve got it pretty stable, but an easy way on my installation to cause InvoiceNinja to lock up is to create a new invoice, click into the Item field to select an item, and boom, half the time the items show up in the autocomplete dropdown, the other half of the time, only the “New Product” text appears and server resource usage skyrockets and InvoiceNinja as well as every other website on that server becomes unresponsive for a minute or 2 while InvoiceNinja figures itself out before eventually showing the products (there’s less than 30, so should be fairly instant). There’s other times it’ll do this as well, but this is the scenario I come across most frequently that locks it up.

V4 was incredibly clean, performed amazingly, and had zero issues for the years I ran it. But V5 has some very frustrating performance hits and lockups, not made better by the fact that when you update the software, it’s really just unpacking the new code over top of the old code, and not getting rid of any old code, which is just asking for security problems. I raised this as a concern over the way V4 upgrades worked here, where you deleted all InvoiceNinja files except the .env file, then dropped in the new files, then ran the update URL. Who knows what kind of lingering old code in web accessible directories is causing any of these issues for V5.

1 Like