We occasionally have a problem with the HTTP servers for Zend Server where
they need to be restarted.

Generally this occurs if there is a timeout accessing a database file if
backups have a lock on the file - but that is another story and we are
also addressing that problem.

My problem is that when I issue the ENDTCPSVR SERVER(*HTTP)
HTTPSVR('zendphp7') command;

a) Control is returned before the servers are actually ended
b) Sometimes for an unknown reason some/all the servers do not end
c) We do not know when all the servers are actually ended
d) If the command fails how do I actually stop these servers from a CL

I presume the best option is to issue the endtcpsvr command then wait a
while then extract a list of jobs selectively to a temporary table and
query that table for a count of jobs and then read the list and do an
endjob *immed for each job found then wait some more then repeat ?

Is there a better option ?

Appreciate any suggestions.

Don Brown

This email has been scanned for computer viruses. Although MSD has taken reasonable precautions to ensure no viruses are present in this email, MSD cannot accept responsibility for any loss or damage arising from the use of this email or attachments.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.