P
postcd
Guest
Hello,
on a dedicated server i am using a bash script like this: https://github.com/slrslr/linux-bas...pses-access-logs/blob/master/vpslogscanner.sh
I believe it not returned any errors "Unable to fork: Cannot allocate memory" when it was executed.
But now, when i execute it, i see this "Cannot allocate memory" error.
I do free -m before it and after it and i see there is plenty of free RAM (when i not count cache):
it is not first time i am having trouble with this error, so it probably is not just "bad" commands executed from the bash script.
Please what should i do to discover the cause, why this happens?
on a dedicated server i am using a bash script like this: https://github.com/slrslr/linux-bas...pses-access-logs/blob/master/vpslogscanner.sh
I believe it not returned any errors "Unable to fork: Cannot allocate memory" when it was executed.
But now, when i execute it, i see this "Cannot allocate memory" error.
I do free -m before it and after it and i see there is plenty of free RAM (when i not count cache):
it is not first time i am having trouble with this error, so it probably is not just "bad" commands executed from the bash script.
Please what should i do to discover the cause, why this happens?