Autor Thema: Fehlermeldung Dominoserver  (Gelesen 2497 mal)

Offline edvmaxe

  • Frischling
  • *
  • Beiträge: 14
  • Geschlecht: Männlich
Fehlermeldung Dominoserver
« am: 04.08.06 - 09:55:53 »
Hallo,


unser Dominoserver gibt seit einiger Zeit diese Fehlermeldungen raus:

AllocHandle: OUT OF PRIVATE HANDLES! -- pid 0000109C Handles used so far 6399, Maximum handles = 16456, error = 0x107

Weiß jemand wie man das beheben kann?

Gruß Michael

Driri

  • Gast
Re: Fehlermeldung Dominoserver
« Antwort #1 am: 04.08.06 - 10:00:15 »
Also wenn ich "OUT OF PRIVATE HANDLES" bei Google eingebe, hab ich direkt 4 Treffer von IBM-Seiten.

Offline Peter S.

  • Senior Mitglied
  • ****
  • Beiträge: 429
Re: Fehlermeldung Dominoserver
« Antwort #2 am: 04.08.06 - 10:17:32 »
Wäre toll ein paar Informationen zu bekommen.
Diese Anfrage würde ich als 2nd Level direkt als "unverständlich" an unseren 1st Level zurückgeben.

Eingesetztes Serverelease? Auf welchem Betriebssystem?
Treten die Fehler zu bestimmten Zeiten auf?
Im Zusammenhang mit bestimmten Tasks oder Datenbanken?

Grob kann man sagen das dieser Fehler immer auf ein Memory Leak hindeutet.

z.B.
------------------------------------------
Your Domino 6.0.3 server crashes multiple times with the error "PANIC: LookupHandle: null handle and/or AllocHandle: OUT OF PRIVATE HANDLES!" after upgrading the server from Release 5.x.  Why is this?



Solution
This issue was reported to Quality Engineering and has been fixed in release 6.5.3.

