Domain gets suspended every night

Soneritics

New member
Joined
Dec 22, 2024
Messages
2
Hi,

I have a new DirectAdmin installation (version ).

The problem is that a domain is being suspended every night.
This server is setup mainly for this domain and it has quite some resources. The main focus is to keep this one online, other domains are just supportive to that one.
The main domain has been added under the admin user.

Some longer running (PHP) scripts are running every night, which consume quite some CPU power.


I have a message in DA stating that the load average is high (15+)
Also a mail has been sent: lfd on *****: Excessive resource usage: admin (709433 (Parent PID:709421))



Under User -> 'Domain setup', my domain status is suspended every morning/night.
There is not much bandwidth/disk usage.

The domain's bandwidth and disk usage are set to 0, so it should be unlimited.


In Admin -> Server Manager -> Administrative settings -> Admnistrator settings:
- Overselling allowed
- Suspend a reseller and users -> inactive


In Admin -> Server Manager -> Administrative settings -> Server settings
- I disabled 'check usage' (did not solve the problem)


How can I prevent DA from suspending my domain?
 
Check usage is not for CPU usage if not resource of the account.

If you have CSF installed check it and find about load usage.
 
CSF is installed, but I already disabled PT_USERKILL.
In the logs, only some processes are being killed and some ssh failed logins are blocked.

But even when a user would be disabled by CSF, would that also disable a domain (not a user) in DirectAdmin?


Also, going to through the logs, I found the /var/log/directadmin/system.log file with some interesting log lines:

2024:12:22-00:10:57: Tally All Begin
2024:12:22-00:10:57: Tally Reseller admin Begin
2024:12:22-00:10:57: Tally User admin Begin
2024:12:22-00:10:57: Domain *** has been suspended for user admin with 154.653838 used of 0.000000
2024:12:22-00:11:07: Tally User admin Complete
2024:12:22-00:11:07: Tally Reseller admin Complete
2024:12:22-00:11:07: Tally All Complete
2024:12:22-00:11:56: httpd reloaded

I am not sure what Tally does?
 
CSF not going to suspend anyuser just kill the problematic process.

Check system.log and errortaskq.log if you see anything strange.

Bash:
tail -n 100 /var/log/directadmin/system.log
Bash:
tail -n 100 tail -n 10 /var/log/directadmin/errortaskq.log

Also Investigate brute force log entries.

Bash:
ls -lah /usr/local/directadmin/data/admin/brute_*

If the brute_log_entries.list file is large then delete it.
 
2024:12:22-00:10:57: Domain *** has been suspended for user admin with 154.653838 used of 0.000000
To me this looks as if the "unlimited" is not working. Try to set the unlimited to 9999999 and see if it suspends again or if it keeps working.
If it keeps working then it seems like a bug and you might want to send in a support ticket.
 
As 2 Unlimited once said 🎶No no, no no no no, no no no no, no no there's no limit🎶- but in this case, there was.... A big, fat, 0! D'oh
 
Not just set as "0", you must tick in checkbox ("unlimited").
I checked that yesterday, but oddly enough I only see that checkbox in the enhanced skin. Or I'm looking at the wrong place.
Was already wondering why this box was not in Evo. So I'm probably not looking correctly.
 
Thanks, I don't know where I was looking yesterday. I've seen only 0 and MB at the end not in front.
Can't find it anymore but indeed I can find unlimited now, thanks.

But unlimited should be ticked indeed.
 
Back
Top