Ask, reply and learn. Join the community of Akaunting.
So I decided to run a fresh installation on our server instead of upgrading. Long story short I prepped the server and uploaded the files and I have even given the script 512M of memory. now with that said our server has way over 16 GB memory installed... But here is the thing: Every time we attempt to start installation it breaks the server by using up all the memory and the server slows down to "Out of memory" error: https://www.screencast.com/t/XlGylb1J14
This seems pretty crazy that a installation script uses up all the memory like this and makes the server crash. We have to delete all the files in the installation directory and reboot the whole server to make this ago away. One that is done our server runs fine as it usually does.
But if we attempt to run the installation of Akaunting again, it all starts over again.
We are also using PHP7.3 and the server has also 6 cores and as mentioned 16GB of memory so it's not a cheap hosted server...
What version you are trying to run? 208? what storage/logs reports?
1.) What version you are trying to run?
Akaunting_2.0.10-Stable.zip
2.) what storage/logs reports?
None, because Akaunting is never installed. So no logs exists.
As mentioned before; the installation script just eat up all the memory while attempting to load the installation wizard, but never completes.
The browser just hangs on on loading the installation wizard/is white/bank screen; meanwhile the script just eats up all the memory on our server and crashes it.
It first goes away completely after we have deleted all the files (installation files in the Akaunting_2.0.10-Stable.zip), in the root.
And we also have to reboot the whole server. Once that is down all our websites and systems becomes operational again.
So we made some restrictions to global php and set it to 128M and then re-uploaded the installation files and prepped our server and hit enter in the browser to load the installation script...
Well this is crazy; within a few seconds the Akaunting installation script floods the server memory from just using 15% of the 16 GB server memory (about 3 GB) and runs the server out of memory, screenshot: https://www.screencast.com/t/G8metyh6PW8z
We will try to restrict to only 64M and see if that will do any difference.
So after deleting the files again from Akaunting_2.0.10-Stable.zip the server instantly regains normal operation and uses only:
Memory Used 12.88% (2,119,976 of 16,460,620)
Screenshot:
https://www.screencast.com/t/ilvaVhXRHp
Set it to 32M (local) and it still manages to kill and crash the server:
Service Version Status
clamd up
cpanellogd up
cpdavd up
cpsrvd up
crond up
dnsadmin up
exim down
ftpd x.x.xx up
httpd x.x.xx up
imap x.x.xx up
ipaliases up
lfd down
lmtp up
mailman x.x.xx pending
mariadb x.x.xx down
nscd x.x.xx down
pop x.x.xx down
queueprocd up
rsyslogd x.x.xx down
spamd x.x.xx up
System Information
System Item Details Status
Server Load 6.613281 (6 CPUs)
This is instantly after we managed to access ftp and start deleting the installation files (Akaunting_2.0.10-Stable.zip), still in process of deleting them as I type this. As you can see it not only crashes the server because it runs out of memory, it also manage to kill critical processes such as database server and much more. (version number has been altered to x.x.xx for security reasons)
This is.. bonkers.. and should not be this way.
I hope there is a solution to this.
Please advice.
Thank you.
@akaunting-team.
We do have now a error log file which is full of exceptions/fatal php errors . Contact us if you like to review it for debugging purposes..
I will not post this here in public for the obvious reason of security.
Thank you.
I could try help if you post these fatal errors, you got to hide the sensitive data
The installation script is bugged somehow.
We also talked to the company we use to operate our own server (Not a cheap shared server, but a private server and owned by us) and they confirm something is very wrong with the installation script. It starts up and instantly floods and overwhelms the server with a ton of PHP processes.
Below is a just a small sample of all the processes Akaunting starts up when you start the installation script:
(Pastebin: https://pastebin.com/mgTZt9LJ)
EDIT: removed long copy-paste
One thing more to mention is that if you do not delete the installation files, it starts to instantly flood the server again after you reboot the server and once again crashes it. So you have to as fast as possible which the server is still contactable to use FTP and delete the installation files or it will run of out of memory again... So for some reason the script starts processes again once the server is restarted which is not normal either.
Showing 1 to 10 of 21 discussions