Excerpt from the Lotus Notes and Domino Release 6.5.3 MR fix list (available at http://www.ibm.com/developerworks/lotus):

Directory Services
SPR# WWHN5YMGXN - Memory Leak for block BLK_NAME_LOOKUP results in "Out of Private Handles". This problem has been fixed in 6.0.5 and 6.5.3.

Memory dumps indicate a leaking block (0x0308) PRCHDL BLK_NAME_LOOKUP - Name Service return buffer.

Here is the leaking callstack from trapleaks:
OSMemAlloc@12             60007560
Lookup@32                 600a49e0
NAMELookup2@36            600aac90
AddGroupsContainingName@20 606c7e70
UAFGetAccessGroupsExtend@8 60878d80
NAMELookupThread@4        6089a920
ThreadWrapper@4           60114850

Excerpt from Memory Dump:

NIF  (0x0300)                                                                                                                             
+8        5322       279,217,016   PRCHDL BLK_NAME_LOOKUP - Name Service return buffer

To work around this issue, restart the Domino server every 2-3 days, to help avoid some crashes.
----------------------------------------------------

Oder

-----------------------------------------------------
When using the IBM Modified Template, NotesMinder will generate the following error when using the "View Mail Summary" feature:
"AllocHandle: OUT OF PRIVATE HANDLES! -- pid 000003AC Handles used so far 6399, Maximum handles = 16409, error =  0x107"
Steps to reproduce:
1.  Install a Domino 6.x server and client.
2.  Create a user, using the IBM Mail Template.
3.  Create a local replica of the mail database.
4.  Create a Location document pointing to local replica of the mail file.
5.  Switch Location docs to point to the local mailfile.
6.  Make sure there are unread messages in the Inbox and then launch NotesMinder
7.  Right-click on the Notes Minder icon in the System Tray and select "View Mail Summary".
8.  You will receive a pop-up box with the Unread Mail Summary as well as a DOS window with the error message cited above.

Notice also how the unread message is continually repeated in the dialog box for the Unread Mail Summary.



Solution
This issue was reported to Quality Engineering as SPR# ARUI65WH3C and has been fixed in Notes 6.5.4 and 6.0.5.
Excerpt from the Lotus Notes and Domino Release 6.5.4 and 6.0.5 MR fix list (available at http://www.ibm.com/developerworks/lotus/):
NotesMinder
SPR# ARUI65WH3C - NotesMinder memory leak caused the Client to crash. NotesMinder displays the following error when using the "View Mail Summary" feature: AllocHandle: OUT OF PRIVATE HANDLES! -- pid 000003AC Handles used so far 6399, Maximum handles = 16409, error = 0x107.

-------------------------------------------------------------------

Oder

-------------------------------------------------------------------

LotusScript code that uses Redim Preserve to change the dimensions of an array containing NotesDocument objects can cause errors or a crash at times.

If the code is executed from a Lotus Notes client, the agent may not actually run to completion although it will appear to.  System memory is not released by Notes after the agent completes; the memory release occurs when Notes is shut down.  In some cases, you can see the following error when executing a LotusScript code the uses Redim Preserve:

"Out of memory"

If the code is executed on the Domino server, then the following error appears repeatedly on the server console:

"AllocHandle: OUT OF PRIVATE HANDLES! -- pid 000005F0 Handles used so far 6399, Maximum handles = 16660, error = 0x107"

That message is followed by errors noting that various tasks or operations could not complete:

"Unable to retrieve activity trends configuration.: Maximum number of memory segments that Notes can support has been exceeded
Error connecting to server <servername>: Maximum number of memory segments that Notes can support has been exceeded"

After this error output, the server might crash.

What follows is an example of a code sequence that would result in the problem:

Redim docArray(0) As Variant
count = 0
Set doc = col.getfirstdocument()
Do While Not doc Is Nothing
   Set nextdoc=col.getnextdocument(doc)
   count = count + 1
   Redim Preserve docArray(count)
   Set docArray(count) = doc   
   Set doc = col.getnextdocument(doc)
Loop



Solution
This issue was reported to Quality Engineering as SPR# FMEG6ASBFX and has been fixed in Domino 6.5.5 for all platforms except Solaris and AIX.  The fix increases the number of handles available from 6,399 to 10,495.  This limit is also increased in Notes/Domino 7.0.  Refer to the Upgrade Central site for details on upgrading Notes/Domino.

Excerpt from the Lotus Notes and Domino Release 6.5.5 fix list (available at http://www.ibm.com/developerworks/lotus):
SPR# FMEG6ASBFX - The number of private handles has been increased on all platforms except Solaris and AIX. Because of API compatibility issues Solaris and AIX could not be changed.

Even with the increase, it is still possible to reach the limit of handles resulting in a memory error.  Refer to the workaround below for recommendations on changes in logic that can avoid the issue and optimize the code's performance.

Workaround
The performance of the agent is increased, and handle and memory usage is improved, by deleting the NotesDocument object handle in the loop.

For example:

Do While Not doc Is Nothing
 Set nextdoc=col.getnextdocument(doc)
  Redim Preserve docArray(count)
  Set docArray(count) = doc   
 Delete doc
 Set doc=nextdoc
Loop
Delete Db

-----------------------------------------------------

oder noch einige mehr...





Offline edvmaxe

  • Frischling
  • *
  • Beiträge: 14
  • Geschlecht: Männlich
Re: Fehlermeldung Dominoserver
« Antwort #3 am: 04.08.06 - 10:45:03 »
hm, es scheint wohl an der Version zu liegen. Wir setzen Version 6.5 auf Win2000Server ein.

hat mir jemand einen Tipp, wie ich relativ "störungsfrei" auf die Version 6.5.5 wechseln kann?

Offline Peter S.

  • Senior Mitglied
  • ****
  • Beiträge: 429
Re: Fehlermeldung Dominoserver
« Antwort #4 am: 07.08.06 - 10:18:20 »
Etwa eine 6.500000 ?
Die solltest du schnellstmöglich upgraden.

Wir installieren in der Regel die aktuelleste version komplett neu drüber.
Vorher sichern wir alle Templates in ein separates Verzeichnis.
Dann prüfen wir welche templates sich in den neuen Releases geändert haben (-> Release-Notes).
Die Templates die sich geändert haben, werden unter Notes umkopiert (Neue Replik-ID) und mit der Admin-ID signiert.
Dann wird eine Vollsicherung des Servers gemacht.
Dann wird die aktuelle SW drüberinstalliert und die Templates zurückkopiert.


 

Impressum Atnotes.de  -  Powered by Syslords Solutions  -  Datenschutz