Tallying/Restarting httpd?

voxxitdesigns

Verified User
Joined
Apr 9, 2005
Messages
48
Hey guys,

Why is it that DirectAdmin restarts httpd every time tallying users is complete?

Code:
2008:07:18-09:10:01: Tally All Begin
2008:07:18-09:10:01: Tally Reseller admin Begin
...
2008:07:18-09:10:03: Tally User admin Begin
2008:07:18-09:10:10: Tally User admin Complete
2008:07:18-09:10:10: Tally Reseller admin Complete
2008:07:18-09:10:10: Tally All Complete
2008:07:18-09:11:03: httpd restarted

Is there any way to change this behavior to reload httpd, or even not restart at all? What is the reason it restarts?

Thanks!
 
Hello,

It restarts because any change in a virtualhost that could result in new ssl certificates requires a full restart. So adding a subdomain, adding a new domain, suspending/unsuspending a user, etc.. anything like that will require a full restart. Also, logs are rotated during the tally, so need to be reopened (which is less related since an HUP will suffice for that)

FYI: if you use awstats, there are slight changes to the restart mechanism.. a full restart is still done, but the HUP is no longer done.
http://www.directadmin.com/features.php?id=894

John
 
Back
Top