- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- "IpcFindEmptyIpcHandle: IpcHandleTable is full" me...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2006 01:23 AM
11-07-2006 01:23 AM
One of our DP backups is failing and the information in the media agent (OpenVMS v7.3-2) debug.log is, summarizing, the following repeated messages:
.....
11/06/06 11:56:03 BMA-NET.5680.0 ["lib/ipc/ipc.c/main/dp55/blr_ovmsdp55_beta/blr_ovmsdp55_oracle/4":4647] A.05.50 OpenVMS A.05.50 (74) [IpcAllocShmem] shmget(1783634710, 2080768, IPC_CREAT|IPC_EXCL|IPC_SHMEM_PERM) failed (err=65535)
....
IpcFindEmptyIpcHandle: IpcHandleTable is full (64)
.....
This messages are Unix-like, relationed to shared memory and I was trying to relation it with OpenVMS.
What I first thought was that this had something to do with what could be similar to shared memory in OpenVMS, global sections and global pages, but starting the backup and monitoring the free gblsects and global pages, I could see they were not the problem.
I have searched through Internet and the few topics I found about ipcallocshmem has to do with the modification of shm* parameters in UNIX environments.
I have attached an extract of the media agent 'debug.log' file corresponding to the backup session. The DP version is A5.50.
Although this topic should be posted at Data Protector forum, I'd like to ask OpenVMS people if those messages have something to do with some OpenVMS parameters that should be adjusted because the rest of backups works well and it seems that the only difference is that the failing backup has more save sessions than the rest.
Thank you very much in advance.
Regards.
Ana
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2006 07:41 PM
11-07-2006 07:41 PM
Re: "IpcFindEmptyIpcHandle: IpcHandleTable is full" message in DP log
I have not been sucessful in trying to find OpenVMS related documentation of the shmget call, which seems to be at the bottom of this problem.
They key questions would be:
- what does an errno of 65535 mean on a shmget call ?
- how is shmget implemented on OpenVMS ($CRMPSC maybe) ?
- do the shmget errors repeat 64 times and then finish with the IpcHandleTable is full (64) error ?
If you want to experiment with parameters without yet understanding the underlying problem, PGFLQUOTA comes to mind and maybe PROCSECTCNT.
But a call to HP may be more helpful.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2006 08:32 PM
11-07-2006 08:32 PM
Re: "IpcFindEmptyIpcHandle: IpcHandleTable is full" message in DP log
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2006 12:36 AM
11-08-2006 12:36 AM
Re: "IpcFindEmptyIpcHandle: IpcHandleTable is full" message in DP log
From your information about the $CRMPSC system service I have seen that another parameter involved is GBLPAGFIL, that was lower than the rest of the systems (although I executed an autogen with feedback and this parameter was not changed).
Anyway, I have raised its value and rebooted. Moreover, as our network has firewalls, we were suspecting that perhaps was a problem of reconnections and has made some modifications in the network configuration.
With both changes, we have started the failing backup and, by the moment, is ok. If it finishes ok, I'll modify the GBLPAGFIL again to the old value to see if the problem arises, to know what the solution to the problem is.
I'll let you know the results.
Thank you very much.
Regards.
Ana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2006 12:40 AM
11-08-2006 12:40 AM
Solution#include
#include
#include
#include
#include
int Mingb = 0;
$DESCRIPTOR(TblNameD, "LNM$SYSTEM_TABLE");
$DESCRIPTOR(LogNameD, "MIN_GBLPAGFIL");
char Value[32];
$DESCRIPTOR(LogValD, Value);
globalref int mmg$gl_gblpagfil;
main() {
int s;
Mingb = mmg$gl_gblpagfil + 1000;
for (;;) {
if (Mingb > mmg$gl_gblpagfil) {
Mingb = mmg$gl_gblpagfil;
sprintf(Value, "%d", Mingb);
LogValD.dsc$w_length = strlen(Value);
s = lib$set_logical(&LogNameD, &LogValD, &TblNameD);
if (! $VMS_STATUS_SUCCESS(s)) exit(s);
}
sleep(60);
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2006 12:46 AM
11-08-2006 12:46 AM
Re: "IpcFindEmptyIpcHandle: IpcHandleTable is full" message in DP log
you can also check the remaining global pagefile quota with SDA:
$ ANAL/SYS
SDA> CLUE MEM/STAT
...
Global Pagefile Quota 16821 GBLPAGFIL (SYSGEN) Limit 17440
SDA> exa sgn$gl_gblpagfil ! sysgen parameter value
SGN$GL_GBLPAGFIL: 00000000.00004420 " D......"
SDA> exa mmg$gl_gblpagfil ! remaining free global pagefile pages
MMG$GL_GBLPAGFIL: 00000000.000041B5 "µA......"
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2006 01:18 AM
11-08-2006 01:18 AM
Re: "IpcFindEmptyIpcHandle: IpcHandleTable is full" message in DP log
although I executed an autogen with feedback and this parameter was not changed
GBLPAGFIL is not an AUTOGEN FEEDBACK parameter.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2006 01:36 AM
11-08-2006 01:36 AM
Re: "IpcFindEmptyIpcHandle: IpcHandleTable is full" message in DP log
I have entered SDA (now the backup is running) and the information given is:
Global Pagefile Quota 54723 GBLPAGFIL (SYSGEN) Limit 196608
This means that is using 141631 (the difference between both figures) that is greater than the old GBLPAGFIL value (98304).
So, it seems that the lack of GBLPAGFIL could be the reason of the failing backup, but I'll wait for the backup to finish to check the values when there is no backup running.
I'll periodically execute the program to know the GBLPAGFIL needs.
Tomorrow I'll let you know what happens.
Thank you very much again.
Regards.
Ana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2006 09:37 PM
11-08-2006 09:37 PM
Re: "IpcFindEmptyIpcHandle: IpcHandleTable is full" message in DP log
The test we made yesterday was ok but when we have repeated the same test changing the paralellism to 8 (a DP concept -number of sessions by device and we are using four devices-) with client systems in both behind and in front of the firewall, the backup failed, very early. With a paralellism of 4 it also fails.
Well, to determine if it's a firewall problem, we are now doing a backup only with clients not going through the firewall and, by the moment, is ok. Of course, there is less number of clients and, as a result, a less number of needed resources. When this backup finishes, we'll make another one only with clients behind the firewall. With these tests we want to discard network problems.
We raised the GBLPAGFIL quota to 1000000
Depending on our tests results, we'll focus on a resources problem, a firewall problem or both.
In the meantime, I have been checking the accounting information of the OMNIADMIN procesess of yesterday tests (the one with paralellism of 8) and found a figure that I don't understand. One of the OMNIADMIN processes has a 'peak pagefile quota' of 4194448 when its uaf quota is PGFLQUOTA=1000000.
I thought that the 'peak page file quota' should be <= PGFLQUOTA. Is this ok?. If not, what's the meaning of that figure?.
Well, I'll continue with the research and I'll let you know the results of our tests.
Thank you very much.
Regards.
Ana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2006 10:37 PM
11-08-2006 10:37 PM
Re: "IpcFindEmptyIpcHandle: IpcHandleTable is full" message in DP log
You should get pquota.exe from
http://h71000.www7.hp.com/freeware/freeware40/pquota/
copy it to a disk:[dir]
then do
$ pquota :== $ disk:[dir]pquota
and then
$ pquota 204002B3
to look at all the quotas of the process id 204002B3
Now you can have a coffee, you will even have a file pquota*.out summing up all that.
A quota heavily used will be blinking.
Look at the last right column to see which quota is used at more than, say 80 %
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2006 08:11 AM
11-09-2006 08:11 AM
Re: "IpcFindEmptyIpcHandle: IpcHandleTable is full" message in DP log
accounting shows 'peak pagefile' usage, the actual pagefile quota of the process may be higher than it's UAF PGFLQUOTA. Check the running process with SHO PROC/ID=xxx/QUOTA (it will show you the currently remaining pagefile quota).
$ ANAL/SYS
SDA> READ SYSDEF
SDA> SET PROC omni...
SDA> FORMAT JIB
...
FFFFFFFF.8338F940 JIB$L_PGFLQUOTA 00007A12
FFFFFFFF.8338F944 JIB$L_PGFLCNT 0000774F
...
will show the initial PGFLQUOTA and the remaining quota.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2006 10:18 PM
11-09-2006 10:18 PM
Re: "IpcFindEmptyIpcHandle: IpcHandleTable is full" message in DP log
The last test we did yesterday was ok. So, it seems, at a first glance, that it's not a firewall or network problem, at least, with the number of savesets backuped. Or perhaps the network problem begins when the number of resources to save raise.
We'll gradually increment the number of save sets to save, keeping a paralellism of 8, and will check, with all the information given by you, the resources consumption "to chase" the quota or parameter failing.
I'll let you know.
Thank you very much.
Regards.
Ana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2006 08:41 PM
11-14-2006 08:41 PM
Re: "IpcFindEmptyIpcHandle: IpcHandleTable is full" message in DP log
With the information you gave me we have discovered that we should raise some parameters (MIN_GBLPAGFIL, MIN_PQL_DPGFLQUOTA y MIN_PQL_DWEXTENT) and, of course, increment the pagefile size until 5GB.
However, under certain circunstances, the backups fails, although I think that it has something to do with a misconfiguration of Data Protector parameters, without discarding more changes in sysgen parameters.
I leave the note open for a few days because we are going to do more tests and, if we find the solution, I'll let you know.
Thank you very much.
Regards.
Ana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2006 11:16 PM
11-19-2006 11:16 PM
Re: "IpcFindEmptyIpcHandle: IpcHandleTable is full" message in DP log
It seems that it is a Data Protector problem and there is a patch for it (patch DPWIN_00234). The problem reports:
If 60-70 Volume Backup Disk Agents (VBDA) are started, the Backup Media Agent (BMA-NET) fails with the following error:
"IPC Cannot Create Shared Memory Segment"
Although I haven't still tested it, it seems the same problem we had and the fact that, depending on the number of clients backuped, sometimes worked and other didn't.
Anyway, there was also a parameter and quota problem that, thanks to your help, seems solved.
The fact that I haven't been able to find that information is because I work in a Linux environment and the HP page with Data Protector patches doesn't work with my browsers (it's a problem reported to HP more than a year ago and with no answer from them by the moment), and I haven't been able to open a HP call due to a burocratic problem with our contract. All the searches about that error message didn't give any reference to that patch page.
Therefore, I think that the post can be closed because I don't exactly know when we are going to install the patch and do the tests.
Thank you very much for all your help.
Regards.
Ana