Portal Trace file monitoring in TREX
HI guys,
We have a problem with the trace file.
[16:30:22.078] trace_entries - Check completed, calling back to master and posting results...
[16:30:22.078] trace_entries - slave hollywood:30011 ok: 200
[16:30:22.092] trace_entries - response: OK - thanks
[16:30:22.812] open_handles - Check completed, calling back to master and posting results...
[16:30:22.828] open_handles - response: OK - thanks
[16:30:24.030] open_handles - slave summary result computed
[16:30:24.092] trace_entries - slave summary result computed
[16:33:22.030] open_handles - trigger slave hollywood:30011
[16:33:22.046] scheduler - Checks ran.
[16:33:22.046] trace_entries - trigger slave hollywood:30011
[16:33:22.078] http6616 - serving request /?slavestart
This trace file is repeated and filling the harddisk
Thus ultimately reducing the portal performance.
Any idea like which program in TREX generates this trace file ..etc
In general how to detect corresponding program of the trace file
will reward points for the good reply
regards,
vijay.
Hi Sanam,
For the TREX Preprocessor trace, You define the maximum file size for the input and output of documents in INI file - TREXPreprocessor.ini
The default size is set to 'Unlimited'
Please check the following values maintained in the configuration file.
Section: [ httpclient ]
Parameter: max_content_length
Default: Unlimited
Also read,
http://help.sap.com/saphelp_sm32/helpdata/en/1d/8d49cc304dd843a3a4a23d74888939/content.htm
Hope this is helpful.
Regards,
Varun
Similar Messages
-
Delete TREX Trace Files and Turn TREX Off
Hi ,
We have massive amounts of TREX trace files that are taking up all of the memory. How do I delete these files? How do I know what files to delete? Also we are not using TREX in our BI server, how do I turn this OFF so that these files and never created?
Note from Moderator- don't use all caps in title as it is seen as shouting
Thanks
Edited by: Marilyn Pratt on Jan 27, 2009 12:19 PMHi Sanam,
For the TREX Preprocessor trace, You define the maximum file size for the input and output of documents in INI file - TREXPreprocessor.ini
The default size is set to 'Unlimited'
Please check the following values maintained in the configuration file.
Section: [ httpclient ]
Parameter: max_content_length
Default: Unlimited
Also read,
http://help.sap.com/saphelp_sm32/helpdata/en/1d/8d49cc304dd843a3a4a23d74888939/content.htm
Hope this is helpful.
Regards,
Varun -
How to monitor user logs,security logs,trace file,and performance monitori
Hi guys,
pls tel me how to monitor user logs,security logs,trace file,and performance monitoring.
thanks
regards
kamalHi,
you can have a look in the Netweaver administration :
http://<portal>:<port>/nwa
Go to monitoring, Java system reports, etc..., you will find what you want.
Fabien. -
External portal capturing internal portal URL in Log and trace file
Hi,
We are facing one issue in portal like we have two portals for internal (Intranet) and external (Internet) users.
Once users logged in the application and try to get the information about mylink from the external portal link (internet) they should not get any information about the internal portal.
But in log and trace file we can see the external portal link capturing the internal portal URL.
We need to find, from where system capturing the internal portal URL.
Thanks.The tkproffed trace file is in seconds.
"set timing" is in hh:mi:ss.uu format. So 00:00:01.01 is 1.01 seconds.
You have to remember that most of these measurements are rounded. While your trace file says it contains one second of trace data, you know it's more.
One excellent resource for trace files is "Optimizing Oracle Performance" by Cary Millsap & Jeff Holt. (http://www.amazon.com/Optimizing-Oracle-Performance-Cary-Millsap/dp/059600527X ) I thought I knew trace files before, but this book brings your knowledge to a whole new level.
There is also an excellent WP by Cary Millsap ( http://method-r.com/downloads/doc_details/10-for-developers-making-friends-with-the-oracle-database-cary-millsap ) that gives you some insight. -
Unusuall TREX Trace file getting created..
Dear All
we have installed TREX and in TREX server its getting crating a tarace file TrexQueueServerAlert_myportalci.trc size of more than 30GB..
following is the extract of that file ..waht can be the reason for this huge trace file
Regards
Buddhike
[2700] 2008-12-17 16:34:47.158 e Qidx_publi QueueDocStore::getDocID(01189) : : DocNotFound
[2700] 2008-12-17 16:34:47.158 e Qidx_publi QueueDocStore::hasDocument(01235) : : DocIDMissing
[5296] 2008-12-17 16:34:51.111 e Qidx_publi QueueDocStore::getDocID(01189) : : DocNotFound
[4960] 2008-12-17 16:34:51.111 e Qidx_publi QueueDocStore::getDocID(01189) : : DocNotFound
[3772] 2008-12-17 16:34:51.111 e Qidx_publi QueueDocStore::getDocID(01189) : : DocNotFound
[6052] 2008-12-17 16:34:51.111 e Qidx_publi QueueDocStore::getDocID(01189) : : DocNotFound
[6052] 2008-12-17 16:34:51.111 e Qidx_publi DocStateStore.cpp(00570) : DocStateStore::getDocument(UDIV): udiv: 756, result: 4501
[6052] 2008-12-17 16:34:51.111 e Qidx_publi QueueDocStore::getDocID(01189) : : DocNotFound
[6052] 2008-12-17 16:34:51.111 e Qidx_publi QueueDocStore::hasDocument(01235) : : DocIDMissing
[6052] 2008-12-17 16:34:51.111 e Qidx_publi QueueDocStore::getDocID(01189) : : DocNotFound
[4960] 2008-12-17 16:34:51.111 e Qidx_publi QueueDocStore::getDocID(01189) : : DocNotFound
[5296] 2008-12-17 16:34:51.111 e Qidx_publi QueueDocStore::getDocID(01189) : : DocNotFound
[6052] 2008-12-17 16:34:51.111 e Qidx_publi Queue.cpp(04093) : Queue::preprocessMsg: preprocessing doc: not found
[5296] 2008-12-17 16:34:51.111 e Qidx_publi DocStateStore.cpp(00570) : DocStateStore::getDocument(UDIV): udiv: 756, result: 4501
[5296] 2008-12-17 16:34:51.111 e Qidx_publi QueueDocStore::getDocID(01189) : : DocNotFound
[5296] 2008-12-17 16:34:51.111 e Qidx_publi QueueDocStore::hasDocument(01235) : : DocIDMissing
[5296] 2008-12-17 16:34:51.111 e Qidx_publi QueueDocStore::getDocID(01189) : : DocNotFound
[3772] 2008-12-17 16:34:51.111 e Qidx_publi QueueDocStore::getDocID(01189) : : DocNotFound
[5296] 2008-12-17 16:34:51.111 e Qidx_publi Queue.cpp(04093) : Queue::preprocessMsg: preprocessing doc: not found
[3772] 2008-12-17 16:34:51.111 e Qidx_publi DocStateStore.cpp(00570) : DocStateStore::getDocument(UDIV): udiv: 756,Dear Michell
Thnx for your post..how can i change the trace levels in TREX..?
which trace level should i keep?
Regards
Buddhike -
Trace files generated by Portal
Our DBA has just sent me an email saying that Portal is generating "thousands of trace files" on the server with messages like this:
*** SESSION ID:(8.11147) 2002-08-05 15:46:12.338
Traverse response tree:
SOAP-ENV:Envelope:
SOAP-ENV:Body:
portal:initSessionResponse:
sessionTimeout:
1800
I've never had/seen this problem before. Anyone know how to prevent this?
Thanks
Rich ZapataNo version number and not enough information in what you posted to help you.
Did this just start?
If so what actions preceded it?
Or is this a new install?
Have you tried bouncing the instance?
If it were my system I would have already searched the knowledgebase at metalink and opened an SR if I couldn't find a solution. Did you? -
Too many trace files apparently created on behalf of Health Monitor
Every ~10 minutes I see two pairs of trc+trm files that appear to be nothing more than a nuisance. A nuisance because if you don't get rid of them, then commands such as "ls -lt | head" take too long to complete. Even after setting disablehealth_check=true, the files still keep coming. The only thing I can find is a correspondence between the rows in v$hm_run and these trace files.
The RDBMS appears to be working fine and there's nothing in the alert log that would explain their existence. Having said that, I'll go ahead and admit that I don't these are false negatives but it sure looks like they are.
Below is a sample of the two trace files in the 4 files that get created every 10 minutes. Thanks.
Here is V11106_m001_8138.trc (including the preamble)
Trace file /opt/oracle/diag/rdbms/v11/V11106/trace/V11106_m001_8138.trc
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORACLE_HOME = /opt/oracle/product/11.1.0.6
System name: Linux
Node name: rhel01.dev.method-r.com
Release: 2.6.18-92.1.13.el5xen
Version: #1 SMP Thu Sep 4 04:20:55 EDT 2008
Machine: i686
Instance name: V11106
Redo thread mounted by this instance: 1
Oracle process number: 26
Unix process pid: 8138, image: [email protected] (m001)
*** 2009-04-03 00:31:36.650
*** SESSION ID:(139.36) 2009-04-03 00:31:36.650
*** CLIENT ID:() 2009-04-03 00:31:36.650
*** SERVICE NAME:(SYS$BACKGROUND) 2009-04-03 00:31:36.650
*** MODULE NAME:(MMON_SLAVE) 2009-04-03 00:31:36.650
*** ACTION NAME:(DDE async action) 2009-04-03 00:31:36.650
========= Dump for error ORA 1110 (no incident) ========
----- DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (Async) -----
Here is V11106_m000_8136.trc (minus the preamble)
*** 2009-04-03 00:31:36.471
*** SESSION ID:(139.34) 2009-04-03 00:31:36.471
*** CLIENT ID:() 2009-04-03 00:31:36.471
*** SERVICE NAME:(SYS$BACKGROUND) 2009-04-03 00:31:36.471
*** MODULE NAME:(MMON_SLAVE) 2009-04-03 00:31:36.471
*** ACTION NAME:(Monitor Tablespace Thresholds) 2009-04-03 00:31:36.471
DDE rules only execution for: ORA 1110
----- START Event Driven Actions Dump ----
---- END Event Driven Actions Dump ----
----- START DDE Actions Dump -----
----- DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (Async) -----
Successfully dispatched
----- (Action duration in csec: 1) -----
----- END DDE Actions Dump -----Oracle Database 11g by Sam R. Alapati, Charles Kim seems to be a better resource. Here's a link.
http://books.google.com/books?id=14ZH0eZV6G8C&pg=PA60&lpg=PA60&dq=oracle+disable+adr&source=bl&ots=brbhVP05RD&sig=WpaASLcGzJHgBB8Q-RqHu0Efy3k&hl=en&ei=AybaSemkNJSwywWSptXuDg&sa=X&oi=book_result&ct=result&resnum=7#PPA81,M1
When I list hm rows (from x$dbkrun I presume), it shows this detail (which repeats many, many times)
HM RUN RECORD 1
RUN_ID 184481
RUN_NAME HM_RUN_184481
CHECK_NAME DB Structure Integrity Check
NAME_ID 2
MODE 2
START_TIME 2009-04-05 22:44:43.385054 -05:00
RESUME_TIME <NULL>
END_TIME 2009-04-05 22:44:43.718198 -05:00
MODIFIED_TIME 2009-04-05 22:44:43.718198 -05:00
TIMEOUT 0
FLAGS 0
STATUS 5
SRC_INCIDENT_ID 0
NUM_INCIDENTS 0
ERR_NUMBER 0
REPORT_FILE <NULL>
The corresponding data from v$hm_run (and the view definition itself) show that status = 5 means 'COMPLETED'. The interesting thing is that RUN_MODE.RUN_MODE is 'REACTIVE'. This seems to say that it's not a proactive thing. But if something is reacting, then why is it showing no error (i.e., ERR_NUMBER = 0)? -
Best practice to reduce size of BIA trace files
Hi,
I saw alert on BIA monitor says 'check size of trace files'. Most of my trace files are above 20MB. I clicked on details it says "Check the size of your trace files. Remove or move the trace files with the memory usage that is too high or trace files that are no longer needed."
I would like to reduce them these trace files but not sure what is the safetest way to do it. Any suggestion would be appreciated!
Thanks.
MimosaMimosa,
Let's be clear here first. The tracing set via sm50 is for tracing on the ABAP side of BI not the BIA.
Yes, it is safe to move/delete TrexAlertServer.trc, TrexIndexServer.trc, etc from the OS level. You can also right click the individual trace when you enter the "Trace" tab in the TREX Admin Tool (python) and I believe there is options to delete them there but it is certaintly OKAY to do this on the OS level. They are simply recreated when new traces are generated.
I would recommend that you simply .zip the files and move the .zip files to another folder in case SAP support may need them to analyze an issue. As long as they aren't huge, and if hard disk space permits, this shouldnt be an issue. After this you then will need to delete the trace file. It is important that if a trace file has an open handle registered to it then it wont let you delete/move it. Therefore it might be a good idea to do this task when system activity is low or non-existent.
2 things also to check:
1. Make sure the python trace is not on.
2. In the python TREXAdmin Tool, check the Alerts tab and click "Alert Server Configuration". Make sure the trace level is set to "error".
Hope that helps. As always check the TOM for any concerns:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/46e11c10-0e01-0010-1182-b02db2e8bafb
Edited by: Mike Bestvina on Apr 1, 2008 3:59 AM - revised some statements to be more clear -
Timestamp in Java log and trace files.
Hi SAP'ies
Running PI 7.11 on AIX 6.3 we face an issue with the content of log and trace files from Java.
Eg.
The file DefaultTrace_00.0.trc is timestamped 18-05-10 11:16:15. (The same time as the time of the OS/AIX)
Looking inside the file the last statement is timestamped 2010 05 18 09:16:15.
How can we ensure that the content of these Java files are timestamped with OS time?
Looking into ABAP files like dev_w0 the timestamp of the file and the content are equal.
Best regards,
Teddy Løv AndersenHello All
Best way to convert the default trace time is , visit the site
http://www.csgnetwork.com/epochtime.html
here enter , for example if you have the following in default trace
#1.#00265510DE7300120000000F000022030004C77AD7309DF5#1345230317066#com.sap.portal.fpn.rdl
1345230317066 is time stamp , enter this in the above site to get the time
Fri Aug 17 2012 21:05:17 GMT+0200
Regards -
How to find the problem in EP trace file?
Hi
Last week all the role assignments to users under LDAP datasource got deleted from the portal. We have reuploaded the role assigmnet. Now got the trace files from the server. How to check what happend on that day ?
When all roles assignmnets gone?
Any Keywords to help!
Thanks!
Dhiya.JHi both,
I got the trace file already from J2EE server. Im struggling to find out anything from the trace file ..
How to check when role assignments got deleted ?
any LDAP configuration changes ?
<!LOGHEADER[START]/>
<!HELP[Manual modification of the header may cause parsing problem!]/>
<!LOGGINGVERSION[1.5.3.7185 - 630]/>
<!NAME[./log/defaultTrace.trc]/>
<!PATTERN[defaultTrace.trc]/>
<!FORMATTER[com.sap.tc.logging.ListFormatter]/>
<!ENCODING[UTF8]/>
<!FILESET[6, 20, 10485760]/>
<!PREVIOUSFILE[defaultTrace.5.trc]/>
<!NEXTFILE[defaultTrace.7.trc]/>
<!LOGHEADER[END]/>
#1.5 #0018FE349B47007000000C1900001A200004939077FC1A8D#1288148604431#System.err#sap.com/irj#System.err#gmbeqy#17773####c35ae9f0e17611df93420018fe349b47#SAPEngine_Application_Thread[impl:3]_7##0#0#Error##Plain### at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)#
#1.5 #0018FE349B47007000000C1A00001A200004939077FC1DC9#1288148604431#System.err#sap.com/irj#System.err#gmbeqy#17773####c35ae9f0e17611df93420018fe349b47#SAPEngine_Application_Thread[impl:3]_7##0#0#Error##Plain### at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)#
11d30a40e26211dfaa7e0018fe349b47#SAPEngine_Application_Thread[impl:3]_21##0#0#Error##Plain###Caused by: java.lang.NullPointerException#
#1.5 #0018FE349B470059000004C300001A20000493A816802148#1288250048138#com.sap.security.core.imp#sap.com/tcwddispwda#com.sap.security.core.imp.[cf=com.sap.security.core.imp.User][md=init][cl=22052]#gmrnis#29282##sghrppr1.sgh.shs_PPH_15804951#gmrnis#e42beac1e26211dfa6230018fe349b47#SAPEngine_Application_Thread[impl:3]_28##0#0#Error##Java###Error while populating "USER.CORP_LDAP.cn=norsheha bte ismail,ou=mro - hims,ou=sgh,dc=sgh,dc=shs,dc=com,dc=sg"
[EXCEPTION]
#1#com.sap.security.core.persistence.datasource.PersistenceException: [LDAP: error code 32 - 0000208D: NameErr: DSID-031001BD, problem 2001 (NO_OBJECT), data 0, best match of:
'DC=sgh,DC=shs,DC=com,DC=sg'
at com.sap.security.core.persistence.datasource.imp.LDAPPersistence.populatePrincipalDatabag(LDAPPersistence.java:1456)
at com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.getPrincipalDatabag(PrincipalDatabagFactoryInstance.java:2307)
at com.sap.security.core.imp.User.init(User.java:244)
at com.sap.security.core.imp.AbstractPrincipal.<init>(AbstractPrincipal.java:186)
at com.sap.security.core.imp.Principal.<init>(Principal.java:64)
at com.sap.security.core.imp.User.<init>(User.java:213)
at com.sap.security.core.imp.User.<init>(User.java:203)
It keeps on going like this ... any key word to search?
Thanks! -
Automatic deletion of old archive files and trace files
I've got a database that must run 24x7 without being monitored by a DBA.
Two questions:
1. Is it possible to get Oracle to automatically delete and uncatalog old archive files?
2. Is it possible to get Oracle to automatically delete old trace files located in udump and bdump?
Thanks in advance1. When you say 'uncatalog old archives do you mean that your database is backed up using RMAN and a catalog? If this is the case then RMAN can delete the backed up archives for you. Just add 'delete input' to the end of the 'backup archive log...' line in your backup script.
2. Oracle can't delete the trace files. Best way is to write a script that delete all files older than X days and schedule it to run every night. -
Hi
I want to get complete information on the "exit codes" in SAP MMC for various server and other processes.
And also want to know that what are the various log files and trace file .what kind of logs/information they provide and if the Portal has been restarted then is there any way to find at what time the portal was down.
Thanks in Advance
Ajay SandalHi Ajay,
For Exit Codes
SDM Exit code 16
NW App Svr dies with SP06 upgrade
NW2004sSP7 Preview installation
Cannot start J2EE and the return code = 66
Deploy Service doesn't start
SDM Error
By the way
Logs file can be seen at
http://help.sap.com/saphelp_nw04/helpdata/en/f6/6fff40e39ba854e10000000a1550b0/content.htm
/usr/sap/SID/JCxx/j2ee/cluster/server0/log/defaulttrace.trc
Thanx
Pankaj -
Hello experts, for our Netweaver AS administration, I am in charge of periodically checking logs and trace files. I would like to know which are the most useful logs and trace files and the information each one will hold. I am familiar with "DefaultTrace.trc", and as of today it is the only one I have used, but I believe I should also be looking at other logs and trace files.
Any suggestions?Hi Pedro,
If you are talking about JAVA only system defaulttrace is the best log/trace to look, there are other log files like application log, but maybe the best way to check you logs is using NWA (NetWeaver Administrator) on the following URL on your JAVA system:
http://<hostname>:<port>/nwa
From there you need to go to Monitoring -> Logs and Traces and then Predefined View/SAP logs.
My other recommendation is to change the severity level to ERROR for all you JAVA component within the Visual Administrator -> ServeNode -> Services -> Log Configurator -> Locations, otherwise it is possible that you see a lot of garbage on the defaulttraces. Anyway you can change the severity level per component, on demand, to investigate any possible problem.
The work directory is very imporant and maybe you can also check the file "dev_serverX" that also will give you information about any out of memory conditions and garbage collection activity if you have these values set for the server node using the config tool:
-verbose:gc
-XX:+PrintGCDetails
-XX:+PrintGCTimeStamps
You can find more information on here:
http://help.sap.com/saphelp_nw70/helpdata/en/ac/e9d8a51c732e42bd0e7de54b9ff4e2/content.htm
Hopefully this help you, let me know if you need more information,
Zareh -
How to configure logs and trace files
Hello people,
We have just implemented ESS-MSS, we have around 25000 people using this service and every 2 days my logs and trace file in server gets full and portal gets down.
Please suggest how to solve this problem,how can i reduce trace and log files,,,,,any configuration or setting is there to configure this...please suggest and explain how can it be done.
BirenHi,
You can control what messages gets logged depending on the severity.
This can be configured using Log Configurator, check this how you can set severity to different locations.
Netweaver Portal Log Configuration & Viewing (Part 1)
Regards,
Praveen Gudapati -
Diff between Log files and Trace files
hi
What is the exact differences between Log Files and Trace Files.
And the relevant informative URL/reference materils would be highly appriciated.
Thanks
SekharHi,
Go through these,
http://help.sap.com/saphelp_nw04/helpdata/en/d1/7b1e40777cdd5fe10000000a155106/frameset.htm
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0bf8c890-0201-0010-8b8c-fc93fa1f4795
Hope it clarifies
Regards
Srinivasan T
Maybe you are looking for
-
What type of files can I open in Photoshop Touch?
Can I open a PSD file that I created in Photoshop (on my desktop computer) in PS Touch (on my tablet)?
-
Hi, I am Meena. I am doing a project using NetBeans and MS-Access. When I run my project a internal framed named login loaded on the jdesktoppane which in JFrame. So in the login internal frame i used two buttons one for Sign-in and another for sign
-
MP3 files being used by MAC OS X and cannot be opened?
I'm setting up my play lists in ITunes 7.0.2 on my Macbook and I started realizing a few songs where missing. The MP3 files are in my music folder but do not show up in ITunes. When I click on the in the music directory it gives me the following mess
-
Can I place pdf files on an iCloud document library
Am using External hard drive to play studioquality FLAC files through my hifi. Imac used to download and manage files from manufacturer of cds and shared to external hard drive (Audioglu). Ipad used to play files via homehubs and airport express. wan
-
Whenever I access the iTunes store, the homepage loads without a problem. If I try to browse for music, I do not have any problems either. Once I click a link from the browse menu or the homepage, iTunes immediately starts using 100% of my processor