473,725 Members | 2,419 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

db2hmon failing with "Too many open files"

db2 8.1 FP11 on AIX 5.3.0.0 .

The db2diag.log is intermittently reporting EMFILE (24) "Too many open
files" errors. The culprit is always db2hmon. Sample db2diag.log
output follows:

2007-03-20-07.42.35.269106 +060 I14996239C505 LEVEL: Severe (OS)
PID : 2289758 TID : 772 PROC : db2hmon 0
INSTANCE: defser_t NODE : 000
FUNCTION: DB2 UDB, SQO Memory Management, sqlocshr2, probe:200
CALLED : OS, -, shmat
OSERR : EMFILE (24) "Too many open files"
DATA #1 : Memory set handle, PD_TYPE_OSS_MEM _SET_HDL, 20 bytes
0x303B3BD0 : FFFF FFFF FFFF FFFF 0000 0000 2AB0
01A1 ............*.. .
0x303B3BE0 : 0004 0000 ....

2007-03-20-07.42.36.050018 +060 I14996745C396 LEVEL: Error
PID : 2289758 TID : 772 PROC : db2hmon 0
INSTANCE: defser_t NODE : 000
FUNCTION: DB2 UDB, Health Monitor,
HmonMainCB::ref reshDbAutonomic Switches, probe:160
MESSAGE : Failed connecting to database "CLASS_T "
DATA #1 : Hexdump, 4 bytes
0x303B75AC : FFFF FB38 ...8
Unless I'm mistaken, db2hmon doesn't use java and executes locally
(i.e. is not a client app). So EXTSHM and TCP/IP loopbacks do not seem
to me to be a possible solution.
Short of switching off the health monitor, I'm at a loss to explain
these errors.

Any assistance appreciated!

Thank you.

Mar 21 '07 #1
7 8525
On Mar 21, 1:08 pm, "pike" <bruce.pul...@g mail.comwrote:
db2 8.1 FP11 on AIX 5.3.0.0 .

The db2diag.log is intermittently reporting EMFILE (24) "Too many open
files" errors. The culprit is always db2hmon. Sample db2diag.log
output follows:

2007-03-20-07.42.35.269106 +060 I14996239C505 LEVEL: Severe (OS)
PID : 2289758 TID : 772 PROC : db2hmon 0
INSTANCE: defser_t NODE : 000
FUNCTION: DB2 UDB, SQO Memory Management, sqlocshr2, probe:200
CALLED : OS, -, shmat
OSERR : EMFILE (24) "Too many open files"
DATA #1 : Memory set handle, PD_TYPE_OSS_MEM _SET_HDL, 20 bytes
0x303B3BD0 : FFFF FFFF FFFF FFFF 0000 0000 2AB0
01A1 ............*.. .
0x303B3BE0 : 0004 0000 ....

2007-03-20-07.42.36.050018 +060 I14996745C396 LEVEL: Error
PID : 2289758 TID : 772 PROC : db2hmon 0
INSTANCE: defser_t NODE : 000
FUNCTION: DB2 UDB, Health Monitor,
HmonMainCB::ref reshDbAutonomic Switches, probe:160
MESSAGE : Failed connecting to database "CLASS_T "
DATA #1 : Hexdump, 4 bytes
0x303B75AC : FFFF FB38 ...8

Unless I'm mistaken, db2hmon doesn't use java and executes locally
(i.e. is not a client app). So EXTSHM and TCP/IP loopbacks do not seem
to me to be a possible solution.
Short of switching off the health monitor, I'm at a loss to explain
these errors.

Any assistance appreciated!

Thank you.
This is an OS-level error, so you probably need to see your sysadmin.
The failing process is 'shmat', so maybe a 'man shmat' will give more
info on this specific error.
My guess is you should raise the value of SHMSEG, at least that's what
I would try on Linux, not sure about AIX though.

HTH.

--
Jeroen

Mar 21 '07 #2
On Mar 21, 8:08 am, "pike" <bruce.pul...@g mail.comwrote:
db2 8.1 FP11 on AIX 5.3.0.0 .

The db2diag.log is intermittently reporting EMFILE (24) "Too many open
files" errors. The culprit is always db2hmon. Sample db2diag.log
output follows:

