Score:0

how to clear crontab ubuntu cache memory

aq flag

I started my server and configured the server without cPanel or direct admin. And to run queues in Laravel, I need to run cron, so I wrote the desired command in cron and everything works fine. Until I noticed that cron is consuming too much RAM, while the execution of this queue is very light and is done every 5 minutes. Now my question is how can I free up the RAM, thanks memory usage in crontab - please check this

in this example memory usage equal 1.7 Gig. now how to clear memory usage?

hr flag
Your systemctl status output also shows that cron is running 192 tasks - is that what you expect? Are you perhaps starting jobs faster than they are able to complete?
johnDoe220 avatar
aq flag
No. Only I run a queue that may have several queues based on user activities. But still it will not be 192!
Score:0
aq flag

I noticed that the memory usage is not cleared by any method and only by rebooting. I hope it helps others

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.