Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Can't stop db2 for backup - related to jbe processes?

Using RTC 1.0.1. We have been stopping RTC and DB2 each night to take an offline backup; RTC stopserver, db2 force applications all, db2stop. This worked fine for several months. Recently though the db2 instance will not stop (even with db2stop force). This appeared to coincide with the addition of more build engines / jbe processes (there are 18 defined, with 8 of those active), and I also noticed an increase in the number of these processes:

db2inst1 23723 23511 0 09:11 pts/2 00:00:01 db2agent (JAZZ) 0

There are currently 18 such processes running.

Any ideas?

Thanks, Alex.

0 votes



One answer

Permanent link
We hit this problem intermittently and I think there's a bug in the server.shutdown code that allows the server to not shut down properly. When this happens it hangs on to the db2 connections and then db2 won't stop either. We got round this by writing a shell script like this:

stop RTC (server.shutdown)
do 12 times
wait 5 seconds
look for db2 connections
end
if connections still exist after a minute, look for the RTC process and kill it

This seems to have fixed it

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jun 10 '09, 9:23 a.m.

Question was seen: 6,603 times

Last updated: Jun 10 '09, 9:23 a.m.

Confirmation Cancel Confirm