2007-03-20-07.42.35.269106 +060 I14996239C505 LEVEL: Severe (OS)
PID : 2289758 TID : 772 PROC : db2hmon 0
INSTANCE: defser_t NODE : 000
FUNCTION: DB2 UDB, SQO Memory Management, sqlocshr2, probe:200
CALLED : OS, -, shmat
OSERR : EMFILE (24) "Too many open files"
DATA #1 : Memory set handle, PD_TYPE_OSS_MEM _SET_HDL, 20 bytes
0x303B3BD0 : FFFF FFFF FFFF FFFF 0000 0000 2AB0
01A1 ............*.. .
0x303B3BE0 : 0004 0000 ....

2007-03-20-07.42.36.050018 +060 I14996745C396 LEVEL: Error
PID : 2289758 TID : 772 PROC : db2hmon 0
INSTANCE: defser_t NODE : 000
FUNCTION: DB2 UDB, Health Monitor,
HmonMainCB::ref reshDbAutonomic Switches, probe:160
MESSAGE : Failed connecting to database "CLASS_T "
DATA #1 : Hexdump, 4 bytes
0x303B75AC : FFFF FB38 ...8

Unless I'm mistaken, db2hmon doesn't use java and executes locally
(i.e. is not a client app). So EXTSHM and TCP/IP loopbacks do not seem
to me to be a possible solution.
Short of switching off the health monitor, I'm at a loss to explain
these errors.

Any assistance appreciated!

Thank you.
Hello,

TCP/IP loopbacks won't help since db2hmon is an internal server-side
tool and doesn't perform a local connection, but EXTSHM could help.
EXTSHM is used to workaround the 11-13 segment restrictions on AIX for
any 32-bit processes (64-bit processes don't have this same
restriction). It's commonly required for java clients, but can be
useful in other cases where shmat returns EMFILE as well.

Cheers,
Liam.

Mar 21 '07 #3
On Mar 21, 9:51 am, "Liam Finnie" <lfin...@ca.ibm .comwrote:
On Mar 21, 8:08 am, "pike" <bruce.pul...@g mail.comwrote:
db2 8.1 FP11 on AIX 5.3.0.0 .
The db2diag.log is intermittently reporting EMFILE (24) "Too many open
files" errors. The culprit is always db2hmon. Sample db2diag.log
output follows:
2007-03-20-07.42.35.269106 +060 I14996239C505 LEVEL: Severe (OS)
PID : 2289758 TID : 772 PROC : db2hmon 0
INSTANCE: defser_t NODE : 000
FUNCTION: DB2 UDB, SQO Memory Management, sqlocshr2, probe:200
CALLED : OS, -, shmat
OSERR : EMFILE (24) "Too many open files"
DATA #1 : Memory set handle, PD_TYPE_OSS_MEM _SET_HDL, 20 bytes
0x303B3BD0 : FFFF FFFF FFFF FFFF 0000 0000 2AB0
01A1 ............*.. .
0x303B3BE0 : 0004 0000 ....
2007-03-20-07.42.36.050018 +060 I14996745C396 LEVEL: Error
PID : 2289758 TID : 772 PROC : db2hmon 0
INSTANCE: defser_t NODE : 000
FUNCTION: DB2 UDB, Health Monitor,
HmonMainCB::ref reshDbAutonomic Switches, probe:160
MESSAGE : Failed connecting to database "CLASS_T "
DATA #1 : Hexdump, 4 bytes
0x303B75AC : FFFF FB38 ...8
Unless I'm mistaken, db2hmon doesn't use java and executes locally
(i.e. is not a client app). So EXTSHM and TCP/IP loopbacks do not seem
to me to be a possible solution.
Short of switching off the health monitor, I'm at a loss to explain
these errors.
Any assistance appreciated!
Thank you.

Hello,

TCP/IP loopbacks won't help since db2hmon is an internal server-side
tool and doesn't perform a local connection, but EXTSHM could help.
EXTSHM is used to workaround the 11-13 segment restrictions on AIX for
any 32-bit processes (64-bit processes don't have this same
restriction). It's commonly required for java clients, but can be
useful in other cases where shmat returns EMFILE as well.

