473,799 Members | 3,422 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

db2dari processes remaning after db2stop/db2start

db27.2 fp7 on AIX5.2

I just bounced the database (as a specific db2dari process had reached
user memory limit), and some (orpahned) db2dari processes are still
there.

db2fenc1 42682 1 108 Sep 28 - 14308:10 db2dari (81842)
....
db2fenc1 90546 1 108 Sep 28 - 431:39 db2dari (63356)

Does anyone know if this is normal and, more importantly, whether
they'll still be picked up by my sps?

Any help appreciated.
Thanks
Bruce
Nov 12 '05 #1
3 2240
Given the cpu consumption I'd guess they're stuck in an infinite loop in
a stored procedure.

The processes themselves are orphaned...they won't interfere with new
calls (other than keeping libraries loaded, and slowing down your system).

Bruce Pullen wrote:
db27.2 fp7 on AIX5.2

I just bounced the database (as a specific db2dari process had reached
user memory limit), and some (orpahned) db2dari processes are still
there.

db2fenc1 42682 1 108 Sep 28 - 14308:10 db2dari (81842)
...
db2fenc1 90546 1 108 Sep 28 - 431:39 db2dari (63356)

Does anyone know if this is normal and, more importantly, whether
they'll still be picked up by my sps?

Any help appreciated.
Thanks
Bruce

Nov 12 '05 #2
Thanks Sean.

Final question - sorry, but are you implying the high CPU usage is due
to an inifinite loop in code (i.e. a code bug)? The reason the DB was
bounced was because the application could no longer load libraries to
(2 specific) db2dari processes as the latter had just about reached
the memory ulimit.
Nov 12 '05 #3
We see runaway processes like this fairly often, and it 'usually' ends
up being a problem in the sp (couldn't be a bug, right) :-). The only
way to know for sure is to attach a debugger to the process and see what
code it's stuck in.

Come to think of it, another possibility would be recursive
traps...sometim es the stack can get hammered so badly by an sp, that our
trap handler goes off in space.
Bruce Pullen wrote:
Thanks Sean.

Final question - sorry, but are you implying the high CPU usage is due
to an inifinite loop in code (i.e. a code bug)? The reason the DB was
bounced was because the application could no longer load libraries to
(2 specific) db2dari processes as the latter had just about reached
the memory ulimit.

Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
7335
by: Robert Kane | last post by:
Good afternoon, I'm trying to set up a clustered DB2 v7.1 database on Redhat Linux 7.3. I've followed the instructions (as far as I know) in the accompanying documentation to set up the database on 2 nodes. Running db2start on node 0 I get the following message: 11-19-2000 10:12:44 1 0 SQL6048N A communication error occurred during START or STOP DATABASE MANAGER processing.
4
3246
by: Jean-Marc Blaise | last post by:
Dear all, I have simulated the windows MULTI application with a java program calling the SQLTP1DL proc referenced as DB2DARI application, on Linux Intel or ZLinux. If the proc is NOT FENCED, there is no pb and the program works fine. If either the proc is FENCED, or FENCED THREADSAFE, I get a SQL1042C, or the instance crashes on ZLinux (V8.1 FP4). The proc does a return(SQLZ_HOLD_PROC): $ /opt/IBMJava2-131/bin/java sqltp1ri 1
2
2033
by: Scav | last post by:
Helpful folks, Platform: DB2 UDB v7.2, Win2000, KEEPDARI=YES I am trying to reduce memory usage of our SP's. We only have 80 or so SP's but in the Task Manager/Processes display, there are over 200 entries for DB2DARI.EXE. Interestingly, there are many sets of these entries which have the exact same memory usage size. It would appear that for many of the SP's, there are multiple copies in memory.
4
1894
by: _link98 | last post by:
Which of the UDB 8.2.2 ESE unix executables really need to gain root privilege while they are running? In my installation, the db2sysc file is owned by the instance-owner (and relevant admin group ownership), but when the db2-instance starts running (manually started via "su" as the instance-owner), the db2sysc process requests root access. I think that db2fmcd also requests root privilege.
1
9394
by: Ranjay | last post by:
i've installed db2 on my aix box with the following configuration bash-3.00$ uname -a -v -r AIX symibm10 2 5 00CE60AA4C00 bash-3.00$ oslevel 5.2.0.0 I installed it in the compact mode and created 2 instances db2inst1 and db2fenc1
0
2334
by: Phil Sherman | last post by:
This occurred in a non-supported UDB environment. I am providing it as "gotcha" information. SQL1084C error was received when attempting the first connect to the (formerly working) SAMPLE database. This occurred on a FC6 system that was just updated to kernel 2.6.19-1..... with associated updates to SELinux security. Problem: db2start performs kernel updates, setting parameters that are necessary for UDB to function. These updates...
1
2699
by: Laurence | last post by:
Hi folks, The sentence "If you are an HACMPâ„¢ user, you must use the ha_db2stop command to stop DB2 instead of the db2stop command. If you use the db2stop command instead of the ha_db2stop command, you will trigger a failure event.". If I also do HADR with HACMP, should I also use the ha_db2stop command, or just db2stop command? Thanks in advance,
11
11536
by: zgh1970 | last post by:
Hi, Friends, I need to know how to stop all database process even after db2stop. How can I stop all database processes? I have finished upgraded our system test and UAT region from 32-bit to 64-bit. I followed the following for my system test region: 1. log on aix with root 2. stop the instance 3. db2iupdt -w 64 instance
3
5518
by: danfan46 | last post by:
Hi! I'm trying to set up a database instance on a prime Linux server, using db2 V9.5 with fixpack 1 applied. I issued db2set DB2RSHCMD=/usr/bin/ssh After adding 2 partitions, when issuing db2stop (as instance owner), I have to give the password 6 times. When i the run db2start it suffices with 3 times. What did I miss?
0
9544
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10490
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10030
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9077
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7570
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6809
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4145
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3761
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2941
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.