Ip fragment collection timeout
Hello,
I am having a problem with the CSS. When I "Show ip-fragment-stats", the "Collection Timeout" count keep increasing and clients failed. However, I cannot find any command to adjust the time for collection. I think the timeout in the CSS is too short because the clients work well with the reals but not the VIP. I am using CSS11500 with WebNS version 7.30.1.06.
Please help.
CT Yau
Hong Kong
If the DF bit of a packet is set and fragmentation is needed after adding the ipsec overhead, the VPN router will drop the packet and the whole thing will not work. Supposedly the router will also issue ICMP messages to the client and the client will re-submit with the DF bit off but I never made it work. Actually I needed to issue a "crypto ipsec df-bit clear" command in the router to make things 90% work.
What I finally did to make the whole things work is to issue a "crypto ipsec fragmentation after-encryption" command in the VPN routers. In this way all the fragmentation and fragment reassembly will be done by the pair of VPN routers and the ip fragments do not reach the CSS. But it increases the processing overhead at the VPN routers.
I have solved my problem by means of configuring the VPN routers but I still do not know what went wrong in the CSS's and what can be done there. Any idea from brighter minds?
Similar Messages
-
RDS 2012 - Session Collection Timeout vs Group Policy Timeout
Which policy applies?
The RD Session Collection timeout or the group policy?
My Remote desktop servers are in an OU at a top level with all of my other servers, so I have a administrative timeout group policy which is extremely strict to keep our administrators off server consoles. But for the RD farms I would like to have a less
strict policy so that users only get disconnected overnight and not if they go out to lunch (as an example)
I know one way to do this is to write individual group policies, but that removes the ease of control by configuring each session collection timeout via the Session Collection.Hi Robin,
Thank you for posting in Windows Server Forum.
You can configure timeout and reconnection settings on a per user basis by using the Remote Desktop Services Extension to the Local Users and Groups snap-in or to the Active Directory Users and Computers snap-in.
Timeout and reconnection settings configured by using Remote Desktop Session Host Configuration will take precedence over timeout and reconnection settings that have been configured for a specific user account.
More information (for reference)
Configure Timeout and Reconnection Settings for Remote Desktop Services Sessions
http://technet.microsoft.com/en-us/library/cc754272.aspx
Hope it helps!
Thanks.
Dharmesh Solanki -
hi guys,
Iam trying to do a scenario where i need to insert a deadline branch within the block step.In the block step i inserted the exception branch,after that when am trying to insert the deadline branch,it is going to the same level.How to insert it at next level,and i also need to insert the control step with in it.
regards
chandrakanth.kHi,
the order was like:
start -> receive1 -> send1
->
(block
-- receive2 -> send2
-- exception branch
-- deadline branch
block)
-> end
Regards
Patrick -
Planning Data Pull process failed with timeout error
Hi Experts,
Version: Oracle apps 11.5.10.2
Issue: Planning Data Pull process failed with timeout error
message in the log file as follows,
The Request id : 90018907 has Phase : COMPLETE and Status: ERROR
Concurrent Message : Timeout error.
There is an Unknown error in the Worker.
Planning Data Pull process failed.
+-------------------------------------
Please advice what could be the problem. I submitted, standard data collection programs with 900 mins and 8 workers.
Refresh Collection Snapshot completed without any issuePlease see these docs.
Data Collection Fails Because Of Time Out Timeout error [ID 339968.1]
OPM-ASCP: Data Collection Timeout Error [ID 601539.1]
STD COLLECTION FAILING AT PLANNING DATA PULL WITH TIMEOUT ERROR [ID 978472.1]
Data Collections is Failing - All Errors - First Diagnostic Steps [ID 207644.1]
Troubleshooting Errors with ATP/Planning Data Collections [ID 1227255.1]
MSCPDC PLANNING ODS LOAD ERRORS WITH TIMEOUT ERROR - POOR PERFORMANCE [ID 417633.1]
Thanks,
Hussein -
GIT pull failling with timeout error.
Hi all,
I am new to tfs 2013 & GIT so I have one query. when I try to pull the repository using GIT pull I am getting error "Timeout".
I am little bit in confusion why it is happening. Please help me with the troubleshooting steps and the probable reasons of this error.
Thanks for help.Please see these docs.
Data Collection Fails Because Of Time Out Timeout error [ID 339968.1]
OPM-ASCP: Data Collection Timeout Error [ID 601539.1]
STD COLLECTION FAILING AT PLANNING DATA PULL WITH TIMEOUT ERROR [ID 978472.1]
Data Collections is Failing - All Errors - First Diagnostic Steps [ID 207644.1]
Troubleshooting Errors with ATP/Planning Data Collections [ID 1227255.1]
MSCPDC PLANNING ODS LOAD ERRORS WITH TIMEOUT ERROR - POOR PERFORMANCE [ID 417633.1]
Thanks,
Hussein -
Is there a way to recover data from accidental "empty trash"?
I accidentally deleted 111GB of data, my entire Movies folder, off my Macbook running 10.4.11 and imovie 6.03 and emptied the trash. I have been to the Apple Store but they basically sold me Data Rescue II which does not return a completed iMovie but rather a fragmented collection of quicktime bits of the movie. It's easier for me to re-do every movie I've ever made than try to piece together a bunch of QT clips. Norton's used to recover files fairly intact but I understand it can't be used on Intel Macs. My first question is why not? Has anyone tried using Norton's V5.0 on an intel and if so what happened? My second ? is does anyone know of a reliable method (other than the $500-$3k services out there) to undelete files. My research suggests once files are gone, they're gone but I'm still holding out in an attempt to resurrect at least the last month of work. Thank you.
Message was edited by: twmissmtNorton's used to recover files fairly intact but I understand it can't be used on Intel Macs.
Not only not on Intel Macs but on pretty much any Mac running OSX. People had pretty bad experiences running Norton in the early days of OSX and Norton gave up supporting Macs. Any version of Norton out there pre-dates Intel Macs and you never want to run any disk tool on a computer when that tool pre-dates the release of OS you are using.
There's also [FileSalvage|http://subrosasoft.com/OSXSoftware/index.php?mainpage=product_info&productsid=1] but I don't know if it will do anything different from DRII. -
Alternate IPS repository in 12c
I've just installed the latest Ops Center 12c psu4, and whilst attempting to push out agents to Solaris 11 I noticed it was trying to change the existing publishers I had set to my distributed IPS servers and set it to itself.
Now, I don't want OC to manage the Solaris publisher. I have that nicely setup and distributed already thankyou, I also won't be deploying the OS via OC anyway (historical reasons).
There is a section in the reference guide saying:
To Use an IPS Repository as the Oracle Solaris 11 Software Update Library
Locate your site's Oracle Solaris 11 IPS repository or create one.
Expand Libraries in the Navigation pane.
Click Software Libraries.
Click Initialize Solaris 11 Software Update Library in the Action pane.
In the Specify Library Location field, enter the location of your IPS repository.
In the URL field for the parent repository, do not enter any text. Leave this field blank.
Click OK.
This won't accept an existing HTTP package server, I'm guessing it wants to use the real raw files which is not what I want as I have IPS servers all setup in the right places to minimise network traffic and they get loaded up individually by the SRU's to avoid network bandwidth syncing.
Is this possible? Can I use my own IPS servers for the Solaris repository? Do I have to make my IPS repository a parent which OC will then sync around as it wants to (and probably kill my network between sites?). I want my own repositories as I have them behind a package servers with a release and testing based repository to make really really really sure no one updates from the testing repository without manually changing the repo being used (rather than having it all together and hope people give the right package version).
It just doesn't seem reasonable that with an existing valid solaris package server OC wants to take it over just to install an agent.Thanks Venkat. I'll give it a try and update you.
In the mean while can you or someone help me to answer following (Which I asked in my original post).
I created host metric extension to take export of database. When I test the extension it fails with error metric collection timeout of 300 seconds occured. How can I increase the timeout for host metric extension. The export can take more than hour.
Thanks. -
Remove Host Manually in 12C...
Hi,
I want to remove some hosts in 12C grid control which were decommissioned in past but were never removed from grid control. If I try to remove from grid control it gives error host not reachable. I'm wondering is there any method to remove these hosts from repository using scripts.
Other question I have is:
I created host metric extension to take export of database. When I test the extension it fails with error metric collection timeout of 300 seconds occured. How can I increase the timeout for host metric extension. The export can take more than hour.
Thanks in advance.Thanks Venkat. I'll give it a try and update you.
In the mean while can you or someone help me to answer following (Which I asked in my original post).
I created host metric extension to take export of database. When I test the extension it fails with error metric collection timeout of 300 seconds occured. How can I increase the timeout for host metric extension. The export can take more than hour.
Thanks. -
Clear Channel Codec between Cisco GW and Patton Smartnode
Hi,
i have to establish an H.323 connection between an Cisco 3745 and an Patton
Smartnode 1200 with clear-channel codec to support ISDN-Data over VoIP.
PC with ISDN-Card---S0/PattonGW----H.323----3745/E1----PSTN
Software versions:
Cisco: SPServices 12.4(5a)
Patton SN1200: R3.20 2006-03-30 H323
The call establishment is sucessfull but i am not able pass any Data over
ISDN. Does anyone got this working?
Any help is welcome.
Regards,
Robert
Below are some Konfig sniplets:
Cisco:
controller E1 0/1/0
pri-group timeslots 1-31
interface Serial0/1/0:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn overlap-receiving
isdn incoming-voice voice
isdn send-alerting
isdn sending-complete
no cdp enable
dial-peer voice 10 pots
description ----- Towards PSTN -----
answer-address <removed>
destination-pattern 0T
progress_ind setup enable 3
fax rate disable
direct-inward-dial
port 0/1/0:15
dial-peer voice 473997246 voip
description ----- towards Patton GW -----
destination-pattern <removed>
progress_ind setup enable 3
modem passthrough nse codec g711alaw
session target ipv4:192.168.1.28
codec clear-channel bytes 80
ip qos dscp cs5 media
no vad
dial-peer voice 473997247 voip
description ----- Incoming Dial-Peer -----
modem passthrough nse codec g711alaw
incoming called-number <removed>
codec clear-channel bytes 80
ip qos dscp cs5 media
no vad
Patton:
profile voip VOIP
codec 1 transparent-cisco rx-length 20 tx-length 20
no high-pass-filter
no post-filter
no dtmf-relay
no dtmf-mute-encoder
context ip router
rtp-port-range 16384 32767
context cs switch
no digit-collection timeout
no address-completion timeout
interface h323 IF_H323
bind gateway GW_H323
route call dest-interface IF_S0_01
remote 192.168.254.30 1720
itc rx transparent
use profile voip VOIP
interface isdn IF_S0_01
route call dest-interface IF_H323
use profile tone-set Europe
no call-waiting
gateway h323 GW_H323
faststart
early-h245
h235-security version v2
no h235-security q931-auth-int
bind interface IF_IP_LAN router
no shutdown
use profile voip VOIP
port bri 0 1
clock auto
encapsulation q921
q921
protocol pmp
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side net
encapsulation cc-isdn
bind interface IF_S0_01 switchThe SIP Media Inactivity Timer feature enables Cisco gateways to monitor and disconnect VoIP calls if no Real-Time Control Protocol (RTCP) packets are received within a configurable time period.
When RTCP reports are not received by a Cisco gateway, the SIP Media Inactivity Timer feature releases the hung session and its network resources in an orderly manner. These network resources include the gateway digital signal processor (DSP) and time-division multiplexing (TDM) channel resources that are utilized by the hung sessions. Because call signaling is sent to tear down the call, any stateful SIP proxies involved in the call are also notified to clear the state that they have associated with the hung session. The call is also cleared back through the TDM port so that any attached TDM switching equipment also clears its resources.
http://www.cisco.com/en/US/products/ps6441/prod_troubleshooting_guide09186a00801fa207.html#wp2077496 -
LMS 3.2 Inventory collection - Job timeouts after ~5h, all devices "Not attempted"
Hello All,
We have a strange problem with LMS 3.2 regarding Inventory Collection.
This problem started immediatelly after the LMS installation/upgrade (LMS 3.2 was installed on a new server, and LMS 2.6 database migrated to it).
All Jobs finish as failed, with all devices "not attempted".
Job hangs for a five and a half hours and then reports failed status.
The symptoms are the same for scheduled jobs and manually created jobs.
I also have opened a TAC case, but it seems that nothing relevant can be found in the IC_Server.log.
Also, according to a packet capture, it seems that LMS does collect SNMP data from devices after a job is started...
We tried to upgrade RME 4.3.0 to 4.3.1.
One Job immediately after the upgrade was succesful (Inventory was collected for manually selected device), but the next day all Inventory Jobs were failing again with the same symptoms...
Does anyone have a sugestion where to look for a problem trace?
Thanks in advance!
Ragards,
JasminaHi Jasmina ,
Please chech the Existing MDF pacakge :
go to common service > software center > device update >>> check the checkbox for Cisco works common service and click on check for updates
--if there is an Update , please upgarde the MDF version..
--Similarly look for any Available Device Pacakges update for RME , if there are Upgarde all the Device Pacakages ....
--After all of the above Task is done , Now re-run the Job and it still fails then share the IC_server.log again..
Thanks--
Afroj -
ICMP Timeout Alarm due to TCP Protocol Memory Allocation Failure ?
Hello Experts ,
>> Device uptime suggests there was no reboot
ABCSwitch uptime is 28 weeks, 13 hours, 50 minutes
System returned to ROM by power-on
System restarted at 13:09:45 UTC Mon Aug 5 2013
System image file is "flash:c2950-i6k2l2q4-mz.121-22.EA12.bin"
>> But observed logs mentioning Memory Allocation Failure for TCP Protocol Process ( Process ID 43) due to Memory Fragmentation
003943: Feb 18 02:14:27.393 UTC: %SYS-2-MALLOCFAIL: Memory allocation of 36000 bytes failed from 0x801E876C, alignment 0
Pool: Processor Free: 120384 Cause: Memory fragmentation
Alternate Pool: I/O Free: 682800 Cause: Memory fragmentation
-Process= "TCP Protocols", ipl= 0, pid= 43
-Traceback= 801C422C 801C9ED0 801C5264 801E8774 801E4CDC 801D9A8C 8022E324 8022E4BC
003944: Feb 18 02:14:27.397 UTC: %SYS-2-CFORKMEM: Process creation of TCP Command failed (no memory).
-Process= "TCP Protocols", ipl= 0, pid= 43
-Traceback= 801E4D54 801D9A8C 8022E324 8022E4BC
According to Cisco documentation for Troubleshooting Memory issues on Cisco IOS 12.1 (http://www.cisco.com/c/en/us/support/docs/ios-nx-os-software/ios-software-releases-121-mainline/6507-mallocfail.html#tshoot4 ), which suggests the TCP Protocols Process could not be started due to Memory being fragmented
Memory Fragmentation Problem or Bug
This situation means that a process has consumed a large amount of processor memory and then released most or all of it, leaving fragments of memory still allocated either by this process, or by other processes that allocated memory during the problem. If the same event occurs several times, the memory may fragment into very small blocks, to the point where all processes requiring a larger block of memory cannot get the amount of memory that they need. This may affect router operation to the extent that you cannot connect to the router and get a prompt if the memory is badly fragmented.
This problem is characterized by a low value in the "Largest" column (under 20,000 bytes) of the show memory command, but a sufficient value in the "Freed" column (1MB or more), or some other wide disparity between the two columns. This may happen when the router gets very low on memory, since there is no defragmentation routine in the IOS.
If you suspect memory fragmentation, shut down some interfaces. This may free the fragmented blocks. If this works, the memory is behaving normally, and all you have to do is add more memory. If shutting down interfaces doesn't help, it may be a bug. The best course of action is to contact your Cisco support representative with the information you have collected.
>>Further TCP -3- FORKFAIL logs were seen
003945: Feb 18 02:14:27.401 UTC: %TCP-3-FORKFAIL: Failed to start a process to negotiate options.
-Traceback= 8022E33C 8022E4BC
003946: Feb 18 02:14:27.585 UTC: %TCP-3-FORKFAIL: Failed to start a process to negotiate options.
-Traceback= 8022E33C 8022E4BC
003947: Feb 18 02:14:27.761 UTC: %TCP-3-FORKFAIL: Failed to start a process to negotiate options.
-Traceback= 8022E33C 8022E4BC
003948: Feb 18 02:14:27.929 UTC: %TCP-3-FORKFAIL: Failed to start a process to negotiate options.
-Traceback= 8022E33C 8022E4BC
003949: Feb 18 02:14:29.149 UTC: %TCP-3-FORKFAIL: Failed to start a process to negotiate options.
-Traceback= 8022E33C 8022E4BC
According to Error Explanation from Cisco Documentation (http://www.cisco.com/c/en/us/td/docs/ios/12_2sx/system/messages/122sxsms/sm2sx09.html#wp1022051)
suggests the TCP handles from a client could not be created or initialized
Error Message %TCP-3-FORKFAIL: Failed to start a process to negotiate options.
Explanation The system failed to create a process to handle requests from a client. This condition could be caused by insufficient memory.
Recommended Action Reduce other system activity to ease memory demands.
But I am still not sure about the exact root cause is as
1.The GET/GETNEXT / GET BULK messages from SNMP Manager (Here, IBM Tivoli Netcool ) uses default SNMP Port 161 which is
UDP and not TCP
2. If its ICMP Polling failure from IBM Tivoli Netcool , ICMP is Protocol Number 1 in Internet Layer of TCP/IP Protocol Suite and TCP is Protocol Number 6 in the Transport Layer of TCP/IP Protocol Suite .
So I am still not sure how TCP Protocol Process Failure could have caused ICMP Timeout . Please help !
Could you please help me on what TCP Protocol Process handles in a Cisco Switch ?
Regards,
AnupHello Experts ,
>> Device uptime suggests there was no reboot
ABCSwitch uptime is 28 weeks, 13 hours, 50 minutes
System returned to ROM by power-on
System restarted at 13:09:45 UTC Mon Aug 5 2013
System image file is "flash:c2950-i6k2l2q4-mz.121-22.EA12.bin"
>> But observed logs mentioning Memory Allocation Failure for TCP Protocol Process ( Process ID 43) due to Memory Fragmentation
003943: Feb 18 02:14:27.393 UTC: %SYS-2-MALLOCFAIL: Memory allocation of 36000 bytes failed from 0x801E876C, alignment 0
Pool: Processor Free: 120384 Cause: Memory fragmentation
Alternate Pool: I/O Free: 682800 Cause: Memory fragmentation
-Process= "TCP Protocols", ipl= 0, pid= 43
-Traceback= 801C422C 801C9ED0 801C5264 801E8774 801E4CDC 801D9A8C 8022E324 8022E4BC
003944: Feb 18 02:14:27.397 UTC: %SYS-2-CFORKMEM: Process creation of TCP Command failed (no memory).
-Process= "TCP Protocols", ipl= 0, pid= 43
-Traceback= 801E4D54 801D9A8C 8022E324 8022E4BC
According to Cisco documentation for Troubleshooting Memory issues on Cisco IOS 12.1 (http://www.cisco.com/c/en/us/support/docs/ios-nx-os-software/ios-software-releases-121-mainline/6507-mallocfail.html#tshoot4 ), which suggests the TCP Protocols Process could not be started due to Memory being fragmented
Memory Fragmentation Problem or Bug
This situation means that a process has consumed a large amount of processor memory and then released most or all of it, leaving fragments of memory still allocated either by this process, or by other processes that allocated memory during the problem. If the same event occurs several times, the memory may fragment into very small blocks, to the point where all processes requiring a larger block of memory cannot get the amount of memory that they need. This may affect router operation to the extent that you cannot connect to the router and get a prompt if the memory is badly fragmented.
This problem is characterized by a low value in the "Largest" column (under 20,000 bytes) of the show memory command, but a sufficient value in the "Freed" column (1MB or more), or some other wide disparity between the two columns. This may happen when the router gets very low on memory, since there is no defragmentation routine in the IOS.
If you suspect memory fragmentation, shut down some interfaces. This may free the fragmented blocks. If this works, the memory is behaving normally, and all you have to do is add more memory. If shutting down interfaces doesn't help, it may be a bug. The best course of action is to contact your Cisco support representative with the information you have collected.
>>Further TCP -3- FORKFAIL logs were seen
003945: Feb 18 02:14:27.401 UTC: %TCP-3-FORKFAIL: Failed to start a process to negotiate options.
-Traceback= 8022E33C 8022E4BC
003946: Feb 18 02:14:27.585 UTC: %TCP-3-FORKFAIL: Failed to start a process to negotiate options.
-Traceback= 8022E33C 8022E4BC
003947: Feb 18 02:14:27.761 UTC: %TCP-3-FORKFAIL: Failed to start a process to negotiate options.
-Traceback= 8022E33C 8022E4BC
003948: Feb 18 02:14:27.929 UTC: %TCP-3-FORKFAIL: Failed to start a process to negotiate options.
-Traceback= 8022E33C 8022E4BC
003949: Feb 18 02:14:29.149 UTC: %TCP-3-FORKFAIL: Failed to start a process to negotiate options.
-Traceback= 8022E33C 8022E4BC
According to Error Explanation from Cisco Documentation (http://www.cisco.com/c/en/us/td/docs/ios/12_2sx/system/messages/122sxsms/sm2sx09.html#wp1022051)
suggests the TCP handles from a client could not be created or initialized
Error Message %TCP-3-FORKFAIL: Failed to start a process to negotiate options.
Explanation The system failed to create a process to handle requests from a client. This condition could be caused by insufficient memory.
Recommended Action Reduce other system activity to ease memory demands.
But I am still not sure about the exact root cause is as
1.The GET/GETNEXT / GET BULK messages from SNMP Manager (Here, IBM Tivoli Netcool ) uses default SNMP Port 161 which is
UDP and not TCP
2. If its ICMP Polling failure from IBM Tivoli Netcool , ICMP is Protocol Number 1 in Internet Layer of TCP/IP Protocol Suite and TCP is Protocol Number 6 in the Transport Layer of TCP/IP Protocol Suite .
So I am still not sure how TCP Protocol Process Failure could have caused ICMP Timeout . Please help !
Could you please help me on what TCP Protocol Process handles in a Cisco Switch ?
Regards,
Anup -
Finding table fragmentation in Oracle 8.1.6.3.0
Hi All,
I just want to find table fragmentation for one table named LOG. I used below query to find this....
SQL> select table_name,round((blocks*8),2)||'kb' "size"
from dba_tables
where table_name = 'LOG' and owner='AMRWF1'; 2 3
TABLE_NAME size
LOG 6301408kb
SQL> select table_name,round((num_rows*avg_row_len/1024),2)||'kb' "size"
from dba_tables
where table_name = 'LOG' and owner='AMRWF1'; 2 3
TABLE_NAME size
LOG 1468846.2kbAnd tablespace infromation is below.
SQL> select bytes/1024/1024,TABLESPACE_NAME,EXTENTS,MAX_EXTENTS from dba_segments where owner='AMRWF1' and segment_name='LOG';
BYTES/1024/1024 TABLESPACE_NAME EXTENTS MAX_EXTENTS
6154.16406 WFMKTLEAST 12214 2147483645
SQL> sho parameter block
NAME TYPE VALUE
db_block_buffers integer 100000
db_block_checking boolean FALSE
db_block_checksum boolean FALSE
db_block_lru_latches integer 3
db_block_max_dirty_target integer 100000
db_block_size integer 8192
db_file_multiblock_read_count integer 8
hash_multiblock_io_count integer 0
sort_multiblock_read_count integer 2Please mention whether i am fallowing proper method to find table fragmentation and this table is severly fragmented or not???
-Yasser
Edited by: YasserRACDBA on May 12, 2009 7:17 PMSir Please refer below statspack report
STATSPACK report for
Snap Length
Start Id End Id Start Time End Time (Minutes)
201 213 13-May-09 01:32:02 13-May-09 01:51:30 19.47
Cache Sizes
~~~~~~~~~~~
db_block_buffers: 100000
db_block_size: 8192
log_buffer: 2097152
shared_pool_size: 132003840
Load Profile
~~~~~~~~~~~~
Per Second Per Transaction
Redo size: 186,962.61 2,244.02
Logical reads: 18,690.20 224.33
Block changes: 835.84 10.03
Physical reads: 1,422.98 17.08
Physical writes: 59.20 0.71
User calls: 693.17 8.32
Parses: 219.19 2.63
Hard parses: 95.50 1.15
Sorts: 122.47 1.47
Transactions: 83.32
Rows per Sort: 13.87
Pct Blocks changed / Read: 4.47
Recursive Call Pct: 57.35
Rollback / transaction Pct: 0.01
Instance Efficiency Percentages (Target 100%)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer Nowait Ratio: 99.82
Buffer Hit Ratio: 92.39
Library Hit Ratio: 85.79
Redo NoWait Ratio: 99.99
In-memory Sort Ratio: 100.00
Soft Parse Ratio: 56.43
Latch Hit Ratio: 99.55
Top 5 Wait Events
~~~~~~~~~~~~~~~~~ Wait % Total
Event Waits Time (cs) Wt Time
log file sync 98,328 308,489 52.94
db file sequential read 1,462,138 135,491 23.25
buffer busy waits 40,122 41,574 7.13
log file parallel write 67,541 29,561 5.07
latch free 14,153 29,250 5.02
^LWait Events for DB: PRDTDB Instance: prdtdb Snaps: 201 - 213
->cs - centisecond - 100th of a second
->ms - millisecond - 1000th of a second (unit often used for disk IO timings)
Avg
Total Wait wait Waits
Event Waits Timeouts Time (cs) (ms) /txn
log file sync 98,328 4 308,489 31 1.0
db file sequential read 1,462,138 0 135,491 1 15.0
buffer busy waits 40,122 1 41,574 10 0.4
log file parallel write 67,541 8 29,561 4 0.7
latch free 14,153 10,702 29,250 21 0.1
db file parallel write 5,099 0 18,117 36 0.1
db file scattered read 18,561 0 9,258 5 0.2
db file parallel read 3,227 0 5,658 18 0.0
SQL*Net more data to client 44,457 0 1,188 0 0.5
log file sequential read 8,020 0 1,070 1 0.1
direct path write 410 0 669 16 0.0
direct path read 688 0 556 8 0.0
control file parallel write 444 0 533 12 0.0
library cache pin 517 0 461 9 0.0
LGWR wait for redo copy 798 143 414 5 0.0
log file switch completion 30 0 349 116 0.0
single-task message 4 0 27 68 0.0
file open 959 0 23 0 0.0
log file single write 20 0 7 4 0.0
control file sequential read 458 0 4 0 0.0
refresh controlfile command 36 0 3 1 0.0
enqueue 9 0 2 2 0.0
file identify 40 0 1 0 0.0
SQL*Net break/reset to clien 4 0 0 0 0.0
buffer deadlock 2 2 0 0 0.0
SQL*Net message from client 809,303 0 19,936,895 246 8.3
virtual circuit status 38 38 116,785 ##### 0.0
SQL*Net message to client 809,327 0 310 0 8.3
SQL*Net more data from clien 477 0 43 1 0.0
^LSQL ordered by Gets for DB: PRDTDB Instance: prdtdb Snaps: 201 - 213
Gets % of
Buffer Gets Executes per Exec Total Hash Value
SQL statement
262,083 159,120 1.6 1.2 382965845
SELECT GEOPAR,NAME FROM GEO WHERE GEOCOD = RTRIM(:b1)
146,040 1 146,040.0 .7 1754824507
SELECT ERROR,TIME_STAMP,O_RESOURCE,QUEUE,NEW_QUEUE FROM LOG WHERE ID = '09120A
141,075 1 141,075.0 .6 1542925332
SELECT ERROR,TIME_STAMP,O_RESOURCE,QUEUE,NEW_QUEUE FROM LOG WHERE ID = '09120A
128,943 12,612 10.2 .6 4085293067
UPDATE OBJECT SET OWNER = NULL, LOCKTIME = 0, QUEUE_TIMESTAMP = NULL WHERE "ID
91,085 1 91,085.0 .4 323282248
SELECT ERROR,TIME_STAMP,O_RESOURCE,QUEUE,NEW_QUEUE FROM LOG WHERE ID = '09126A
90,887 1 90,887.0 .4 2613220927
SELECT ERROR,TIME_STAMP,O_RESOURCE,QUEUE,NEW_QUEUE FROM LOG WHERE ID = '09126A
66,045 9,174 7.2 .3 3352553713
SELECT DOC_NUM,TITLE,AUTHOR,C.TYPE,DATE_RPT,S.COLLECTION,S.AUTOMATION,LANG,SOU
61,337 9,498 6.5 .3 2345958421
SELECT PAGENO PAGENO FROM NONBILL WHERE REPORTID = :b1
59,669 9,500 6.3 .3 4181220996
SELECT RTRIM(SUBCOLLECT) SUBCOLLECT_CODE FROM MARK_SUBCOLLECT WHERE SRCCOD
54,543 1 54,543.0 .2 2236963897
SELECT ERROR,TIME_STAMP,O_RESOURCE,QUEUE,NEW_QUEUE FROM LOG WHERE ID = '09128A
54,517 1 54,517.0 .2 2215353317
SELECT ERROR,TIME_STAMP,O_RESOURCE,QUEUE,NEW_QUEUE FROM LOG WHERE ID = '09128A
54,493 1 54,493.0 .2 1430216754
SELECT ERROR,TIME_STAMP,O_RESOURCE,QUEUE,NEW_QUEUE FROM LOG WHERE ID = '09128A
54,450 1 54,450.0 .2 3671439846
SELECT ERROR,TIME_STAMP,O_RESOURCE,QUEUE,NEW_QUEUE FROM LOG WHERE ID = '09128A
54,443 1 54,443.0 .2 4024618165
SELECT ERROR,TIME_STAMP,O_RESOURCE,QUEUE,NEW_QUEUE FROM LOG WHERE ID = '09128A
54,404 1 54,404.0 .2 4144413353
SELECT ERROR,TIME_STAMP,O_RESOURCE,QUEUE,NEW_QUEUE FROM LOG WHERE ID = '09128A
54,185 1 54,185.0 .2 3853441439
SELECT ERROR,TIME_STAMP,O_RESOURCE,QUEUE,NEW_QUEUE FROM LOG WHERE ID = '09128A
54,122 1 54,122.0 .2 4066390851
SELECT ERROR,TIME_STAMP,O_RESOURCE,QUEUE,NEW_QUEUE FROM LOG WHERE ID = '09128A
^LSQL ordered by Reads for DB: PRDTDB Instance: prdtdb Snaps: 201 - 213
Physical Reads % of
Reads Executes per Exec Total Hash Value
SQL statement
52,578 1 52,578.0 3.2 1754824507
SELECT ERROR,TIME_STAMP,O_RESOURCE,QUEUE,NEW_QUEUE FROM LOG WHERE ID = '09120A
31,998 1 31,998.0 1.9 2613220927
SELECT ERROR,TIME_STAMP,O_RESOURCE,QUEUE,NEW_QUEUE FROM LOG WHERE ID = '09126A
16,013 1 16,013.0 1.0 323282248
SELECT ERROR,TIME_STAMP,O_RESOURCE,QUEUE,NEW_QUEUE FROM LOG WHERE ID = '09126A
10,819 1 10,819.0 .7 1542925332
SELECT ERROR,TIME_STAMP,O_RESOURCE,QUEUE,NEW_QUEUE FROM LOG WHERE ID = '09120A
5,940 9,500 0.6 .4 1788460650
SELECT RTRIM(SUBJCT) TICKER,RTRIM(NAME) NAME,RTRIM(STATE) STATE,RTRIM(COUNTRY)
5,011 5 1,002.2 .3 1283665788
INSERT INTO STATS$SQL_SUMMARY ( SNAP_ID,DBID,INSTANCE_NUMBER,SQL_TEXT,SHARABLE
3,532 104 34.0 .2 2416764375
INSERT INTO DOC_SUBJCT ( DOC_NUM,TYPE,SUBJCT ) VALUES ( TO_NUMBER(:b1),:b2,:b
3,178 3 1,059.3 .2 2869630514
BEGIN statspack.snap(i_snap_level => 10, i_modify_parameter => 'true'); END;
1,576 9,174 0.2 .1 3352553713
SELECT DOC_NUM,TITLE,AUTHOR,C.TYPE,DATE_RPT,S.COLLECTION,S.AUTOMATION,LANG,SOU
816 1,753 0.5 .0 2074917603
INSERT INTO LOG (ID,TIME_STAMP,TYPE,ERROR,INSTANCE,RULE_NUM,RULE_TYPE,PRIORITY
754 324 2.3 .0 4111801531
begin packager.get_citation(:param1 , :out); end;
567 83 6.8 .0 924335069
INSERT INTO CORDOC ( DOC_NUM,PARENT_DOC,SOURCE,AUTHOR,TITLE,DATE_RPT,DATE_RCVD
441 9,500 0.0 .0 2184883084
SELECT TPCCOD,TPCNAM FROM TOPICS T,DOC_SUBJCT D WHERE D.DOC_NUM = :b1 AND
430 104 4.1 .0 2993182807
INSERT INTO DOC_SUBJCT_UPD_LOG ( DOC_NUM,TYPE,SUBJCT,TYPE_OF_CHANGE,CREATED_LO
406 9,498 0.0 .0 2345958421
SELECT PAGENO PAGENO FROM NONBILL WHERE REPORTID = :b1
304 414 0.7 .0 199702406
select i.obj#,i.ts#,i.file#,i.block#,i.intcols,i.type#,i.flags, i.property,i.p
300 7,733 0.0 .0 3207681720
SELECT NVL(IMAGES,0) IMAGES,NVL(NONBILLABLE,0) NONBILLABLE FROM IMAGED_DOCUM
^LSQL ordered by Rows for DB: PRDTDB Instance: prdtdb Snaps: 201 - 213
Rows Rows
Processed Executes per Exec Hash Value
SQL statement
87,357 159,120 0.5 382965845
SELECT GEOPAR,NAME FROM GEO WHERE GEOCOD = RTRIM(:b1)
32,818 9,498 3.5 2345958421
SELECT PAGENO PAGENO FROM NONBILL WHERE REPORTID = :b1
12,612 12,612 1.0 4085293067
UPDATE OBJECT SET OWNER = NULL, LOCKTIME = 0, QUEUE_TIMESTAMP = NULL WHERE "ID
9,544 9,544 1.0 1230017382
SELECT LOG_SEQUENCE.NEXTVAL FROM DUAL
9,498 9,498 1.0 2684256693
SELECT RTRIM(NAME) NAME FROM LANG WHERE LANG.CODE = :b1
9,174 9,174 1.0 3352553713
SELECT DOC_NUM,TITLE,AUTHOR,C.TYPE,DATE_RPT,S.COLLECTION,S.AUTOMATION,LANG,SOU
7,575 7,733 1.0 3207681720
SELECT NVL(IMAGES,0) IMAGES,NVL(NONBILLABLE,0) NONBILLABLE FROM IMAGED_DOCUM
7,526 9,500 0.8 1788460650
SELECT RTRIM(SUBJCT) TICKER,RTRIM(NAME) NAME,RTRIM(STATE) STATE,RTRIM(COUNTRY)
6,485 514 12.6 395844583
select name,intcol#,segcol#,type#,length,nvl(precision#,0),decode(type#,2,nvl(
3,308 9,499 0.3 3612837332
SELECT RTRIM(D.SUBJCT) INDCOD,RTRIM(INDNAM) INDNAM,NIC_COD_BEST FROM DOC_SUB
2,642 9,500 0.3 4181220996
SELECT RTRIM(SUBCOLLECT) SUBCOLLECT_CODE FROM MARK_SUBCOLLECT WHERE SRCCOD
1,753 1,753 1.0 2074917603
INSERT INTO LOG (ID,TIME_STAMP,TYPE,ERROR,INSTANCE,RULE_NUM,RULE_TYPE,PRIORITY
1,380 1,855 0.7 1867085649
INSERT INTO LOG (ID,TIME_STAMP,TYPE,ERROR,INSTANCE,RULE_NUM,RULE_TYPE,PRIORITY
1,347 359 3.8 1536916657
select con#,type#,condlength,intcols,robj#,rcon#,match#,refact,nvl(enabled,0),
870 104 8.4 2416764375
INSERT INTO DOC_SUBJCT ( DOC_NUM,TYPE,SUBJCT ) VALUES ( TO_NUMBER(:b1),:b2,:b
828 433 1.9 1943674664
SELECT CLASS, PRIVILEGE FROM PRIVILEGE WHERE GROUP_NAME = 'SYSADMIN'
723 433 1.7 2958422142
SELECT CLASS, PRIVILEGE FROM PRIVILEGE WHERE GROUP_NAME = 'DEFAULT'
^LLatch Activity for DB: PRDTDB Instance: prdtdb Snaps: 201 - 213
->"Pct Misses" should be very close to 0.0
Pct Avg Pct
Get Get Sleeps Nowait Nowait
Latch Name Requests Miss /Miss Requests Miss
Active checkpoint queue latch 82,223 0.0 0
Checkpoint queue latch 828,701 0.0 0.0 0
Token Manager 739 0.0 5,586 0.0
archive control 10 0.0 0
archive process latch 10 0.0 0
cache buffer handles 8,728 0.0 0
cache buffers chains 45,374,520 0.0 0.1 1,915,719 0.2
cache buffers lru chain 293,252 0.5 0.1 1,667,702 0.6
channel handle pool latch 293 0.0 294 0.0
channel operations parent latch 586 0.0 294 0.0
dml lock allocation 197,311 0.0 0.0 0
enqueue hash chains 438,592 0.1 0.1 0
enqueues 697,793 0.1 0.0 0
event group latch 293 0.0 0
job_queue_processes parameter l 65 0.0 0
ktm global data 4 0.0 0
latch wait list 6,541 2.5 0.0 6,559 0.2
library cache 6,095,682 0.9 0.2 186,918 0.8
library cache load lock 4,494 0.0 0
list of block allocation 201,252 0.0 0.1 0
loader state object freelist 46 0.0 0
longop free list 1,508 0.0 0
messages 925,509 0.2 0.0 0
multiblock read objects 45,236 0.0 4.6 3 0.0
ncodef allocation latch 65 0.0 0
process allocation 293 0.0 293 0.0
process group creation 587 0.0 0
redo allocation 624,066 0.1 0.0 0
redo writing 511,337 0.8 0.0 0
row cache objects 9,553,633 1.0 0.0 13,023 3.7
sequence cache 31,263 0.0 0.0 0
session allocation 454,171 0.3 0.0 0
session idle bit 1,841,211 0.0 0.1 0
session switching 65 0.0 0
session timer 416 0.0 0
shared pool 4,602,509 3.3 0.0 0
sort extent pool 78 0.0 0
transaction allocation 295,180 0.0 0.0 0
transaction branch allocation 65 0.0 0
undo global data 346,591 0.1 0.2 0
user lock 2,114 0.0 0
virtual circuit queues 56 0.0 0
^LLatch Sleep breakdown for DB: PRDTDB Instance: prdtdb Snaps: 201 - 21
Get Spin &
Latch Name Requests Misses Sleeps Sleeps 1-4
shared pool 4,602,509 152,786 3,804 150445/1393/
698/250/0
row cache objects 9,553,633 98,968 364 98730/210/3/
25/0
library cache 6,095,682 53,621 8,107 49775/1473/1
726/647/0
cache buffers chains 45,374,520 10,906 1,415 10308/336/71
/191/0
redo writing 511,337 3,927 39 3892/31/4/0/
0
messages 925,509 1,443 61 1382/61/0/0/
0
cache buffers lru chain 293,252 1,388 130 1260/127/0/1
/0
session allocation 454,171 1,334 15 1319/15/0/0/
0
enqueues 697,793 1,000 11 989/11/0/0/0
redo allocation 624,066 623 5 618/5/0/0/0
session idle bit 1,841,211 447 50 400/46/0/1/0
Checkpoint queue latch 828,701 378 8 374/3/0/1/0
undo global data 346,591 330 62 315/4/1/10/0
enqueue hash chains 438,592 273 32 259/7/2/5/0
transaction allocation 295,180 138 5 133/5/0/0/0
dml lock allocation 197,311 46 2 44/2/0/0/0
list of block allocation 201,252 40 4 36/4/0/0/0
multiblock read objects 45,236 7 32 2/1/1/3/0
^LLatch Miss Sources for DB: PRDTDB Instance: prdtdb Snaps: 201 - 213
No Wait
Latch Name Where Misses Sleeps
Checkpoint queue latch kcbswcu: Switch buffers 0 5
Checkpoint queue latch kcbk0rrd: update recovery 0 2
Checkpoint queue latch kcbbcthc: check thread que 0 1
cache buffers chains kcbrls: kslbegin 0 724
cache buffers chains kcbgtcr: kslbegin 0 533
cache buffers chains kcbgcur: kslbegin 0 62
cache buffers chains kcbchg: kslbegin: call CR 0 29
cache buffers chains kcbzgb: scan from tail. no 0 25
cache buffers chains kcbzib: multi-block read: 0 14
cache buffers chains kcbzib: finish free bufs 0 9
cache buffers chains kcbzwb 0 8
cache buffers chains kcbchg: kslbegin: bufs not 0 6
cache buffers chains kcbget: pin buffer 0 3
cache buffers chains kcbget: exchange rls 0 1
cache buffers lru chain kcbbiop: lru scan 0 105
cache buffers lru chain kcbzgb: multiple sets nowa 0 21
cache buffers lru chain kcbzgb: posted for free bu 0 3
cache buffers lru chain kcbbwlru 0 1
dml lock allocation ktaiam 0 2
enqueue hash chains ksqgtl3 0 16
enqueue hash chains ksqrcl 0 16
enqueues ksqgtl2 0 5
enqueues ksqies 0 4
enqueues ksqrcl 0 2
library cache kgllkdl: child: cleanup 0 895
library cache kglpnal: child: alloc spac 0 711
library cache kglic 0 344
library cache kglupc: child 0 261
library cache kglhdgn: child: 0 227
library cache kglpnal: child: before pro 0 116
library cache kglhdgc: child: 0 82
library cache kglobpn: child: 0 74
library cache kgldnp: child 0 57
library cache kglsca: parent 0 57
library cache kgllkdl: child: free pin 0 29
library cache kglati 0 27
library cache kglpnc: child 0 15
library cache kgldte: child 0 0 8
library cache kglget: child: KGLDSBYD 0 3
library cache kglobld: child: 0 2
library cache kglpin 0 2
library cache kgldti: not under latch 0 1
library cache kglpnp: child 0 1
list of block allocation ktlbbl 0 4
messages ksaamb: after wakeup 0 40
messages ksarcv: after wait 0 13
messages ksarcv 0 8
multiblock read objects kcbzib: MBRGET 0 32
redo allocation kcrfwr: redo allocation 0 4
redo allocation kcrfwi: before write 0 1
redo writing kcrfss 0 17
redo writing kcrfsr 0 16
redo writing kcrfwi: after write 0 5
redo writing kcrfwcr 0 1
row cache objects kqrpre: find obj 0 190
^LLatch Miss Sources for DB: PRDTDB Instance: prdtdb Snaps: 201 - 213
No Wait
Latch Name Where Misses Sleeps
row cache objects kqreqd: rel enqueue 0 93
row cache objects kqreqd 0 64
row cache objects kqrso 0 1
session allocation ksuxds: not user session 0 12
session allocation ksucri 0 2
session allocation ksuxds: KSUSFCLC not set 0 1
session idle bit ksuxds 0 22
session idle bit ksupuc: clear busy 0 17
session idle bit ksupuc: set busy 0 11
shared pool kghfrunp: parent clatch: w 0 5,059
shared pool kghfrunp: alloc: wait 0 1,296
shared pool kghfrunp: alloc: clatch no 0 1,152
shared pool kghalo 0 852
shared pool kghfnd: min scan 0 180
shared pool kghfrunp: clatch: wait 0 112
shared pool kghupr1 0 104
shared pool kghfnd: get next extent 0 72
shared pool kghfnd: req scan 0 55
shared pool kghfre 0 40
shared pool kghalp 0 31
shared pool kghfrunp: clatch: nowait 0 30
shared pool kghfen: not perm alloc cla 0 15
shared pool kghfrunp: no latch 0 2
shared pool kghfrunp: reget min scan 0 1
transaction allocation ktcdso 0 3
transaction allocation ktcxba 0 2
undo global data ktudba: KSLBEGIN 0 61
undo global data ktudnx: KSLBEGIN 0 1
End of ReportPlease find partial output of v$sql;
EXECUTIONS DISK_READS BUFFER_GETS ROWS_PROCESSED
11170 0 0 0
11726 6206 36460 11286
11727 3079 193977 11727
12007 278 69951 39346
12700 0 31165 43631
13371 564 26871 7113
15568 0 1045 0
16122 28 25925 8603
16583 292 10230 2016
16943 31 1092 209
17933 896 35957 17933
EXECUTIONS DISK_READS BUFFER_GETS ROWS_PROCESSED
17958 0 3675 0
22750 6968 132458 32748
22840 518 31455 43631
22840 1 37398 0
22976 109 46286 22966
23002 53 23280 22975
23002 16 23216 23002
23003 61 23362 23003
23005 764 78363 23003
25580 1303 81762 373057
27092 0 0 0
EXECUTIONS DISK_READS BUFFER_GETS ROWS_PROCESSED
29218 1069 88739 29218
32750 3 1020 355
35790 453 279237 27807
38630 488 116142 1331
42128 13 2679 180
45899 0 229499 45896
45984 87 230393 45984
50588 3 1931 145
51215 81 256945 51215
52212 9 2248 674
62501 2 2087 506
EXECUTIONS DISK_READS BUFFER_GETS ROWS_PROCESSED
75230 1393 950678 71295
95712 29410 1451214 87782
102950 5250 1694896 102950
165722 254 870666 165722
527966 790 2773361 527965
674310 190 5482921 674307
709403 1198 3727110 709403
1093841 2338 11416812 1093840Btree index type has been created.
Please guide me in finding CPU problem.
-Yasser -
Error 1 Error occurred in deployment step 'Activate Features': A timeout has occurred while invoking commands in SharePoint host process.
0 0 myProjectAssetsLists
am getting the above error when i deploy my farm solution which is actually a "farm solution import package" template.
i am deploying this to a new site collection and once its features are activated this will provision few doc libs and splists in the targeted site.
any help is appreciated.try below link:
http://msdn.microsoft.com/en-us/library/ee471440.aspx
http://sujeetrec.blogspot.in/2013/12/sharepoint-2010-deployment-timing-out.html
Increase the timeout that Visual Studio waits for SharePoint to deploy a feature:
Create: [HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\SharePointTools] ChannelOperationTimeout DWORD
The value is a timeout in seconds. The default is 120 (2 minutes).
Full details on this switch and others are here:
http://msdn.microsoft.com/en-us/library/ee471440.aspx -
Intermittent Lock Timeout Exceptions with JE 5.0.58
Hi,
During tests, the system continues to experience Lock Timeout problems from time to time, even with the latest version 5.0.58. The collection contains data which is typically removed shortly after inserted, so records usually have a short lifetime. There are multiple writer threads and 1 delete / reader thread.
Any tips? Note the timeout is already a healthy 3 minutes long, so I don't think that's the problem. Stack trace and details below.
Maybe the best thing to do is to reduce the lock timeout in order to not block the data pipeline, if a simple retry fixes it?
Thanks,
Karl
ERROR@00:08:03 com.sleepycat.je.LockTimeoutException: (JE 5.0.58) Lock expired. Locker 879535510 -1_dbreader--Thread-5_ThreadLocker: waited for lock on database=persist#ListenerStore#com.procon.data.msg.local.BerkeleyDBMessage LockAddr:
892328566 LSN=0xffffffff/0x5882af type=READ grant=WAIT_NEW timeoutMillis=180000 startTime=1344323103818 endTime=1344323283850
Owners: [<LockInfo locker="1242902705 -1_CAL-dbwriter--Thread-18_ThreadLocker" type="WRITE"/>]
Waiters: []
com.sleepycat.je.txn.LockManager.newLockTimeoutException(LockManager.java:664)
com.sleepycat.je.txn.LockManager.makeTimeoutMsgInternal(LockManager.java:623)
com.sleepycat.je.txn.SyncedLockManager.makeTimeoutMsg(SyncedLockManager.java:97)
com.sleepycat.je.txn.LockManager.lockInternal(LockManager.java:390)
com.sleepycat.je.txn.LockManager.lock(LockManager.java:276)
com.sleepycat.je.txn.BasicLocker.lockInternal(BasicLocker.java:118)
com.sleepycat.je.txn.Locker.lock(Locker.java:443)
com.sleepycat.je.dbi.CursorImpl.lockLN(CursorImpl.java:2589)
com.sleepycat.je.dbi.CursorImpl.lockLN(CursorImpl.java:2390)
com.sleepycat.je.dbi.CursorImpl.searchAndPosition(CursorImpl.java:2118)
com.sleepycat.je.Cursor.searchInternal(Cursor.java:2666)
com.sleepycat.je.Cursor.searchAllowPhantoms(Cursor.java:2576)
com.sleepycat.je.Cursor.searchNoDups(Cursor.java:2430)
com.sleepycat.je.Cursor.search(Cursor.java:2397)
com.sleepycat.je.Cursor.readPrimaryAfterGet(Cursor.java:3703)
com.sleepycat.je.SecondaryCursor.readPrimaryAfterGet(SecondaryCursor.java:1470)
com.sleepycat.je.SecondaryCursor.retrieveNext(SecondaryCursor.java:1448)
com.sleepycat.je.SecondaryCursor.getNext(SecondaryCursor.java:560)
com.sleepycat.util.keyrange.RangeCursor.doGetNext(RangeCursor.java:897)
com.sleepycat.util.keyrange.RangeCursor.getNext(RangeCursor.java:451)
com.sleepycat.persist.BasicCursor.next(BasicCursor.java:80)
com.sleepycat.persist.BasicIterator.hasNext(BasicIterator.java:49)
com.procon.data.msg.local.BerkeleyDBMessageStore.queryMessages(BerkeleyDBMessageStore.java:498)
com.procon.listener.DatabaseReader.runMain(DatabaseReader.java:161)
com.procon.base.BasicRunnable.run(BasicRunnable.java:274)
java.lang.Thread.run(Thread.java:662)Karl,
With a 3 minute timeout, you may have a true deadlock (which are sometimes expected) or a bug in your app where you neglect to close a cursor or close a transaction. Increasing the lock timeout is usually not the solution, but the first step is to diagnose what is causing it, and you haven't given us enough information to do that. You haven't said what isolation modes you're using, what transactions are active, how many records are involved in each transactions, etc.
I suggest that you read:
http://docs.oracle.com/cd/E17277_02/html/TransactionGettingStarted/index.html
in particular the Concurrency chapter.
Also see:
http://www.oracle.com/technetwork/database/berkeleydb/je-faq-096044.html#HowdoIdebugalocktimeout
for how to get more information about this particular lock conflict.
--mark -
Session Timeout directly taking to login page
Hi,
In our application when session time out happens, it is directly taking to login page, instead of showing the time out error message . We have a CustomExceptionHandler defined in our application. When I debugged, I identified that the following error message
<StateManagerImpl><restoreView> Could not find saved view state for token -ppfn0o4n8 (*ADF_FACES-30107)*
comes when user clicks login the second time.
We want to know how to get the error message first before it goes to the login page? Any configuration we are missing?
Here is our applications web.xml
<?xml version = '1.0' encoding = 'UTF-8'?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5" xmlns="http://java.sun.com/xml/ns/javaee">
<description>Empty web.xml file for Web Application</description>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>
<context-param>
<param-name>jndiContext</param-name>
<param-value>inv</param-value>
</context-param>
<context-param>
<param-name>UserEnvironmentName</param-name>
<param-value>UserEnvironment</param-value>
</context-param>
<context-param>
<param-name>CacheConfigureFile</param-name>
<param-value>inv-cache.xml</param-value>
</context-param>
<context-param>
<param-name>SecurityRepositoryClass</param-name>
<param-value>oracle.communications.inventory.api.framework.security.impl.SecurityRepositoryImpl</param-value>
</context-param>
<context-param>
<description>Whether the 'Generated by...' comment at the bottom of ADF Faces HTML pages should contain version number information.</description>
<param-name>oracle.adf.view.rich.versionString.HIDDEN</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<param-name>oracle.adfinternal.view.rich.libraryPartitioning.ENABLED</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>ilog.views.faces.CONTROLLER_PATH</param-name>
<param-value>/_contr</param-value>
</context-param>
<context-param>
<param-name>ilog.views.faces.CONTENT_LENGTH_ENABLED</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<description>If this parameter is true, there will be an automatic check of the modification date of your JSPs, and saved state will be discarded when JSP's change. It will also automatically check if your skinning css files have changed without you having to restart the server. This makes development easier, but adds overhead. For this reason this parameter should be set to false when your application is deployed.</description>
<param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<param-name>APPLICATION_NAME</param-name>
<param-value>Unified Inventory Management</param-value>
</context-param>
<context-param>
<param-name>COPYRIGHT_FROM_YEAR</param-name>
<param-value>2007</param-value>
</context-param>
<context-param>
<param-name>COPYRIGHT_TO_YEAR</param-name>
<param-value>2011</param-value>
</context-param>
<context-param>
<!-- Maximum memory per request (in bytes) -->
<param-name>org.apache.myfaces.trinidad.UPLOAD_MAX_MEMORY</param-name>
<!-- Use 500K -->
<param-value>512000</param-value>
</context-param>
<context-param>
<!-- Maximum disk space per request (in bytes) -->
<param-name>org.apache.myfaces.trinidad.UPLOAD_MAX_DISK_SPACE</param-name>
<!-- Use 100M -->
<param-value>104857600</param-value>
</context-param>
<filter>
<filter-name>trinidad</filter-name>
<filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>trinidad</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>FORWARD</dispatcher>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
<listener>
<listener-class>oracle.communications.inventory.api.framework.listener.ContextListener</listener-class>
</listener>
<listener>
<listener-class>oracle.communications.inventory.ui.framework.IlogContextListener</listener-class>
</listener>
<!-- Cartridge Installer servlet for post re-deploy -->
<listener>
<listener-class>
oracle.communications.inventory.cartridge.deploy.CartridgeInstallerServletContextListener
</listener-class>
</listener>
<persistence-context-ref>
<persistence-context-ref-name>persistence/EntityManager</persistence-context-ref-name>
<persistence-unit-name>default</persistence-unit-name>
</persistence-context-ref>
<listener>
<listener-class>oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack</listener-class>
</listener>
<listener>
<listener-class>oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack</listener-class>
</listener>
<servlet>
<servlet-name>BIGRAPHSERVLET</servlet-name>
<servlet-class>oracle.adfinternal.view.faces.bi.renderkit.graph.GraphServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>BIGAUGESERVLET</servlet-name>
<servlet-class>oracle.adfinternal.view.faces.bi.renderkit.gauge.GaugeServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>MapProxyServlet</servlet-name>
<servlet-class>oracle.adfinternal.view.faces.bi.renderkit.geoMap.servlet.MapProxyServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>GatewayServlet</servlet-name>
<servlet-class>oracle.adfinternal.view.faces.bi.renderkit.graph.FlashBridgeServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>media</servlet-name>
<servlet-class>oracle.communications.inventory.ui.media.servlet.MediaServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>BIGRAPHSERVLET</servlet-name>
<url-pattern>/servlet/GraphServlet/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>BIGAUGESERVLET</servlet-name>
<url-pattern>/servlet/GaugeServlet/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>MapProxyServlet</servlet-name>
<url-pattern>/mapproxy/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/bi/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>GatewayServlet</servlet-name>
<url-pattern>/flashbridge/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>media</servlet-name>
<url-pattern>/media_image</url-pattern>
</servlet-mapping>
<resource-ref>
<res-ref-name>wm/ruleWorkManager</res-ref-name>
<res-type>commonj.work.WorkManager</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Unshareable</res-sharing-scope>
</resource-ref>
<filter>
<filter-name>JpsFilter</filter-name>
<filter-class>oracle.security.jps.ee.http.JpsFilter</filter-class>
<init-param>
<param-name>enable.anonymous</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>remove.anonymous.role</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>addAllRoles</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>jaas.mode</param-name>
<param-value>doasprivileged</param-value>
</init-param>
</filter>
<filter>
<filter-name>ADFLibraryFilter</filter-name>
<filter-class>oracle.adf.library.webapp.LibraryFilter</filter-class>
</filter>
<filter>
<filter-name>adfBindings</filter-name>
<filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>JpsFilter</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>FORWARD</dispatcher>
<dispatcher>REQUEST</dispatcher>
<dispatcher>INCLUDE</dispatcher>
</filter-mapping>
<filter-mapping>
<filter-name>ADFLibraryFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>adfBindings</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>FORWARD</dispatcher>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>resources</servlet-name>
<servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>adflibResources</servlet-name>
<servlet-class>oracle.adf.library.webapp.ResourceServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>adfAuthentication</servlet-name>
<servlet-class>oracle.adf.share.security.authentication.AuthenticationServlet</servlet-class>
<init-param>
<param-name>success_url</param-name>
<param-value>/faces/InventoryUIShell</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>Controller</servlet-name>
<servlet-class>ilog.views.faces.IlvFacesController</servlet-class>
<load-on-startup>3</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/adf/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/afr/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>adflibResources</servlet-name>
<url-pattern>/adflib/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>adfAuthentication</servlet-name>
<url-pattern>/adfAuthentication</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Controller</servlet-name>
<url-pattern>/_contr/*</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>35</session-timeout>
</session-config>
<mime-mapping>
<extension>html</extension>
<mime-type>text/html</mime-type>
</mime-mapping>
<mime-mapping>
<extension>txt</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<jsp-config>
<jsp-property-group>
<url-pattern>*.jsff</url-pattern>
<is-xml>true</is-xml>
</jsp-property-group>
</jsp-config>
<security-constraint>
<web-resource-collection>
<web-resource-name>allPages</web-resource-name>
<url-pattern>/</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>valid-users</role-name>
</auth-constraint>
</security-constraint>
<security-constraint>
<web-resource-collection>
<web-resource-name>Unsecured resources</web-resource-name>
<url-pattern>/images/</url-pattern>
<url-pattern>*.png</url-pattern>
<url-pattern>*.gif</url-pattern>
<url-pattern>*.jpg</url-pattern>
<url-pattern>*.jpeg</url-pattern>
<url-pattern>*.bmp</url-pattern>
<url-pattern>*.css</url-pattern>
<url-pattern>*.js</url-pattern>
<url-pattern>/css/*</url-pattern>
<url-pattern>/afr/blank.html</url-pattern>
</web-resource-collection>
</security-constraint>
<security-constraint>
<web-resource-collection>
<web-resource-name>adfAuthentication</web-resource-name>
<url-pattern>/adfAuthentication</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>valid-users</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/faces/login.jspx</form-login-page>
<form-error-page>/faces/error.jspx</form-error-page>
</form-login-config>
</login-config>
<security-role>
<role-name>valid-users</role-name>
</security-role>
<welcome-file-list>
<welcome-file>/faces/InventoryUIShell</welcome-file>
</welcome-file-list>
</web-app>hi
this can be done using a simple "Servlet Filters" which will check whether the user session is valid or not. so for every connect to the server the filter runs and redirects to the login page if the session has expired. here you can configure your filter to be activated for every URL or a patterns of urls.
u need servlet2.3 supported server for this.
hope this helps
shrini
I have an business j2ee application run on oc4j. When the session timeout declared on the web.xml expire, i want to redirect automaticaly the user to my login.jsp to force him to reconnect. I try j_security_chek, but i want to restart the business application at the top and not to the page which are request. Somebody know who i can do this mechanism. I try too special tag in jsp, this run very good but i have to repeate this call on every page. I look for an other simply mechanism to that
Thanks
Maybe you are looking for
-
NEW Macbook Pro anti-glare screen choice
Hi, I did not see the NEW Macbook Pro anti-glare screen choice. Did Apple Stop offering the anti-glare screen option on the NEW 2013 Laptops? THANKS!! - Randy
-
How do I create a custom page set up
How do I create a custom page set up
-
Soundblaster live! 24bit external 5.1 surround H
i purchased a new dell m70 and i plan to use it for audio recording mixing ect. and i need to be able to have 5. surround sound. I have been impressed with Creative products, and so i purchased the soundblaster li've external surround card to use wit
-
How can i download iPhoto for Mac OS x10.4 for free?
please help, cant seem to find this app on my old Powerbook G4, have iTunes, just no IpHoto. dont want to have to buy it again, only downloads I seem to be able to find are updates, where can I get the program? Please help
-
No password on wake / lock-screen in 10.4.7
I did the update from 10.4.6 to 10.4.7 and now my MacBook Pro will not ask me for a password when waking from sleep or screen saver. Usually I have the Keychain menu visible and select "Lock Screen", but this also does not require a password. I've tr