Cheers,
Liam.
Just to add to my last response... since this is a server-side tool,
you'll have to do the following to enable EXTSHM for the db2hmon
process:
db2stop
export EXTSHM=ON
db2set DB2ENVLIST=EXTS HM
db2start

If this is a partitioned instance (DPF), you'll need to add the
following to your sqllib/db2profile before you issue the db2start
command:
EXTSHM=ON
export EXTSHM

Cheers,
Liam.

Mar 21 '07 #4
Ian
Liam Finnie wrote:
>
If this is a partitioned instance (DPF), you'll need to add the
following to your sqllib/db2profile before you issue the db2start
command:
EXTSHM=ON
export EXTSHM
Not to claim that I know more than Liam, but best practice would be
to add this to sqllib/userprofile (which is intended for user
modification) -- not the db2profile.

Mar 21 '07 #5
Liam Finnie wrote:
On Mar 21, 9:51 am, "Liam Finnie" <lfin...@ca.ibm .comwrote:
>On Mar 21, 8:08 am, "pike" <bruce.pul...@g mail.comwrote:
>>db2 8.1 FP11 on AIX 5.3.0.0 .
>>The db2diag.log is intermittently reporting EMFILE (24) "Too many
open files" errors. The culprit is always db2hmon. Sample
db2diag.log output follows:
>>2007-03-20-07.42.35.269106 +060 I14996239C505 LEVEL: Severe (OS)
PID : 2289758 TID : 772 PROC : db2hmon 0
INSTANCE: defser_t NODE : 000
FUNCTION: DB2 UDB, SQO Memory Management, sqlocshr2, probe:200
CALLED : OS, -, shmat
OSERR : EMFILE (24) "Too many open files"
DATA #1 : Memory set handle, PD_TYPE_OSS_MEM _SET_HDL, 20 bytes
0x303B3BD0 : FFFF FFFF FFFF FFFF 0000 0000 2AB0
01A1 ............*.. .
0x303B3BE0 : 0004 0000 ....
>>2007-03-20-07.42.36.050018 +060 I14996745C396 LEVEL: Error
PID : 2289758 TID : 772 PROC : db2hmon 0
INSTANCE: defser_t NODE : 000
FUNCTION: DB2 UDB, Health Monitor,
HmonMainCB::r efreshDbAutonom icSwitches, probe:160
MESSAGE : Failed connecting to database "CLASS_T "
DATA #1 : Hexdump, 4 bytes
0x303B75AC : FFFF FB38 ...8
>>Unless I'm mistaken, db2hmon doesn't use java and executes locally
(i.e. is not a client app). So EXTSHM and TCP/IP loopbacks do not
seem to me to be a possible solution.
Short of switching off the health monitor, I'm at a loss to explain
these errors.
>>Any assistance appreciated!
>>Thank you.

Hello,

TCP/IP loopbacks won't help since db2hmon is an internal server-side
tool and doesn't perform a local connection, but EXTSHM could help.
EXTSHM is used to workaround the 11-13 segment restrictions on AIX
for any 32-bit processes (64-bit processes don't have this same
restriction) . It's commonly required for java clients, but can be
useful in other cases where shmat returns EMFILE as well.

Cheers,
Liam.

Just to add to my last response... since this is a server-side tool,
you'll have to do the following to enable EXTSHM for the db2hmon
process:
db2stop
export EXTSHM=ON
db2set DB2ENVLIST=EXTS HM
db2start

If this is a partitioned instance (DPF), you'll need to add the
following to your sqllib/db2profile before you issue the db2start
command:
EXTSHM=ON
export EXTSHM

Cheers,
Liam.
Following IBM Technote describes a similar problem for 32-bit Informix on
AIX:
http://www-1.ibm.com/support/docview...n&rss=ct631db2

The given example of the error in the message log clearly points to SHMSEG
(like I suggested in my previous post):

23:00:11 shmat: [EMFILE][24]: out of shared memory segments, check system
SHMSEG

However, the solution as given in the Technote is exactly the one you
described above.
Do you perhaps know the relationship between SHMSEG and EXTSHM?
And is this perhaps specific for AIX? I don't recall seeing this on Linux.

