CAISC
Verified User
Hello,
Note - I am already running apache 2.4.51, so bug related to apache 2.4.52 is not the issue in my case.
I am facing strange issue, on Direct Admin server Apache goes unresponsive/unreachable randomly after 30 mins to 2 hours (random times) during Direct Admin tally update cron run.
I have to restart apache to make all sites start working. But it keep going unresponsive/unreachable atleast 2 to 4 times during the time tally update cron is running. Tally update cron runs for approx 3 hours on server and during those 3 hours this issue keeps on occuring are random time intervals.
Once Tally update is over all keeps working fine.
It appears server runs out of resources like RAM during the Tally cron run, how do I limit the Tally cron run on RAM usage and make sure it runs for longer duration with low resource usage. Server load seems to be normal during the time cron is running, but I do get very high load warning 1-2 times after the cron run completes. May be its updating the data for all accounts.
Its an 32 core AMD CPU server with 128GB RAM.
This is the cron that's creating problem when running -
10 0 * * * root echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
As per DA support team recommendation I added nice parameter in query -
10 0 * * * root echo 'action=tally&value=all' >> /usr/bin/nice -n 5 /usr/local/directadmin/data/task.queue
But then it appears cron update never finishes, because even after waiting 48+ hours Server Statistics tally is not updated, and shows same old date for "Last Tally Completion"
Appreciate help from experts in this matter.
Thanks
Note - I am already running apache 2.4.51, so bug related to apache 2.4.52 is not the issue in my case.
I am facing strange issue, on Direct Admin server Apache goes unresponsive/unreachable randomly after 30 mins to 2 hours (random times) during Direct Admin tally update cron run.
I have to restart apache to make all sites start working. But it keep going unresponsive/unreachable atleast 2 to 4 times during the time tally update cron is running. Tally update cron runs for approx 3 hours on server and during those 3 hours this issue keeps on occuring are random time intervals.
Once Tally update is over all keeps working fine.
It appears server runs out of resources like RAM during the Tally cron run, how do I limit the Tally cron run on RAM usage and make sure it runs for longer duration with low resource usage. Server load seems to be normal during the time cron is running, but I do get very high load warning 1-2 times after the cron run completes. May be its updating the data for all accounts.
Its an 32 core AMD CPU server with 128GB RAM.
This is the cron that's creating problem when running -
10 0 * * * root echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
As per DA support team recommendation I added nice parameter in query -
10 0 * * * root echo 'action=tally&value=all' >> /usr/bin/nice -n 5 /usr/local/directadmin/data/task.queue
But then it appears cron update never finishes, because even after waiting 48+ hours Server Statistics tally is not updated, and shows same old date for "Last Tally Completion"
Appreciate help from experts in this matter.
Thanks