Re: IBM DB2 failures in 2.4.0-test* (solved)

From: Urban Widmark (urban@svenskatest.se)
Date: Wed Jun 07 2000 - 17:03:11 EST


2.3.30-pre1 worked, pre2 failed. While making a diff of (to me) relevant
changes I found this:

-#define MSGMNI 128 /* <= IPCMNI */ /* max # of msg queue identifiers */
+#define MSGMNI 16 /* <= IPCMNI */ /* max # of msg queue identifiers */

Hmm.

# echo 128 > /proc/sys/kernel/msgmni
% db2 restore database a0002a from `pwd` into temp
DB20000I The RESTORE DATABASE command completed successfully.
# echo 16 > /proc/sys/kernel/msgmni
% db2 restore database a0002a from `pwd` into temp
    (nothing happens, it never completes, gives an error)
# echo 128 > /proc/sys/kernel/msgmni
    (doesn't help, it needs to be restarted)

Sorry if I wasted anyones time. Btw, why was the default changed? Is 16 a
ridiculously large number?

For this op, db2 seems to be fine with 19, 18 gives a reasonable error
message and 17 just hangs there. On my machine, with this particular file.

/Urban, happy.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:14 EST