--
Jeroen
Mar 21 '07 #6
On Mar 21, 7:30 pm, "The Boss" <use...@No.Spam .Please.invalid wrote:
Liam Finnie wrote:
On Mar 21, 9:51 am, "Liam Finnie" <lfin...@ca.ibm .comwrote:
On Mar 21, 8:08 am, "pike" <bruce.pul...@g mail.comwrote:
>db2 8.1 FP11 on AIX 5.3.0.0 .
>The db2diag.log is intermittently reporting EMFILE (24) "Too many
open files" errors. The culprit is always db2hmon. Sample
db2diag.log output follows:
>2007-03-20-07.42.35.269106 +060 I14996239C505 LEVEL: Severe (OS)
PID : 2289758 TID : 772 PROC : db2hmon 0
INSTANCE: defser_t NODE : 000
FUNCTION: DB2 UDB, SQO Memory Management, sqlocshr2, probe:200
CALLED : OS, -, shmat
OSERR : EMFILE (24) "Too many open files"
DATA #1 : Memory set handle, PD_TYPE_OSS_MEM _SET_HDL, 20 bytes
0x303B3BD0 : FFFF FFFF FFFF FFFF 0000 0000 2AB0
01A1 ............*.. .
0x303B3BE0 : 0004 0000 ....
>2007-03-20-07.42.36.050018 +060 I14996745C396 LEVEL: Error
PID : 2289758 TID : 772 PROC : db2hmon 0
INSTANCE: defser_t NODE : 000
FUNCTION: DB2 UDB, Health Monitor,
HmonMainCB::re freshDbAutonomi cSwitches, probe:160
MESSAGE : Failed connecting to database "CLASS_T "
DATA #1 : Hexdump, 4 bytes
0x303B75AC : FFFF FB38 ...8
>Unless I'm mistaken, db2hmon doesn't use java and executes locally
(i.e. is not a client app). So EXTSHM and TCP/IP loopbacks do not
seem to me to be a possible solution.
Short of switching off the health monitor, I'm at a loss to explain
these errors.
>Any assistance appreciated!
>Thank you.
Hello,
TCP/IP loopbacks won't help since db2hmon is an internal server-side
tool and doesn't perform a local connection, but EXTSHM could help.
EXTSHM is used to workaround the 11-13 segment restrictions on AIX
for any 32-bit processes (64-bit processes don't have this same
restriction). It's commonly required for java clients, but can be
useful in other cases where shmat returns EMFILE as well.
Cheers,
Liam.
Just to add to my last response... since this is a server-side tool,
you'll have to do the following to enable EXTSHM for the db2hmon
process:
db2stop
export EXTSHM=ON
db2set DB2ENVLIST=EXTS HM
db2start
If this is a partitioned instance (DPF), you'll need to add the
following to your sqllib/db2profile before you issue the db2start
command:
EXTSHM=ON
export EXTSHM
Cheers,
Liam.

Following IBM Technote describes a similar problem for 32-bit Informix on
AIX:http://www-1.ibm.com/support/docview...=SSGHZP&dc=DB5...

The given example of the error in the message log clearly points to SHMSEG
(like I suggested in my previous post):

23:00:11 shmat: [EMFILE][24]: out of shared memory segments, check system
SHMSEG

However, the solution as given in the Technote is exactly the one you
described above.
Do you perhaps know the relationship between SHMSEG and EXTSHM?
And is this perhaps specific for AIX? I don't recall seeing this on Linux.

--
Jeroen
Hi Jeroen,

As far as I know, AIX doesn't have a SHMSEG kernel tuneable (maybe
that was pre-4.3.1?). Maybe it's a reference to the maximum allowed
size of a single shared memory segment, but in that case, the error
would be coming from shmget, not shmat. Or it could just be a bad
reference in the error message.

This particular issue is only applicable on AIX for 32-bit processes
(moving to a 64-bit instance would make this issue go away too).
Other platforms have different restrictions - for instance, Linux has
a limit (shmall) on how much shared memory can be allocated by all
processes, among other limits (shmmni, shmmax, etc).

As for the 11-13 segment AIX, by default, each shared memory segment
is attached to at a 256MB aligned address, so 32-bit processes can
quickly run out of suitable addresses for new shared memory segments
(this is what causes the EMFILE errors from shmat). If you enable
EXTSHM, then multiple shared memory segments can be packed into each
256MB address range (the reason why EXTSHM is not the default is that
it does have a negative impact on performance). 64-bit processes on
AIX have things even easier - pretty much all shared memory
restrictions are removed.

