Page 1 of 1

Is omsuspend working?

Posted: Mon Aug 28, 2006 2:55 am
by netpenthe
Just trying to verify if this is correct behaviour:

# suspend scalix:

Code: Select all

root@scalix.mydomain.com BACKUP> omsuspend -s 20 &
[2] 16538


# check the omsuspend process:

Code: Select all

root@scalix.mydomain.com BACKUP> ps -ef | grep omsu
scalix   16538  3768  0 16:23 pts/1    00:00:00 omsuspend -s 20
root     16540  3768  0 16:23 pts/1    00:00:00 grep omsu


#un-suspend process:

Code: Select all

root@scalix.mydomain.com BACKUP> omsuspend -r


# now the omsuspend should be gone?

Code: Select all

root@scalix.mydomain.com BACKUP> ps -ef | grep omsu
scalix   16538  3768  0 16:23 pts/1    00:00:00 omsuspend -s 20
root     16544  3768  0 16:23 pts/1    00:00:00 grep omsu


So even after i run "omsuspend -r" the "omsuspend -s 20" is still around. Is this correct? How do i know my server is running properly now?

Posted: Mon Aug 28, 2006 12:05 pm
by florian
Behaviour is correct, the omsuspend -s is not terminated, but I/O operations are re-enabled. You can check and try out by issueing a lengthy omsuspend -s and play around in Outlook - as soon as you touch something that hits the server (like marking an unread message read), Outlook should hang. omsuspend -r should release it.

Florian.