wfitg Posted October 3, 2014 Report Posted October 3, 2014 First the data: LFD.log I have a couple dozen of these in the lfd.log: Kill:0 User:wfitg VM:285(MB) EXE:/home/virtfs/wfitg/usr/bin/php /home/wfitg/public_html/backend/index.php cron And emails from lfd: Resource: Virtual Memory Size Exceeded: 285 > 200 (MB) Executable: /home/virtfs/wfitg/usr/bin/php Command Line: /usr/bin/php /home/wfitg/public_html/backend/index.php cron PID: 28803 (Parent PID:28802) Questions: Is this memory use normal? Could the warning threshold be too low? Could this be brute force? Is anyone else having high mem use + cron? Quote
0 Blesta Addons Posted October 3, 2014 Report Posted October 3, 2014 for me is normal . you must increase the memory limit in CSF to 350 or 400Mb . normal just for cronjob , if you have small database with small services/clients/ then this shouldbe some more invistigation . wfitg 1 Quote
0 wfitg Posted October 4, 2014 Author Report Posted October 4, 2014 for me is normal . you must increase the memory limit in CSF to 350 or 400Mb . normal just for cronjob , if you have small database with small services/clients/ then this shouldbe some more invistigation . Small database. What to look for? Quote
0 Blesta Addons Posted October 4, 2014 Report Posted October 4, 2014 what about the time ? if this procces in not taking a long time so is normal . Quote
0 wfitg Posted October 4, 2014 Author Report Posted October 4, 2014 what about the time ? if this procces in not taking a long time so is normal . *LOAD* 5 minute load average is 7.65 Quote
0 Michael Posted October 4, 2014 Report Posted October 4, 2014 Could be a mysql Issue: can you check the logs? wfitg 1 Quote
0 Joseph H Posted October 4, 2014 Report Posted October 4, 2014 I had that Issue once, but for me It was caused by backup attempts that always kept on failing. I believe it's not the cron It'self that's causing the High Memory usage rather that the tasks that failed long running tasks. You can try to check If your back ups are running or set to run, disable them and observe You can change php version back and forth just to refresh the Memory usage: (Just a trick i learned during the hard times ) wfitg 1 Quote
0 wfitg Posted October 4, 2014 Author Report Posted October 4, 2014 I have spaced out the time intervals under settings/automation. I had several settings running every 5 minuets. I noticed there was a spike at around 3pm. This is when the load was the heaviest. Deliver ReportsA/R, Invoice Generation, Tax Liability, and other reports will be delivered daily at the time specified. I set this to run overnight instead of 3pm. Hopefully changing the settings for each task will reduce the memory being used Quote
0 Joseph H Posted October 4, 2014 Report Posted October 4, 2014 I have spaced out the time intervals under settings/automation. I had several settings running every 5 minuets. I noticed there was a spike at around 3pm. This is when the load was the heaviest. I set this to run overnight instead of 3pm. Hopefully changing the settings for each task will reduce the memory being used Absolutely .... But just try to check If there were any failed attempts from the logs. wfitg 1 Quote
Question
wfitg
First the data:
LFD.log
I have a couple dozen of these in the lfd.log:
Kill:0 User:wfitg VM:285(MB) EXE:/home/virtfs/wfitg/usr/bin/php /home/wfitg/public_html/backend/index.php cron
And emails from lfd:
Resource: Virtual Memory Size
Exceeded: 285 > 200 (MB)
Executable: /home/virtfs/wfitg/usr/bin/php
Command Line: /usr/bin/php /home/wfitg/public_html/backend/index.php cron
PID: 28803 (Parent PID:28802)
Questions:
Is this memory use normal?
Could the warning threshold be too low?
Could this be brute force?
Is anyone else having high mem use + cron?
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.