Hope this clears things up.

Cheers,
Liam.

Mar 22 '07 #7
On Mar 22, 3:07 pm, "Liam Finnie" <lfin...@ca.ibm .comwrote:
On Mar 21, 7:30 pm, "The Boss" <use...@No.Spam .Please.invalid wrote:


Liam Finnie wrote:
On Mar 21, 9:51 am, "Liam Finnie" <lfin...@ca.ibm .comwrote:
>On Mar 21, 8:08 am, "pike" <bruce.pul...@g mail.comwrote:
>>db2 8.1 FP11 on AIX 5.3.0.0 .
>>The db2diag.log is intermittently reporting EMFILE (24) "Too many
>>open files" errors. The culprit is always db2hmon. Sample
>>db2diag.log output follows:
>>2007-03-20-07.42.35.269106 +060 I14996239C505 LEVEL: Severe (OS)
>>PID : 2289758 TID : 772 PROC : db2hmon 0
>>INSTANCE: defser_t NODE : 000
>>FUNCTION: DB2 UDB, SQO Memory Management, sqlocshr2, probe:200
>>CALLED : OS, -, shmat
>>OSERR : EMFILE (24) "Too many open files"
>>DATA #1 : Memory set handle, PD_TYPE_OSS_MEM _SET_HDL, 20 bytes
>>0x303B3BD0 : FFFF FFFF FFFF FFFF 0000 0000 2AB0
>>01A1 ............*.. .
>>0x303B3BE0 : 0004 0000 ....
>>2007-03-20-07.42.36.050018 +060 I14996745C396 LEVEL: Error
>>PID : 2289758 TID : 772 PROC : db2hmon 0
>>INSTANCE: defser_t NODE : 000
>>FUNCTION: DB2 UDB, Health Monitor,
>>HmonMainCB::r efreshDbAutonom icSwitches, probe:160
>>MESSAGE : Failed connecting to database "CLASS_T "
>>DATA #1 : Hexdump, 4 bytes
>>0x303B75AC : FFFF FB38 ...8
>>Unless I'm mistaken, db2hmon doesn't use java and executes locally
>>(i.e. is not a client app). So EXTSHM and TCP/IP loopbacks do not
>>seem to me to be a possible solution.
>>Short of switching off the health monitor, I'm at a loss to explain
>>these errors.
>>Any assistance appreciated!
>>Thank you.
>Hello,
>TCP/IP loopbacks won't help since db2hmon is an internal server-side
>tool and doesn't perform a local connection, but EXTSHM could help.
>EXTSHM is used to workaround the 11-13 segment restrictions on AIX
>for any 32-bit processes (64-bit processes don't have this same
>restriction) . It's commonly required for java clients, but can be
>useful in other cases where shmat returns EMFILE as well.
>Cheers,
>Liam.
Just to add to my last response... since this is a server-side tool,
you'll have to do the following to enable EXTSHM for the db2hmon
process:
db2stop
export EXTSHM=ON
db2set DB2ENVLIST=EXTS HM
db2start
If this is a partitioned instance (DPF), you'll need to add the
following to your sqllib/db2profile before you issue the db2start
command:
EXTSHM=ON
export EXTSHM
Cheers,
Liam.
Following IBM Technote describes a similar problem for 32-bit Informix on
AIX:http://www-1.ibm.com/support/docview...=SSGHZP&dc=DB5...
The given example of the error in the message log clearly points to SHMSEG
(like I suggested in my previous post):
23:00:11 shmat: [EMFILE][24]: out of shared memory segments, check system
SHMSEG
However, the solution as given in the Technote is exactly the one you
described above.
Do you perhaps know the relationship between SHMSEG and EXTSHM?
And is this perhaps specific for AIX? I don't recall seeing this on Linux.
--
Jeroen

Hi Jeroen,

As far as I know, AIX doesn't have a SHMSEG kernel tuneable (maybe
that was pre-4.3.1?). Maybe it's a reference to the maximum allowed
size of a single shared memory segment, but in that case, the error
would be coming from shmget, not shmat. Or it could just be a bad
reference in the error message.

