SMD agents occupying too many session in java system
Hello All,
I can see SMD agent occupying too many sessions in the Java instance.
Due to this all the available sessions are getting occupied and system performance is degrading
Hi Rajesh,
Please increase the sessions and share more details on the performance so as to provide guidelines.
Regards,
Deepak Kori
Similar Messages
-
Too many session in the AS java server node?
I have install a Netweaver JAVA portal system for customer , this is cluster system one CI and 10 DIs, I found there are too many active session in each server node , I konw , the user can login anyone instance through the web dispatcher , but I found nearly 3000 active session in each server node after a work day in average, and there are too many iterative session , sometime one user can have 30-40 session in each server node after a work day .
I think the memmory is critical if there are have too many session , and sometimes, the log off fution of portal can't work ,so I decided to set a time-out parameter of the session (4 hours),but this is active method to delete the session of the user ,no matter the user is working with system .
Who can tell me how to effective control and enhance user's session managment of Netweaver Java server .Check note 873190 or 376915
thanks
G. Lakshmipathi -
Hi All,
Need help from you all......I have run into lot of session beans... This is because I am developing an application where I extensively uses ValuechangeEvents.
In my application owing to ValueChangeEvents, a page normally gets refreshed more than one time and i need to get the values before the page refresh. So my backing beans are session scoped.
Following thread also talks about the same thing:
http://forum.java.sun.com/thread.jspa?threadID=705668&messageID=4364186
I get very similar NoSuchElementException as described in the link above .
Too many session beans per user will surely cause performance issues. Is this true?
A combination of session and request bean sounds good but it is not that straightforward. I cant keep on storing everything in the session bean common to all of my pages.
Please help and suggest some solution. Can I invalidate a session bean after the user moves to another page?
Please suggest.I am getting the following exceptions........does not seem to have changed much after doing saveState.Using tomahawk-1.1.6.jar
java.lang.IllegalArgumentException
javax.faces.component.SelectItemsIterator.next(SelectItemsIterator.java:127)
javax.faces.component.SelectItemsIterator.next(SelectItemsIterator.java:122)
javax.faces.component.UISelectOne.matchValue(UISelectOne.java:141)
javax.faces.component.UISelectOne.validateValue(UISelectOne.java:114)
javax.faces.component.UIInput.validate(UIInput.java:634)
javax.faces.component.UIInput.executeValidate(UIInput.java:838)
javax.faces.component.UIInput.processDecodes(UIInput.java:383)
javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:872)
javax.faces.component.UIForm.processDecodes(UIForm.java:144)
javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:872)
javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:306)
org.ajax4jsf.framework.ajax.AjaxViewRoot.access$001(AjaxViewRoot.java:53)
org.ajax4jsf.framework.ajax.AjaxViewRoot$1.invokeRoot(AjaxViewRoot.java:254)
org.ajax4jsf.framework.ajax.JsfOneOneInvoker.invokeOnRegionOrRoot(JsfOneOneInvoker.java:54)
org.ajax4jsf.framework.ajax.AjaxContext.invokeOnRegionOrRoot(AjaxContext.java:176)
org.ajax4jsf.framework.ajax.AjaxViewRoot.processDecodes(AjaxViewRoot.java:267)
com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:79)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
<h:selectOneRadio id="filter_tskg"
value="#{MyBean.filterValue}" dir="ltr"
onclick="this.form.target='_self';submit();"
immediate="true"
valueChangeListener="#{MyBean.onFilterChange}">
<f:selectItems value="#{MyBean.filterOptions}" />
<t:saveState value="#{MyBean.filterValue}" />
<t:saveState value="#{MyBean.filterOptions}" />
</h:selectOneRadio> -
Dear All,
I am using Oracle 9i ver.2. on Windows Advance server 2003. I have observed that for a single user too many sessions are active, whereas he is running a single application. I even tried to test that when all the users are gone, even then the sessions are active resulting in low performance. I have set all the parameters in the user_profile accordingly but the problem is still there. Sometimes, I have to manual kill all those sessions.
Can anyone guide me out.
Best regards,
Khurram wazir.A session is only going to be marked as ACTIVE in v$session and will only consume resources when it is actually executing a query. If multiple sessions are being created and multiple sessions are active, that may imply that the application(s) you are using are opening and using multiple connections, possibly issuing queries in different threads. It may also mean that you have an application that is not closing connections and/or terminating queries appropriately. You would need to debug the application if this is the case to identify the source of the bug.
Justin -
Hi! Im getting this error when Im trying to "launch" ocs popup from Collab suite index (content/index.jspx)
Error
You have too many sessions for a user. Disconnect some sessions and try again.
How can I fix this?Yes, I opened a TAC case with Cisco and they have confirmed that this is a bug. Looks like it will be fixed in the next release mid february. v2.13 will fix the issue.
-
You have too many sessions open. Please close one and execute the workitem.
Hi all,
I am new to Portal.
we have a SAP Inbox Iview that works fine, but the problem is when the user try to execute Purchase Requicition Approval, the error "You have too many sessions open. Please close one and execute the workitem." appears. What really bothers me is that the error appears as IE error message but the detail of the error looks like SAP.
Your help will be appreciated.wanda89 wrote:
Most started out with 200-250 limits and now are at 1,000 or more in less than a year.Well, as noted, store cards can be a building tool and as I understand it you have been in that process for about a year and congrats on your progress. That said, I would not be applying for any additional store cards if there is not a specific need for it. This is not the type of credit you want in your profile in the long run. With regard to closing them: I don't know how this will affect your UTIL as I am not aware of your other cards limits however there are many people that have closed these types of cards when they determined there was no use for them, they were not needed any more, they were not the type/quality of cards they wanted to have in the long run, and lastly the history of that card would remain on their report for 10 years. Some bare bones info and the affects of closing cards: http://ficoforums.myfico.com/t5/Credit-Cards/Closing-Credit-Cards/td-p/347190 All that said, while the above lists the math of it all, if you will, it does not speak to the aspect of quality. As you continue to grow, how do you want your profile to look to lenders? Do you want to have 10 low quality store cards won by the credit card trick with limits in the 1k range that you may never use and can't really use substantially anyway as your UTIL would go through the roof very quickly with a 1k limit or do you want a lower number of high quality cards with healthy limits that will continue to grow overtime if you show them the respect they deserve? -
IView BSP open too many sessions
I'm using SAP EP 6.0 NetWeaver 04 and SAP ERP 2005 : ECC 6.0.
I have create a BSP IView in my Portal to access an BSP application in SAP ERP 2005.
When I test it, the IView open too many sessions and then the ICM Server is not available. The server is Overload !!!
How can I configure the IView to open only one session ?
Have you got an idea ?
Thank you very much.
Regards,
MathieuHi Mathieu,
I am not very familiar with BSP iViews and BSP applications but you describe a problem that sounds quite familiar to me.
We were running a custom application on a SAP EP 6.0 NetWeaver 04. It happend that a short time after a user started to test the application the dispatcher crashed. The crash was caused by too many sessions requested by that single user. We could not explain where the session requests came from and did some investigation.
We observed that the problem occurred only if the user used the MS Internet Explorer 6.0, the request was routed via a certain proxy server (MS ISA Server) and the protocol used was HTTPS.
To analyze the problem try an alternative browser and have a look into your network. Try to route the request differently. Try another protocol.
Best regards,
Martin -
Linux Error: 23: Too many open files in system
I crashed the my oracle instance with the following error:
Tue Feb 13 22:15:16 2001
Errors in file /home/oracle/product/8.1.6/admin/v2qa1/bdump/lgwr_14175.trc:
ORA-00313: open failed for members of log group 2 of thread 1
ORA-00312: online log 2 thread 1: '/db03/v2qa1/system/log/redo02.log'
ORA-27041: unable to open file
Linux Error: 23: Too many open files in system
Additional information: 2
LGWR: terminating instance due to error 313
Instance terminated by LGWR, pid = 14175
Is the number of open files adjustable?
Why am I opening files?
Could the fact that our java stored procedures are trying, unsuccessfully, be leaving files open?
Thanks - Craig
nullincreasing the oracle users ulimit to unlimited fixed that error for me. Type
ulimit -a
and look at the open files parameter. See your linux doc's to increase it to unlimited (will probably be increased from 1024 to 4096). -
Too many open files in system cause database goes down
Hello experts I am very worry because of the following problems. I really hope you can help me.
some server features
OS: Suse Linux Enterprise 10
RAM: 32 GB
CPU: intel QUAD-CORE
DB: There is 3 instances RAC databases (version 11.1.0.7) in the same host.
Problem: The database instances begin to report Error message: Linux-x86_64 Error: 23: Too many open files in system
and here you are other error messages:
ORA-27505: IPC error destroying a port
ORA-27300: OS system dependent operation:close failed with status: 9
ORA-27301: OS failure message: Bad file descriptor
ORA-27302: failure occurred at: skgxpdelpt1
ORA-01115: IO error reading block from file 105 (block # 18845)
ORA-01110: data file 105: '+DATOS/dac/datafile/auditoria.519.738586803'
ORA-15081: failed to submit an I/O operation to a disk
At the same time I search into the /var/log/messages as root user and I the error notice me the same problem:
Feb 7 11:03:58 bls3-1-1 syslog-ng[3346]: Cannot open file /var/log/mail.err for
writing (Too many open files in system)
Feb 7 11:04:56 bls3-1-1 kernel: VFS: file-max limit 131072 reached
Feb 7 11:05:05 bls3-1-1 kernel: oracle[12766]: segfault at fffffffffffffff0 rip
0000000007c76323 rsp 00007fff466dc780 error 4
I think I get clear about the cause, maybe I need to increase the fs.file-max kernel parameter but I do not know how to set a good value. Here you are my sysctl.conf file and the limits.conf file:
sysctl.conf
kernel.shmall = 2097152
kernel.shmmax = 17179869184
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 6553600
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 4194304
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 4194304
limits.conf
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536process limit
bcm@bcm-laptop:~$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 20
file size (blocks, -f) unlimited
pending signals (-i) 16382
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) unlimited
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited -
Note 368612.1 - DB Control Agent Crash : Too many files
Hi
I have a 2 node RAC
The RAC DB Control agent crash after about 4 hours of running.
Base on my check in Metalink I identified it as a bug (See note 368612.1)
The agents will open the hc_<inst>.dat file hundreds of times with new file handles before it crashes.
I cannot stop the database for patch installation.
But I propose to run a cronjob that starts the agent and stops it after maybe 1 hour.
This stop / start cronjob will maybe run once every few hours.
This will prevent the agent from opening too many files and crash.
What do you guys think of this ?Um, have you tried the fix in the note you provided?!?!?
-
Too many sessions inserting in table
Hi All
I am new to batch programs processing .Please help me on this.
I have an application in which more than 1 session
will try to insert millions of recrds in the same table.
I need to know what care should I take for this.
Will tables be locked or I do not need to wory about this
Further in the program , one application may delete certain lacs of records while
other session might still be inserting into it
WHat do I do in this case.
Also if one session is trying to update while other session is inserting/deleting records
then what care do I take
Thanks
Ashwin N.It is a very bad idea to have more than one session attempt to insert millions of rows (if that is a literal statement of requirement). In you have paid for it use the Parallel Server option, but always try to have only a single batch process running unless it is absoultely unavoidable. Otherwise you are increasing the risk of latch contention both for the table itself and also rollback segemnts.
Other things to check (these are database type things):
- have big rollback segment assigned to batch session;
- consider committing every 1000 records to cut down on rollback usage;
- if you're really going to have several sessions doing monster inserts like this give your table lots of freelist groups;
- make sure the table and its indexes have enough empty space by pre-assigning extents
- make sure that the tablespaces are big enough in case additional extents are required
As for row contention: rows you insert cannot locked by someone else nor are they affected by someone else inserting, updating or deleting other rows (although you might suffer from block header contention) unless that other session has issued a LOCK TABLE statement. Only once you have committed your insert will other sessions be able to see, update and delete your new rows (because Oracle doesn't support DIRTY_READ :-) )
One way of reading your question is that you think someone may be trying to delete the records you're inserting. I hope that's not the case but if it is someone ought to have a look at the business model.
rgds, APC -
Scalability Issues - Too Many Active Sessions?
Hello,
I'm having an issue with an application I built for one of the campuses at the college I work at. The application is a queuing system where there are stations for students to check in, admin stations where staff can see these students and "call" them, and displays outside each employees office that shows the student that was called. There are about 20 of these last type of display panels. I have the following code in my page footer to poll the DB for the most recent called student for a specific room:
<script type="text/javascript">
<!--
var refresh_region = function( workstation_in, div_in ) {
$.get(
'wwv_flow.show',
{"p_request" : 'APPLICATION_PROCESS=F_NEXT_STUDENT',
"p_flow_id" : $v('pFlowId'), //app id
"p_flow_step_id" : $v('pFlowStepId'), //page id
"p_instance" : $v('pInstance'), //session id
"x01" : workstation_in
function(data) {
$(div_in).html(data);
setTimeout(function() { refresh_region( workstation_in, div_in ) }, 5000);
refresh_region( '&P7_WORKSTATION_IN.', '#next_student_div' );
//-->
</script>The OnDemand process, F_NEXT_STUDENT runs the following query and returns the result:
select a.FIRST_NAME || ' ' || a.LAST_NAME
into full_name
from ONESTOP_QUEUE a
where a.WORKSTATION_ID_CALLED = in_workstation_id
and a.STATUS = 'CALLED'
and a.QUEUE_ID = (
select min( c.QUEUE_ID )
from ONESTOP_QUEUE c
where c.WORKSTATION_ID_CALLED = in_workstation_id
and c.STATUS = 'CALLED');However, when all of these display panels are turned on (and I use code like this in other pages for similar purposes) the application becomes sluggish and eventually unresponsive. At first we had the application running off a box with Oracle XE. We eventually migrated to a full blown 11g install with APEX Listener and GlassFish. My DBA says everything looks ok on the DB side so I've been trying to dig in other areas to see where the bottleneck may be. After inspecting the Active Sessions report in APEX, I saw that there's a ton of connections being generated (> 30,000). This doesn't seem like a good thing to me and I'm trying to figure out what I'm doing wrong.
At first I was using $.post() instead of $.()get. I was also using setInterval() instead of a setTimeout() loop. However, none of these changes seemed to really help the situation much. I'm at a loss for how else to improve the performance of this application. Any suggestions on what I can try?
Most of the app's functionality is on apex.oracle.com
WORKSPACE: SCCC_TEST
USER/PASS: TEST/test
Direct URL to the page (I pass in the worksation ID): http://apex.oracle.com/pls/apex/f?p=65890:7:0::::P7_WORKSTATION_IN:ADMISSIONS_1
Thanks in advance for any help.Hi Patrick,
UPDATE as of 3PM Eastern:
This afternoon all users lost the ability to connect to the application. My DBA is still reviewing logs but it seems that the error isn't on the DB side. The application came back up after he restarted the Apex listener. We found a bunch of the following error in the Glassfish server.log file:
[#|2013-02-25T14:34:39.021-0500|WARNING|oracle-glassfish3.1.2|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=11;_ThreadName=Thread-2;|GRIZZLY0023: Interrupting idle Thread: http-thread-pool-80(73).|#]The max threads is currently set to 100.
After we came back up I went to page 4350:45 and cleared out all sessions. After a couple minutes I rechecked the number of sessions on this page:
Total Sessions: 27,674
Distinct Users over all sessions = 2
Sessions older than 15 minute(s) = 4Seems like way too many sessions to have after just a couple minutes.
End UPDATE
Again, thank you for taking the time to reply. Everything seems to be working fine for the past couple days, but I figured I'd provide some current data, especially since I'm still curious about all these "sessions".
Are we talking about page 4350:45 which shows the following information
Total Sessions: 9
Distinct Users over all sessions = 4
Sessions older than 1 day(s) = 0
Where does it show 17,400 sessions for you? It almost appears that your daily APEX jobs are not running which do normally purge old APEX sessions automatically. See http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35129/dbms_jobs001.htm
Yes, this was the page I was referring to. I just checked it now and it showed me the following:
Total Sessions: 10,236
Distinct Users over all sessions = 2
Sessions older than 1 day(s) = 0And it does appear that the APEX jobs are running since there are no sessions older than 1 day... unless I'm interpreting this information incorrectly.
Also, I was able to get some more data regarding page loading using the Debug info:
14763 7751818952614 nobody 101 7 show 46 4 seconds ago 0.0000
14760 7751818952614 nobody 101 7 show 46 9 seconds ago 0.5300
14757 7751818952614 nobody 101 7 show 46 14 seconds ago 0.0150
14754 7751818952614 nobody 101 7 show 46 19 seconds ago 0.0160
14751 7751818952614 nobody 101 7 show 46 24 seconds ago 0.0160
14748 7751818952614 nobody 101 7 show 46 29 seconds ago 0.0160
14745 7751818952614 nobody 101 7 show 46 34 seconds ago 0.0160
14742 7751818952614 nobody 101 7 show 46 39 seconds ago 0.0160
14739 7751818952614 nobody 101 7 show 46 44 seconds ago 0.0160
14736 7751818952614 nobody 101 7 show 46 49 seconds ago 0.0160
14733 7751818952614 nobody 101 7 show 46 54 seconds ago 0.0160
14730 7751818952614 nobody 101 7 show 46 59 seconds ago 0.0000
14727 7751818952614 nobody 101 7 show 46 64 seconds ago 0.0160
14724 7751818952614 nobody 101 7 show 46 69 seconds ago 0.0160
14721 7751818952614 nobody 101 7 show 46 74 seconds ago 0.0160
14718 7751818952614 nobody 101 7 show 46 79 seconds ago 0.0160
14715 7751818952614 nobody 101 7 show 46 84 seconds ago 0.0150
14712 7751818952614 nobody 101 7 show 46 89 seconds ago 0.5300
14709 7751818952614 nobody 101 7 show 46 94 seconds ago 0.0000
14706 7751818952614 nobody 101 7 show 46 99 seconds ago 0.0150
14703 7751818952614 nobody 101 7 show 46 104 seconds ago 0.0150
14700 7751818952614 nobody 101 7 show 46 109 seconds ago 0.0150
14697 7751818952614 nobody 101 7 show 46 114 seconds ago 0.0150
14694 7751818952614 nobody 101 7 show 46 119 seconds ago 0.0160
14691 7751818952614 nobody 101 7 show 46 2 minutes ago 0.5310
14688 7751818952614 nobody 101 7 show 46 2 minutes ago 0.5300
14685 7751818952614 nobody 101 7 show 46 2 minutes ago 0.5150
14682 7751818952614 nobody 101 7 show 46 2 minutes ago 0.5300
14679 7751818952614 nobody 101 7 show 46 2 minutes ago 0.5300
14676 7751818952614 nobody 101 7 show 46 2 minutes ago 0.5300
14673 7751818952614 nobody 101 7 show 46 3 minutes ago 0.0000
14670 7751818952614 nobody 101 7 show 46 3 minutes ago 0.5930
14667 7751818952614 nobody 101 7 show 46 3 minutes ago 0.5300
14664 7751818952614 nobody 101 7 show 46 3 minutes ago 0.5460So I'm seeing a page load time of ~0.016 or ~0.53. When I click on the details for one of the longer page view, I get the following:
0.00000 0.00000 S H O W: application="101" page="7" workspace="" request="APPLICATION_PROCESS=F_NEXT_STUDENT" session="7751818952614" 4
0.00000 0.04700 Reset NLS settings 4
0.04700 0.03100 alter session set NLS_LANGUAGE="AMERICAN" 4
0.07800 0.03100 alter session set NLS_TERRITORY="AMERICA" 4
0.10900 0.01600 alter session set NLS_CALENDAR="GREGORIAN" 4
0.12500 0.03100 alter session set NLS_SORT="BINARY" 4
0.15600 0.00000 alter session set NLS_COMP="BINARY" 4
0.15600 0.00000 ...NLS: Set Decimal separator="." 4
0.15600 0.00000 ...NLS: Set NLS Group separator="," 4
0.15600 0.00000 ...NLS: Set g_nls_date_format="DD-MON-RR" 4
0.15600 0.00000 ...NLS: Set g_nls_timestamp_format="DD-MON-RR HH.MI.SSXFF AM" 4
0.15600 0.03100 ...NLS: Set g_nls_timestamp_tz_format="DD-MON-RR HH.MI.SSXFF AM TZR" 4
0.18700 0.00000 NLS of database and client differs, characterset conversion needed 4
0.18700 0.01600 ...Setting session time_zone to -05:00 4
0.20300 0.03100 Reset NLS settings 4
0.23400 0.03100 alter session set NLS_LANGUAGE="AMERICAN" 4
0.26500 0.01600 alter session set NLS_TERRITORY="AMERICA" 4
0.28100 0.03100 alter session set NLS_CALENDAR="GREGORIAN" 4
0.31200 0.03100 alter session set NLS_SORT="BINARY" 4
0.34300 0.00000 alter session set NLS_COMP="BINARY" 4
0.34300 0.00000 ...NLS: Set Decimal separator="." 4
0.34300 0.00000 ...NLS: Set NLS Group separator="," 4
0.34300 0.00000 ...NLS: Set g_nls_date_format="DD-MON-RR" 4
0.34300 0.00000 ...NLS: Set g_nls_timestamp_format="DD-MON-RR HH.MI.SSXFF AM" 4
0.34300 0.01600 ...NLS: Set g_nls_timestamp_tz_format="DD-MON-RR HH.MI.SSXFF AM TZR" 4
0.35900 0.03100 ...Setting session time_zone to -05:00 4
0.39000 0.03100 Setting NLS_DATE_FORMAT to application date format: DD-MON-YYYY HH:MIPM 4
0.42100 0.01600 Setting NLS_TIMESTAMP_FORMAT to application timestamp format: DD-MON-YYYY HH:MIPM 4
0.43700 0.03100 Setting NLS_TIMESTAMP_TZ_FORMAT to application timestamp time zone format: DD-MON-YYYY HH:MIPM 4
0.46800 0.00000 ...NLS: Set g_nls_date_format="DD-MON-YYYY HH:MIPM" 4
0.46800 0.00000 ...NLS: Set g_nls_timestamp_format="DD-MON-YYYY HH:MIPM" 4
0.46800 0.00000 ...NLS: Set g_nls_timestamp_tz_format="DD-MON-YYYY HH:MIPM" 4
0.46800 0.00000 NLS: wwv_flow.g_flow_language_derived_from=0: wwv_flow.g_browser_language=en 4
0.46800 0.00000 Application 101, Authentication: PLUGIN, Page Template: 61331314513900454147 4
0.46800 0.00000 Authentication check: No Authentication (NATIVE_DAD) 4
0.46800 0.00000 ...fetch session state from database 4
0.46800 0.01600 fetch items (exact) 4
0.48400 0.00000 ... sentry+verification success 4
0.48400 0.00000 ...Session ID 7751818952614 can be used 4
0.48400 0.01500 ...Application session: 7751818952614, user=nobody 4
0.49900 0.03100 ...Setting session time_zone to -05:00 4
0.53000 0.00000 Session: Fetch session header information 4
0.53000 0.00000 Run APPLICATION_PROCESS= request 4
0.53000 0.00000 ...Execute Statement: begin sys.htp.p( F_NEXT_STUDENT( in_workstation_id => apex_application.g_x01 ) ); end; 4
0.53000 0.00000 Stop APEX Engine detected 4
0.53000 - Final commit 4Again, not sure if I'm reading this correctly but it seems that the steps that are taking the most time seem to be related to NLS settings... and I have translating turned off. This is consistent with all of the longer page views. As a side note, my DBA did turn archive log mode back on this weekend.
Again, everything seems to be running smoothly at the moment so the above data is more to help satisfy my curiosity about the inner workings of Apex.
Regards,
Tadeusz
Edited by: tdsacilowski on Feb 25, 2013 3:04 PM -
Portal creates too many database sessions. fix doesn't work!!
Oracle Database 9i, Application Server 9iAS,
Operating System SUSE Linux 7.2
CPU - Athlon 1400
Ram - 1GB
There is a modification for the http server that aims to eliminate a problem on unix that causes the database to create too many sessions. The script can be found at
http://portalstudio.oracle.com/servlet/page?_pageid=1787&_dad=ops&_schema=OPSTUDIO
However the script fails to work. The http server is on port 80 with the redirect on port 7778. However going to http://myhost/pls/ results in a server error - connection refused. Is it possible that there may be an error in the script.
Thanks in anticipationok so my sound is ok now I can check that off of the list... I just looked around and found some external USB speakers that work just right. My built in computer speakers are just not the best quality.
As for the microphone, I still haven't been able to find out what is causing it to not work. I notice that it isn't actually broken since if I make a really loud noise right next to the input it will register a little but only a little bit.
$ arecord -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default
Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=Intel
HDA Intel, ALC269 Analog
Default Audio Device
front:CARD=Intel,DEV=0
HDA Intel, ALC269 Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, ALC269 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, ALC269 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, ALC269 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, ALC269 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, ALC269 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
$
here is some additional information about my sound. Also, when I open alsamixer, I find that when I go to "select sound card"(F6) I see default and HDA Intel. If the default is pulseaudio, then is it possible that pulseaudio is causing the problem? -
Java.io.FileNotFoundException (Too many file open)
Hi,
I have an application wherein I have to open an XMl file, make amends to it and then write it back. It is possible that the same XML file be opened more than once. After processing lots of XMl files I get the following error:
[java] java.io.FileNotFoundException: /nas/bansalp/app/databases/databases/IntActe_human_528_psimi.xml (Too many open files)
[java] at java.io.FileInputStream.open(Native Method)
[java] at java.io.FileInputStream.<init>(FileInputStream.java:106)
[java] at java.io.FileInputStream.<init>(FileInputStream.java:66)
[java] at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
[java] at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
[java] at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:653)
[java] at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:186)
[java] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
[java] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
[java] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
[java] at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:225)
[java] at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)
[java] at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:208)
[java] at alliance.dps.Commons.makedocument(Unknown Source)Code for makedocument is as follows:
public static Document makedocument(File file) throws Exception
Document response = null;
DocumentBuilder builder = null;
try
DocumentBuilderFactory builderFactory = DocumentBuilderFactory.newInstance();
builder = builderFactory.newDocumentBuilder();
if (file==null)
response = builder.newDocument();
else
response = builder.parse(file);
catch(Exception e) { e.printStackTrace(); }
return response;
}Here also I am not explicitely opening any handle. parse method should close the file after creating a DOM tree.
I would appreciate if someone could give me some directions as to what might be wrong.
- ParitI'm finding that builder.parse(File) doesn't close the file. I now create a FileInputStream from the File and make sure I close it myself in a finally{} block.
-
STARTING DATABASE : PROBLEM OF Linux Error: 23: Too many open files in syst
Hi everybody,
I am running an RMAN script and get this error,
9> @/u01/app/oracle/admin/devpose/backup/configuration.rcv
RMAN> ###################################################################
2> # Configuration file used to set Rman policies.
3> #
4> ###################################################################
5>
6> CONFIGURE DEFAULT DEVICE TYPE TO DISK;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of configure command at 08/26/2009 20:03:30
RMAN-06403: could not obtain a fully authorized session
ORA-01034: ORACLE not available
RMAN> CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of configure command at 08/26/2009 20:03:30
RMAN-06403: could not obtain a fully authorized session
ORA-01034: ORACLE not available
RMAN> #CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
2> CONFIGURE DEVICE TYPE DISK PARALLELISM 2;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of configure command at 08/26/2009 20:03:30
RMAN-06403: could not obtain a fully authorized session
ORA-01034: ORACLE not available
RMAN>
RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/u01/app/oracle/backup/db/ora_df%t_s%s_s%p';
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of configure command at 08/26/2009 20:03:30
RMAN-06403: could not obtain a fully authorized session
ORA-01034: ORACLE not available
But this problem is understandable, as the database is not running. The main problem why database is not running, I have found the reason but do not understand how to solve the problem.
Since, the database was not running, I tried to startup the database, I then came across the following which is my problem (Why so many files are open? Linux OS error says too many files open. See below,
SQL> conn /as sysdba
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 419430400 bytes
Fixed Size 779516 bytes
Variable Size 258743044 bytes
Database Buffers 159383552 bytes
Redo Buffers 524288 bytes
Database mounted.
ORA-00313: open failed for members of log group 2 of thread 1
ORA-00312: online log 2 thread 1: '/u01/app/oracle/oradata/devpose/redo02.log'
ORA-27041: unable to open file
Linux Error: 23: Too many open files in system
Can anybody has run into such problem and guide me to a solution, please?
ThanksHi,
yes, this DB was functioning o.k. this configuration script was part of RMAN daily backup.
Last night the backup failed. So, when I opened "Failed job" in the EM, I saw this type of messages.
That was the starting point. Gradually, I tried to narrow down on to the actual problem and found the findings as I have posted.
One way of sovling problem, I thought that, all these processes I would kill and then try to open the database, it might startup. However, that wouldnot lead me in ensuring this won't occur again.
That's why I am trying to understand why it should open, so many processes (why spawn so many .flb files?) Any thoughts you have around this?
I will try to restart the OS as the last resort.
Thanks for your help and suggestions.
Regards,
Maybe you are looking for
-
Hi, Please help. Case like that; Base member of Period in Planning is Month as calendar, but Base member of Period in ASO cube is Week, like that: Jan JanWeek1 JanWeek2 JanWeek3 JanWeek4 JanWeek5 now, need to load planning data to
-
XML Parse Failure : Diagnostics / workaround requested
Hey people, I don't know if anyone else has had the issue but I have have hit it several times now and its very frustrating. (Usually as a result of trying to remove incorrect schemas via Enterprise Manager). If there is ever an invalid XML instance
-
"Checking your addons for compatibility with this version of Firefox" hangs
On one pc (but not others) running Windows 7, when I install a new version of FF and the box for "checking your addons etc" comes up, it gets 80% of the way through then just grinds away until I hit cancel. Is there any way to find outr which addon i
-
[Solved] diff vs rsync
I have two folders, on different machines, with the same content. One of the machines has access to both folders, through an sshfs mount. The filesystem is the same on both machines: ext4. Running diff -ur a/ b/ yields no output: i.e. the folders' co
-
Save Package to file...any way to make notepad friendly?
For source control, we store notepad-friendly text files...regardless of line terminator preferences that I specify, the text on saved objects wraps in notepad, and must be opened in another editor, like WordPad. Is there something I'm missing to get