restarting services from admin cp

rldev

Verified User
Joined
May 26, 2004
Messages
1,003
I find a lot of times when I try to restart some services from the admin cp, the browser often hangs.

Anyone have some ideas on how I can troubleshoot this?

I just tried to restart exim and the process is hanging.
 
What Operating system and version of DA are you using?

This happens to me from time to time on FreeBSD 4.x. The service is succesfully restarted but it never updates. I've gotten use to just refreshing
 
Which services?

The problem is most likely that the directadmin daemon has issued the shutdown command and is waiting for all services to shut down.

Sometimes it takes a while, especially for exim.

The browser could time out during this time.

Jeff
 
Generally I have noticed it is usually bind and exim.

"Sometimes it takes a while, especially for exim."

Exim from the command line only takes about a second. There really ian't any mail activity on this server.
 
Bind should stop very quickly.

Exim will take a while to stop.

Because there are a lot of processes running. And most of them will finish normally before they exit. DA doesn't report the daemon as stopped until all it's spaw are stopped as well.

Which is why it seems to stop so much faster at the command line. The command line simply executives (which stops the main daemon) and returns without complaint.

If you do:

ps waux | grep exim

from the command line immediately after stopping exim from the command line, you'll see that a lot of processes are still running.

Jeff
 
I understand what you are saying but I have very little mail processes running on my test server. There is almost no mail activity. 3 minutes with no mail activity sounds about right to you? If it does I won't bother with it. It's not a big deal.
 
I have the same issue, I think the problem here is they need to add a delay so after you press the button it does the action and then waits 10 seconds before refreshing the page.

What I believe is currently happening is you click restart/stop/start and it refreshes the page before its done so you get outdated data. Usually on my server's exim restarts very fast but I think its still too slow for Directadmin instant page reload to motice. Currently I just do a manual page refresh after I stop/restart/start services in Directadmin as a workaround.
 
Back
Top