This particular issue is only applicable on AIX for 32-bit processes
(moving to a 64-bit instance would make this issue go away too).
Other platforms have different restrictions - for instance, Linux has
a limit (shmall) on how much shared memory can be allocated by all
processes, among other limits (shmmni, shmmax, etc).

As for the 11-13 segment AIX, by default, each shared memory segment
is attached to at a 256MB aligned address, so 32-bit processes can
quickly run out of suitable addresses for new shared memory segments
(this is what causes the EMFILE errors from shmat). If you enable
EXTSHM, then multiple shared memory segments can be packed into each
256MB address range (the reason why EXTSHM is not the default is that
it does have a negative impact on performance). 64-bit processes on
AIX have things even easier - pretty much all shared memory
restrictions are removed.

Hope this clears things up.

Cheers,
Liam
Thanks Liam, most insightful.
This will probably become usefull in short time when I have to do some
DB2 sysadmin work on AIX (which I have been mostly been doing on
zLinux until now).

--
Jeroen
Mar 26 '07 #8

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

Similar topics

0
2463
by: Tom Dacon | last post by:
"Open .Net Command Window Here" context menu for Windows Explorer: The reg file described below adds a new menu item to Windows Explorer's context menu when you right-click over a folder (or the drive root). The menu item text is "Open .Net Command Window Here". When you click it, it opens a command window positioned at that directory and runs the vsvars32.bat file to set the .Net Framework environment variable settings. This makes it...
1
2247
by: Morten Overgaard | last post by:
Hi all Is it possible for a .Net app. to intercept the "open" action on files in a given directory. I want to intercept the "open" action and the perhaps direct the client ( the app. which is trying to open the file ) to another file - or stream another file back to the client in someway??? Any help is appreciated Regards Morten
0
1938
by: Michael | last post by:
I have a problem forcing files to download. If I select Save the document is saved with no problems. If I select "Open" the document is empty or I get a "File not found" error from the application opening the file... Code: function UTIL_ForceDownloadFile(strFileName, strFileSaveName) Response.Buffer = True Dim strFileSize Const adTypeBinary = 1
1
2620
by: jiatiejun | last post by:
I want to write a file tools that can access files by "send to " or "Open with " in Explorer shell but I don't know how to implement who can help me thanks
8
2094
by: VB Programmer | last post by:
I have a web solution that I deployed to our web server. I was looking at the site (on my PC), and so was my customer (on his PC). It worked well for like 10 minutes. Then, all of a sudden we got a "Page could not be displayed" message. It said that "There are too many people accessing the web site at this time." I went to ISM and restarted the default web site a few times and after like 5 minutes of doing this we got right in and...
2
4418
by: OutdoorGuy | last post by:
Greetings, I have a "newbie" question in relation to opening files from C#. I have a Windows form where I allow the user to type in a file extension in a text box (e.g., "xls"). I then take that extension and use that as my filter criteria for the File Open dialog. Once the user selects a file with that extension (from the File Open dialog), I simply want to open that file (whether it is an .xls file, .txt file, etc.). I am...
4
7879
by: Wayne | last post by:
How do I get rid of the generic Windows "Open File - Security Warning" that appears when I try to open a database that resides on another PC on my home network? This is not the annoying macro security warning - I have my macro security set to low. The warning I am describing only appears when a database on another machine is opened.
1
25105
by: Charlie | last post by:
I am trying to make an XMLHttpRequest which violates the default "same- origin"policy in Firefox. I checked the archives and found a method that should work but it does not. Below is the test code I isolated. I set signed.applets.codebase_principal_support true and seemed to get the UniversalBrowserRead permission but then the open still failed with the same old "Permission denied to call method XMLHttpRequest.open" error. Can someone tell...
0
2667
by: Ofelia | last post by:
Hi, I'm new to this forum and to Perl language but I would like to ask for your help. I'm working in Linux and the files I need to process are in the format “file.gz”. I created a script which should decompress, open and then delete nearly 400 files. To do so I use "open FILEPT, "zcat $filename|"". In the beginning the script works fine, but after about 300 files processed I get an error on Open function: “proc: Could not open file...
0
9393
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
9248
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9092
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
8072
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
6695
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
6000
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();...
0
4506
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4775
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2622
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.