Question Norman W. Freeman · Feb 1 Is there a simple way to check if a given class need to be recompiled ? A class (and routine) definition can sometimes differ from it's compiled state.When such a thing occurs, a "+" sign will be shown in the tab of the file opened in Studio. I would like to do the same check programmatically. For routines, it's very simple : #InterSystems IRIS 0 4 0 96
Question Norman W. Freeman · Dec 20, 2023 How to decode the binary data produced by in the event log ? I am using the event logger from CSP gateway with level "v9r" enabled, in order to dump the raw content of some HTTP requests. I would like to decode the body response data, when it's in binary form. AFAIK the event logger will convert characters outside the 32-127 range (EBCDIC) to the "\xff" notation (where ff is a hexadecimal value). Here is an example : #Events #Web Gateway #InterSystems IRIS 0 4 0 240
Question Norman W. Freeman · Oct 30, 2023 Is it possible to call a superclass method outside the method with same name ? The following code call the method of the same name as defined in the nearest superclass: #InterSystems IRIS 0 7 0 155
Question Norman W. Freeman · Oct 4, 2023 Is there a class that implement a connection pool ? If not, is it possible to implement one ? I have some code that fire this kind of request very often : #InterSystems IRIS 0 3 0 187
Question Norman W. Freeman · Aug 31, 2023 Is there a parameter to configure whether the web gateway should maintain connections with the super server? I have notified the following : #Web Gateway #InterSystems IRIS 0 5 0 166
Question Norman W. Freeman · Aug 25, 2023 Why does audit report "login" events for static resources? I have enabled Audit in Portal for monitoring license usage. When the system is under load, this event appears quite often : #Management Portal #InterSystems IRIS 0 4 0 148
Question Norman W. Freeman · Aug 4, 2023 How to create a global node, without knowing the number of keys in advance ? Hello,I would like to do the following : #Databases #InterSystems IRIS 0 6 0 182
Question Norman W. Freeman · Jul 27, 2023 Is it possible to get a list all active open TCP/IP connections made by IRIS ? There is several classes that allow to create TCP/IP connections (eg: to connect to a service). Example : %Net.FtpSession (port 21), %Net.HttpRequest (usually port 80 or 443) AFAIK connection will stay open unless closed explicitly or if variable that hold the instance is garbage collected. Is there a way to get a list of all active (open) TCP/IP connections IRIS is maintaining so far ? #Performance #InterSystems IRIS 0 6 0 245
Question Norman W. Freeman · Jul 18, 2023 Some questions about garbage collector Hello, I am looking for information about garbage collector. I already looked at documentation but I could not find anything about it.Here is some questions : #InterSystems IRIS 0 3 0 231
Question Norman W. Freeman · Jul 10, 2023 Is there a way to view/mount journals from another system on a local instance ? I have several 1GB journals from a LIVE server that I would like to inspect (eg: check which globals have been updated over the time). Is there a simple way to view those journals using another IRIS instance ? (eg: local installation). I have been tempted to put those files directly into the journal folder of my local installation and restart the system, however I am concerned that the transactions they contains will be restored and will corrupt the local database. #Databases #Journaling #InterSystems IRIS 0 10 1 218
Question Norman W. Freeman · Jul 6, 2023 Are there any known causes of IRIS entering a deadlock/hang state? Based on your experience, do you know any reason why IRIS would enter a deadlock/hang state ? When such thing occurs, it's no more possible to connect to Portal or Studio, despite IRIS service (IRIS.EXE processes) being still active. CPU/memory/network usage are usually very low (eg: it does not occurs because server is overloaded). The only fix is a full restart of IRIS (eg: by clicking on IRIS icon in notification toolbar and choosing appropriate action). #InterSystems IRIS 0 6 0 200
Question Norman W. Freeman · Jun 9, 2023 Is there a way to retrieve a list of all globals that have been read/written in a given context (eg: CSP request) or time period ? Hello, I would like to get a list of all globals that have been read or written during a given context. In Portal, there are counters in dashboard that give the number of read/write to globals in general. What I am looking for : - some handler (eg: like $ZTRAP) that will be called everytime something is read/written to a global. - to activate a "global log mode" in Portal that will dump some information to a file (like ^ISCSOAP for SOAP requests). #Globals #Performance #InterSystems IRIS 1 2 0 182
Question Norman W. Freeman · May 7, 2023 Is there a limit to the number of processes IRIS can create to process concurrent requests ? I did some experiments on my local machine and found out that IRIS seems to associate each request (eg: CSP request) to a dedicated process named IrisDB.exe This process has 3 threads, and one of them seems to be the main working thread (that will the handle request). If I spawn many concurrent requests, the number of IrisDB processes on my local machine will grow (to make sure each request can be handled in parallel). It seems there is a limit : it will create no more than 64 processes to handle requests (eg: even if 100 concurrent requests are send to IRIS). #InterSystems IRIS 1 3 0 291
Question Norman W. Freeman · Apr 4, 2023 Why loading X509 credentials fails when called under context of a CSP request ? I use the following code to grab 509 certificate and show private key : #CSP #InterSystems IRIS 0 5 0 297
Question Norman W. Freeman · Mar 9, 2023 How to get a list of all classes of a given namespace ? I use the following query to get a list of all classes : #InterSystems IRIS 0 1 1 376
Question Norman W. Freeman · Feb 15, 2023 What is "~pointer" in globals, is there a way to see what is behind ? Out of curiosity, I was looking in ^ROUTINE global to see how routines are stored internally. I found out that lot of nodes are displaying "~pointer" as associated value (eg: instead of a string). What are those pointers ? My guess is that it references some cache internal structure (eg: some nodes inside a B-Tree). Is there a easily way to see what is behind ? Are pointers useful for user globals or is this something purely internal to Cache database ? #Databases #Globals #Caché #InterSystems IRIS 0 1 0 205
Question Norman W. Freeman · Feb 8, 2023 Why are "Exclusive_e->Delock" needed when saving persistent objects in a transaction ? (and can they be avoided) I use the following code (which is a simplified version of what happen on a server) : #Database Transaction Processing #InterSystems IRIS 0 6 0 193
Question Norman W. Freeman · Jan 19, 2023 Why is node ordering different between two environments ? I have noticed that the way the nodes are ordered is different between 2 different environments. If I create the following global : #Globals #Caché #InterSystems IRIS 0 5 0 190
Question Norman W. Freeman · Nov 29, 2022 Is there a way to modify %SYS classes for debugging purposes ? I got an error that occurs inside %CSP.Broker. That class is located inside %SYS namespace. I tried lot of things (including checking system logs) but ultimately what would really help would be to be able to modify that class to add my own logs into it. If I try to modify it, I got this error message: Item '%CSP.Broker' is mapped from a database that you do no have write permissions on. #InterSystems IRIS 0 5 0 398
Question Norman W. Freeman · Oct 12, 2022 How to check if on a file on a network shared folder is available/exists with a timeout ? I use the following code to check the last modified date of file which is on a network shared folder (eg: "\\someserver\subfolder\foobar.txt") #InterSystems IRIS 0 2 0 465