GPS of the poll seems to block on setLocationListener
I try to start the GPS of the poll, but setLocationListener seems to hang. The application just hangs there. It's on a device of Torch 9810. I use 6 SDK. I don't get any errors, it just seems to stop. After MUCH research, I came up with this:
I have static variables of provider and criteria in my main application class.
To start the voting, the word is setupGpsPolling();
I put a listener of the situation with my interval.
I have a thread that checks the latest patch. If the time is more than 20 minutes, it resets by calling setupGpsPolling();
In my main application class:
private static BlackBerryLocationProvider _provider = null; private static BlackBerryCriteria _criteria; ...... public static void setupGpsPolling() { LocationInfo.setLocationOn(); if (_provider != null) { _provider.setLocationListener(null, 0, 0, 0); _provider.reset(); _provider = null; } try { _criteria = new BlackBerryCriteria(); _criteria.setGPSRestartInterval(600, 0); _criteria.setSpeedAndCourseRequired(true); _provider = (BlackBerryLocationProvider) LocationProvider.getInstance(_criteria); _provider.setLocationListener(new LocationListener(), 300, -1, 0); } catch (LocationException e) { System.out.println(e.getMessage()); } }
LocationListener
public class LocationListener implements javax.microedition.location.LocationListener{ private static long lastFix = 0l; private static Object lock = new Object(); public void locationUpdated(LocationProvider provider, Location location) { try { BlackBerryLocation loc = (BlackBerryLocation) location; double longitude = location.getQualifiedCoordinates().getLongitude(); double latitude =location.getQualifiedCoordinates().getLatitude(); float speed = location.getSpeed(); float course = location.getCourse(); setLastFix(location.getTimestamp()); GPSLocation gps = new GPSLocation(longitude, latitude, speed, course, location.getTimestamp()); gps.setStatus(loc.getStatus()); gps.setError(loc.getError()); gps.process(); } catch (Exception e) { System.out.println(e.getMessage()); } } public void providerStateChanged(LocationProvider provider, int newState) { } public static void setLastFix(long lastFix) { synchronized (lock) { LocationListener.lastFix = lastFix; } } public static long getLastFix() { synchronized (lock) { return lastFix; } } }
My thread checker:
public class GPSThread extends Thread { public GPSThread() { } public void run() { while (true) { try { Thread.sleep(300000); } catch (InterruptedException e) { e.printStackTrace(); } if ((System.currentTimeMillis() - LocationListener.getLastFix()) > (20 * 60 * 1000)) { App.setupGpsPolling(); //reset our location listener } } } }
_provider.setLocationListener(new LocationListener(), 300, -1, 0)
Should have been
_provider.setLocationListener(new LocationListener(), 300, -1, -1)
Tags: BlackBerry Developers
Similar Questions
-
seems I'm not the only one having problems with safari after update 9.3 cannot follow the links. Safari blocks. hope it gets fixed quickly. jaa shooting allows to follow the link, but the Web page is not out of good old days. any oher ideas?
The 'list' of relevant articles that I know, they are now
-You can read about the problems in the present statutes and possibly find workaround solutions, particularly in the last
Apple iOS suspension 9.3 updates for older devices, work on activation fix | IVous
Apple launches new version of iOS for iPad users 9.3 2 affected by bricking bug | 9to5Mac
If you are unable to activate your iPad 2 (GSM model) update to iOS 9.3 - Apple Support
Leave a post by: ChitlinsCC
-
Face Time at the Morocco has been blocked from 1 January 2016
It seems that in the face of the Morocco times was blocked from 1 January 2016. Are there updates, new about this case?
Thank you
EASY
Read about it here http://www.moroccoworldnews.com/2016/01/176915/morocco-whatsapp-with-viber-facet ime-Skype /
-
Dashboard of the LabVIEW data recover indicators of the poll
Hello
I have attached my entire project, including the error messages that I receive. I have my labview VI to put in place to have 3 different screws. My entries, my global entries and my "side". I created my web server and all the controls and indicators that I linked. However, when I try and run the dashboard of data project, all my indicators have error signals indicating that he "could not connect to the server. I have no idea what I'm doing wrong. Any ideas?
The reason why this does not work, it's that your web service code is not quite structured reason. When you call a web method in LabVIEW it does is run the VI related to this method. In your case you have mapped to the URL http://host:8080/FINALCOAST/COAST.vi SIDE, and then you have a poller to web service linked to this URL. When you run your dashboard the poller accesses this URL, which causes the web server of LabVIEW run COAST.vi. If you look at COAST.vi, however, you will notice that what he does is run a loop that runs until the stop button is pressed. Is not supposed for a web method. He has no one to press the stop button. In fact, there is no user interface for anyone to interact with at all. This means that COAST.vi will work forever. Finally, data dashboard gave up and closes the connection because it should not take long for the web server that responds.
So what is the correct way? It depends on what you're trying to do. In your case, it seems that you take just a bunch of inputs, do some calculcations and producing a bunch of outputs. You could do that in a VI with the method of a web that has just a bunch a bunch of outputs and inputs. In this case, you use just a web service calling (button) connected to one of the methods. Because this method has two inputs and outputs, you will get two entry and exit of Terminal ornaments around the button that you can use to connect to your commands (entered) and indicators (outputs). When you press the button it brings together the current values of the controls and those on the server to use as inputs to call your VI sends, and then he retrieves the results from the server and puts them in your indicators. In my example attached (see the file updated the dashboard) I show you how to do this. Note that I also modified the code of VI to create a Subvi for calculation of Basic code, and it is this VI which is used for the web service. This VI has no loop in him, so he just runs once with data values and returns the results.
If you want to rather than having a continuous process that is continually measures your system in real time you need another way to access this data from a web service. It seems that that's what you were trying to do here, even if you use data in real time. Suppose that you were, however. In this case, you were a little close, but we need to make some changes. First of all, the running process doesn't have to be part of your web service. It may be, but it's a little more complicated. Instead of this, your process running (COAST.vi) can be just a regular VI running in LabVIEW. You just open and press run as usual. However, you want to only change VI to share its data with other processes. You have tried to do by using globals. Globals allow you to share data between the screws running in the same process, but web services actually run in a process completely separate (in the web server), so you'll need something else. A drop-in substitute would be shared network Variables. You'll see that in annex changed code I replaced your globals with shared variables. Then in your web service if you just use the same shared variables. Network shared Variables allow you to share data between processes (even on machines on the network) so that you can easily access the same data to both your VI running and your web service screw I modified your COAST.vi for this (and he calls the same Subvi from the calculation of the kernel).
In this case, you could do just a single method "inputs" and only one "exits" method, but it might be better to break up to the less distinct modes which include the strongly bound values just to make things a little neater. It can be tedious to deal with a large number of terminals.
Alternatively, once you use shared variables you has actually connect your controls and indicators on the dashboard of data directly to these shared variables. This has the disadvantage of requiring more ports to be open through your firewall (and you can not use security as you can do with web services), but for the use of internal network, it is easier to implement. To do this, just run your VI as before, and then as soon as it runs you can select each control or indicator in the dashboard of data, press the small button below, choose 'Shared Variables' and look for your variables on your machine. In this case, each control is directly bound to the variable, and so there is no need of a button. Changes that you make in the dashboard data are immediately placed on the server through the variable sared, and your VI (which is still running until you press stop) will see the new value, update the outputs and then repel these new values to the dashboard of data via other shared variables.
I did not create a dashboard for the last two approaches, but if you may not know what I'm talking about, then I can create examples for those as well. The screw and the project must be configured to work in any case, if the only difference is in the configuration of the dashboard.
-
Use the PXI-2630 terminal block in a matrix configuration?
My apologies in advance for the length of this post!
I use the PXI system with PXI-2530 switch modules, related to a series of USE with PXI-2632 (1W matrix 8 X 16) connector blocks and a PXI-4071 DMM for each switch module. My request, uses the PXI system for measurement of current and voltage external to verify and/or benefit from restraints of reliability. A requirement of the application, therefore, is that there must be a ride from DC through each USE with change of the minimum impedance as the application between its "bypass" mode switches and its mode 'measure '.
I used this Setup with connector blocks of matrix in conjunction with one of our test systems, and I am satisfied with the results. I started working with the Test System, has no easy connection to catch HAD, I needed to build a kind of interface the PXI system and a resistive faced load HAD, it was not difficult to build in the wires that attach to the Terminal screw of the 2632. He did turn into a nest of a coded son rat I did my best to keep clean and tidy in different bundles, however. Fortunately for the cable fasteners!
My next task is to use this application with system B Test, which has an interface of pines buck header with which each signal that goes to or from the DUT can be obtained. No welding or pass the wires through the openings where the designers have no intention of son to be stuffed. I intend to build a break-out Board that allows simple connections between the modules PXI and the number of Test B system which we have or will have in our laboratory. In order to simplify the configuration/installation, I want to reduce the number of connections to terminal block screw. Preferably, I would like to completely remove the screw terminals and use lever-based connections where I can't have mating of the headers. The PXI-2632 terminal blocks unfortunately use Terminal screw.
In matrix mode 8 X 16, the closing of the PXI-2530 switch kcom1, 3, 5, 7, no matter what points in the array are connected. A link between the row of right and column C is done by closing the switch corresponding to k (16R-C). I checked using the Soft Front Panel.
I also have a number of connector PXI-2630 blocks. These are intended to be used with the switch module in one of its MUX modes and include 8 banks of connections of the header 2 X 9 pins. In the the 2530 documentation and 2630, I identified that switch k-x is associated to chX output pin, ch0-15 related to the pins 1-16 from Bank 0, C16 - 31-associated pins 1-16 of Bank 1, etc.. X = 16 B + P-1. PIN 18 of each bank is used for independent MUX topology comX. Pines multiplexes sixteen seem to correspond to the sixteen columns of the matrix, with eight common lines corresponding to eight lines.
Here's what I would do, but I would like to ping the forum to see if anyone tried something similar and wisdon to share the thought:
- Make custom cables which connect the pins 1-16 of all eight banks 2630's header with a single Ribbon connections 16 son carrying the signals emitted by the interconnected banks (poles!).
- The custom cable bundle will also include a wire connected to the pin18 of each of the eight banks (line connections!)
- 24 total wires in the harness will end in the header connections who will probably partner by the lines that I currently connect to each object to be measured.
- Make additional harnesses that interface with the Test System B header pins.
- Make a map of derivation using band Council or a similar material to provide header pins to connect the two above custom cables and allow the connection of other elements such as resistors using Terminal level.
I checked this concept using the Assembly of 176 pins four terminals, like a bunch of little pieces of wire and cable. Are there other issues that I have to configure, such as the elements of a terminal that establish physical components of the switching topologies? The bowels of the PXI-2632 provide more features than the interconnection of the sets of eight sixteen pins? The bowels of the PXI-2630 connect elements that do not allow my proposed scheme?
I appreciate the suggestions and all entries!
Thank you
Jeff Zola
Hi Jeff,
First a correction to my previous post: 2632 Terminal has no reed relay protection resistors as I said earlier. The resistance that you were referring to the 2632 and those that I confused, is there to connect the columns of the switch. Resistances have a resistance value zero and act as the electrical connections. The 2632 connects columns c0 to c16, c17 c1, c2 to c18 and so on. Switch cards 2531 and 2532 have the protection relay reed on board resistors.
As for resistance in the map that protect the reed relays, they are generally very low and do not significatly affect even small tensions that pass through the switch. The resistance won't affect all currents in the map. Any effect that the resistors have on tensions will be with the precision of the switch card specifications.
Thus, to address the other issue in your post, there is no resistance in the connectors because they are not necessary.
-
I get the BSOD every once in a while during a variety of programs. I've updated all my drivers. I use bluescreenview watching dump files and that's what I have.
A problem has been detected and Windows has been shut down to avoid damageon your computer.The problem seems to be caused by the following file: ntoskrnl.exeDRIVER_IRQL_NOT_LESS_OR_EQUALIf this is the first time you've seen this stop error screen,Restart your computer. If this screen appears again, followthe following steps:Check to make sure any new hardware or software is installed correctly.If this is a new installation, ask your hardware manufacturer or softwarethe Windows updates, you might need.If problems continue, disable or remove any newly installed hardwareor software. Disable the BIOS memory options such as implementing caching or shading.If you need to use safe mode to remove or disable components, restartyour computer, press F8 to select Advanced Startup Options and thenselect Safe Mode.Technical information:STOP: 0X000000D1 (0XFFFFB880018FA1A0, 0 X 0000000000000002, 0 X 0000000000000008,0xffffb880018fa1a0)Ntoskrnl.exe - address 0xfffff800030dc1c0 base at 0xfffff8000305d000 DateStamp0x4fa390f3Hello
Ntoskrnl.exe is a component of Windows which means than anything else he has led astray.
BlueScreenView is a great tool for searching for information on minidumps. In particular
the bottom panel where display the information on 3rd party drivers is useful. Of course
other debuggers, such as WinDBG, might be able to glean information from minidumps.------------------
Resolve errors stop (blue screen) in Windows 7 - has a section for if you can or cannot start Windows.
http://Windows.Microsoft.com/en-us/Windows7/resolving-stop-blue-screen-errors-in-Windows-7For the methods of troubleshooting blue screen using BlueScreenView and MyEventViewer see my answers
in this thread - top 3 RESPONSES (+ 1 other).We can analyze the minidumps if make you it available to the SkyDrive or another file
sharing sites (such as MediaFire). If you have problems to download the copy of minidumps
for the office or in the Documents folder and download them from there.ZIP or download the content of the C:\Windows\minidump
Use SkyDrive to upload collected files.
http://social.technet.Microsoft.com/forums/en-us/w7itproui/thread/4fc10639-02dB-4665-993a-08d865088d65==============================================================
BCCode: D1 0x000000D1
Stop error when you resume a computer that is running Windows 7 or Windows Server 2008 R2
from sleep or standby extended: "STOP: 0x000000D1".
http://support.Microsoft.com/kb/978982Stop error on a computer based on Windows Server 2008 R2 or Windows 7 during operation
system uses a storport virtual miniport driver to save a dump file or a file of hibernation: "0x000000D1.
http://support.Microsoft.com/kb/2320550Those 7 other KB Articles are available
http://support.Microsoft.com/search/default.aspx?mode=a&query=0x000000D1&SPID=14019&catalog=LCID%3D1033&1033comm=1&Res=10--------------------------------------------------
Think video drivers especially if it may be others. Refer to the section of driver in my credits
methods of troubleshooting blue screen below. BIOS, chipset of low level drivers and
antispyway/antivirus/security programs can also cause this. Check the resolution of the problems and
When you arrive at the driver and tests of memory sections do reference to generic methods in following
message and then back to the if necessary troubleshooting tool.Cause
A driver tried to access a pageable (or that is completely invalid) address while the IRQL was too high.
This bug check is usually caused by drivers who used a wrong address.
If the first parameter has the same value as the fourth parameter, and the third parameter indicates a runtime operation, this bug check was probably caused by a driver who was trying to run code when the code itself has been paginated outside. The possible causes for the error page are:
- The function was marked as pageable and was operating at an IRQL higher (including obtaining a lock).
- The function call was made to a function in another pilot, and that this driver has been unloaded.
- The function was called by using a function pointer that was an invalid pointer.
BCCode: d1 0x000000d1<-- read="" this="">-->
* 1210.html? order = votes http://www.faultwire.com/solutions-fatal_error/Driver-IRQL-not-less-or-Equal-0x000000D1-=========================================
Look in the Event Viewer to see if something is reported on those.
http://www.computerperformance.co.UK/Vista/vista_event_viewer.htmMyEventViewer - free - a simple alternative in the standard Windows Event Viewer.
TIP - Options - Advanced filter allows you to see a period of time instead of the entire file.
http://www.NirSoft.NET/utils/my_event_viewer.html-------------------------------------------------------------------------
Here are a few ways to possibly fix the blue screen issue. If you could give the blue screen
info that would help. Such as ITC and 4 others entered at the bottom left. And all others
error information such as codes of STOP and info like IRQL_NOT_LESS_OR_EQUAL or PAGE_FAULT_IN_NONPAGED_AREA and similar messages.As examples:
BCCode: 116
BCP1: 87BC9510
BCP2: 8C013D80
BCP3: 00000000
BCP4: 00000002or in this format:
Stop: 0 x 00000000 (oxoooooooo oxoooooooo oxoooooooo oxooooooooo)
Tcpip.sys - address blocking 0 x 0 00000000 000000000 DateStamp 0 x 000000000It is an excellent tool for displaying the blue screen error information
BlueScreenView scans all your minidump files created during 'blue screen of death '.
hangs and displays information about all accidents of a table - free
http://www.NirSoft.NET/utils/blue_screen_view.htmlBlueScreens many are caused by old or damaged, in particular the video drivers drivers however
There are other causes.You can do mode if necessary safe or the Vista DVD command prompt or
Options recovery if your system is installed by the manufacturer.How to start on the System Recovery Options in Windows 7
http://www.SevenForums.com/tutorials/668-system-recovery-options.htmlYou can try a system restore to a point before the problem started when one exists.
How to do a system restore in Windows 7
http://www.SevenForums.com/tutorials/700-system-restore.html-------------------------------------------------------------------------
Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN
Enter this at the command prompt - sfc/scannow
How to fix the system files of Windows 7 with the System File Checker
http://www.SevenForums.com/tutorials/1538-SFC-SCANNOW-Command-System-File-Checker.htmlHow to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
generates cbs.log Windows Vista (and Windows 7)
http://support.Microsoft.com/kb/928228The log can give you the answer if there is a corrupted driver. (Says not all possible
driver problems).Also run CheckDisk, so we cannot exclude as much as possible of the corruption.
How to run the check disk at startup in Windows 7
http://www.SevenForums.com/tutorials/433-disk-check.html-------------------------------------------------------------------------
Often drivers up-to-date will help, usually video, sound, network card (NIC), WiFi, part 3
keyboard and mouse, as well as of other major device drivers.Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htmInstallation and update of drivers to 7 (update drivers manually using the methods above is preferred
to make sure that the latest drivers from the manufacturer of system and device manufacturers are located)
http://www.SevenForums.com/tutorials/43216-installing-updating-drivers-7-a.htmlStop Windows 7 to automatically install device drivers
http://helpdeskgeek.com/Windows-7/stop-Windows-7-from-automatically-installing-device-drivers/Turn off Windows Update Device Driver search prompt in Windows 7 / Vista (for the professional, full and Enterprise edition)
http://www.AddictiveTips.com/Windows-tips/disable-Windows-Update-device-driver-search-prompt/-------------------------------------------------------------------------
How to fix BlueScreen (STOP) errors that cause Windows Vista to shut down or restart
quit unexpectedly
http://support.Microsoft.com/kb/958233Troubleshooting Vista Blue Screen, error of JUDGMENT (and Windows 7)
http://www.chicagotech.NET/Vista/vistabluescreen.htmUnderstanding and decoding BSOD (blue screen of death) Messages
http://www.Taranfx.com/blog/?p=692Windows - troubleshooting blue screen errors
http://KB.wisc.edu/page.php?id=7033-------------------------------------------------------------------------
In some cases, it may be necessary.
Startup Options recovery or Windows 7 disk repair
How to run a startup repair in Windows 7
http://www.SevenForums.com/tutorials/681-startup-repair.htmlHow to start on the System Recovery Options in Windows 7
http://www.SevenForums.com/tutorials/668-system-recovery-options.htmlHow to create a Windows 7 system repair disc
http://www.SevenForums.com/tutorials/2083-system-repair-disc-create.htmlI hope this helps.
Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="">-><- mark="" twain="" said="" it="">->
-
Cannot find the location of the gps on the device
in my application, I'm trying to find the location of the user.my code owrks in Simulator for the curve8300 and the 9000 "BOLD"
but he does not get the cordinates on the device even though I update the gps manually using the options--> options--> gps.
What to do
package com.MyChamberApp; import javax.microedition.location.Criteria; import javax.microedition.location.Location; import javax.microedition.location.LocationListener; import javax.microedition.location.LocationProvider; public class GPS_Location { static double longi; static double lati; public GPS_Location() { } public void location() { new LocationTracker(); } class LocationTracker { private LocationProvider provider; Criteria cr; public LocationTracker() { resetGPS(); } public void resetGPS() { try { cr = new Criteria(); cr.setPreferredPowerConsumption(Criteria.POWER_USAGE_HIGH); cr.setPreferredResponseTime(120000); cr.setCostAllowed(true); provider = LocationProvider.getInstance(cr); provider.getLocation(120); if (provider != null) { provider.setLocationListener(new MyLocationListener(), 1,1,1); } } catch (Exception e) {} } public void run(){} private class MyLocationListener implements LocationListener { public void providerStateChanged(LocationProvider provider,int newState) { if (newState == LocationProvider.TEMPORARILY_UNAVAILABLE) { provider.reset(); resetGPS(); } if (newState == LocationProvider.OUT_OF_SERVICE) { provider.reset(); resetGPS(); } } public void locationUpdated(LocationProvider provider,Location location) { if (location != null && location.isValid()) { try { lati = location.getQualifiedCoordinates().getLatitude(); longi = location.getQualifiedCoordinates().getLongitude(); } catch (Exception e) {} } } } } }
Although the code seems fine for me, check with this code...
Criteria criteria = new Criteria(); criteria.setHorizontalAccuracy(50); criteria.setVerticalAccuracy(50); criteria.setCostAllowed(true); criteria.setPreferredPowerConsumption(Criteria.POWER_USAGE_HIGH); _locationProvider = LocationProvider.getInstance(criteria); Location location =_locationProvider.getLocation(-1); _longitude = location.getQualifiedCoordinates().getLongitude(); _latitude = location.getQualifiedCoordinates().getLatitude(); _altitude = location.getQualifiedCoordinates().getAltitude(); _speed = location.getSpeed(); if(_locationProvider!=null) { _locationProvider.setLocationListener(new LocationListenerImpl(), _interval, 1, 1); }
-
GPS is more accurate than a block?
I find that sometimes my GPS in my STorm will give me the exact address, but a lot of times he's going to give me an incorrect address, usually off the coast by a block or two.
Is this normal?
D
This is quite normal. The precision of a patch depends on many environmental variables for example cloud cover, the tall buildings, the domestic environment etc.. All comes down to how your device can see the heavens because the satellites are there. With a clear blue sky your device can usually see 10-12 satellite, which is the optimal case to get a super accurate fix. As the County satellite crashes due to your surroundings than the accuracy goes down as well.
-
I had to perform a clean install of Win7 Ultimate on Win7Pro, which recorded data may in a window.old directory. When I installed Win 7 Ultimate, it would install with Win 7 Pro installed, so I've had to do a clean install which has formatted the hard drive.
I tried to activate Win 7 Ultimate with the product key, but I get a message that says that the product key is blocked and I cannot activate my installation of Win 7 Ultimate. What are the options?One of the solutions is to re - install the original program, Win 7 Pro and then re install Win 7 Ultimate.It seems like a repeat of the whole process that I just finished.Thank youAlvaFLLicense status: NotificationReason for the notification: 0xC004F009 (grace period expired).
You must activate by phone:How to activate Windows 7 manually (activate by phone)
1) click Start and in the search for box type: slui.exe 4
(2) press the ENTER"" key.
(3) select your "country" in the list.
(4) choose the option "activate phone".
5) stay on the phone (do not meet all the automatic guests) and wait for a person to help you with the activation.
(6) explain your problem clearly to the support person.
-
Auto rigging is really slow on the Mixamo website. I rarely a rigging generate smoothly since Mixamo has been acquired by Adobe. I always use 1.3 fuse. I would use CC fuse to download, but the download seems to remain at 0%. I really hope that the Autorig does not go far, it helped me a lot in my career as an animation.
Questions Severral to address here:
- Fuse CC has a bug with the download bar that visually is stuck at 0%, but it is downloading in the background. You can just let it run a while and it's finally finished on its own. The bug has a fix in place who should come out with the next update to the CC Download Manager.
- Fuse rigging 1.3 should continue to work, but there is a bug that we are exploring that blocks some. Nothing of what you can really do for the moment that we just need time to focus on the issue.
- Auto-greeur will not go far.
-
The user and MMON_SLAVE blocked by LGWR sessions
Our database server is Oracle 11.2.0.2 on Redhat 5.2, in NONARCHIVE mode. The server is runnint ETL with high transaction rates. The database seems to slow down recently and several user sessions and a session of MMON_SLAVE are blocked by a LGWR session. Check the alert.log and see what follows
It seems that the switch log and checkpoint occurs every 30 seconds aboutSun Feb 06 22:14:10 2011 Thread 1 advanced to log sequence 27035 (LGWR switch) Current log# 5 seq# 27035 mem# 0: /u02/app/oracle/oradata/cchbi2/redo05.log Thread 1 cannot allocate new log, sequence 27036 Checkpoint not complete Current log# 5 seq# 27035 mem# 0: /u02/app/oracle/oradata/cchbi2/redo05.log Sun Feb 06 22:14:48 2011 Thread 1 advanced to log sequence 27036 (LGWR switch) Current log# 6 seq# 27036 mem# 0: /u02/app/oracle/oradata/cchbi2/redo06.log Thread 1 cannot allocate new log, sequence 27037 Checkpoint not complete Current log# 6 seq# 27036 mem# 0: /u02/app/oracle/oradata/cchbi2/redo06.log Sun Feb 06 22:15:25 2011 Thread 1 advanced to log sequence 27037 (LGWR switch) Current log# 4 seq# 27037 mem# 0: /u02/app/oracle/oradata/cchbi2/redo04.log Thread 1 cannot allocate new log, sequence 27038 Checkpoint not complete Current log# 4 seq# 27037 mem# 0: /u02/app/oracle/oradata/cchbi2/redo04.log Sun Feb 06 22:15:51 2011
I research in and on the forum and learned that that means dbw0 takes more time to empty blocks Sales drive as to when a log file is full and no need to turn off. We are talking about approximately 3 solutions
(1) we are in NONARCHIVE mode, have 3 redo log group each 512 Mr. I have added 3 more groups again. Not improved. I have to multiply more redo group? or redo log size is better?1) add more redo groups or enlarge redo log file size 2) make DBWR more efficient (increase dbwN, or use faster disk) 3) optimize checkpoint interval
(2) cannot change faster disks for the time. Think about increasing the number of DBWR. We have 4 CPU, should I change DB_WRITER_PROCESSES to 4?
(3) our control point settings are
-FAST_START_MTTR_TARGET = 0
-LOG_CHECKPOINT_INTERVAL = 0
-LOG_CHECKPOINT_TIMEOUT = 1800
-LOG_CHECKPOINTS_TO_ALERT = FALSE
Since we are in NONARCHIVE mode, I would like to a 3600 FAST_START_MTTR_TARGET value. But when the checkpoint become less frequent, more dirty then blocks at each checkpoint. It can still make LGWR wait control point. What could be the best balance for a heavy DML database?
All suggestions and comments are welcome.
Thank you."Adding more Redo Logs" and "(re) creating Redo Logs of greater size" both answer "Checkpoint is not complete.
However, the first action does not reduce the frequency of the Redo Log switches. So if you have a switch every 30 seconds with 512 MB Redo Logs, it does not matter if you have 3 or 10 Redo Logs, the switch will occur every 30 seconds. It's the waiting "Checkpoint not completed" which will be reduced. LGWR will however continue introduction forced a log switch, protect key structures, locking and update the controlfile etc every 30 seconds.Change FAST_START_MTTR_TARGET additional control points, NOT the switches of journal impact.
LGWR cannot write a more quickly if it is written on the same disk, even if you add Redo Logs or (re) create the larger Redo Logs.
Therefore, each "fix" addresses a different aspect of the 'performance '.
However, I beg you to confirm what you diagnose "multiple user sessions and a session of MMON_SLAVE are blocked by a LGWR session."
Hemant K Collette
-
I use Squiggly 0.5, Flex 3.5, using AdobeSpellingUI.swc. It seems that when a text box is analyzed on a CHANGE event, SpellUI will not be considered the last word, regardless of where is the location of the cursor. that translates into two odd behavior:
(1) when you type a word in the middle of a block of text, Squiggly underlines each partial word until the word is correct (for example when typing "basketball", "basketba" gets highlighted)
(2) when you type a word in the middle of a block of text, a misspelled word in the end does not get stressed.
Desired behavior: rather than coverage by ignoring the last token, ignore the token before the selectionBeginIndex/anchorIndex
Hi Brad,
Many thanks for this note. We checked. We are working on this issue and seeks to integrate the fix in future releases.
Concerning
Matthis
-
Is there an app Golf GPS for the Apple Watch series 2 which is "native" to the watch, in other words, should NOT be tied to an iPhone on the golf course?
Hello
You can find this app of interest:
-
Why is the Google Talk Plugin blocked on my computer at times?
The Plugin has been blocked once or twice in the past. I didn't know this until I made an update of Firefox. It is now unlocked. This is the case, I guess that when I'm doing or received phone calls in Google (G-mail & Hangouts). My questions are the following:
(1) why is this happening?
(2) how could avoid this happen?
(3) is there a simple way to check if the Plugin is blocked?If you need more info from me, I will surely do my best to answer you to the best of my ability.
My GT & plugin V is suddenly blocked on FF and IE, in the middle of using it!
I saw that there was an update from Google at that time here.
I can't FF to tell me that it is not blocking it no more, so I can allow it, I could do in a small computer also W7pro 64 of my roommate, but a little more recent than mine.
How can I get FF to show that something is blocked. Using IE right now, because FF installs all screwed everytime now. Something in my cookies?
hgw53t said
The Plugin has been blocked once or twice in the past. I didn't know this until I made an update of Firefox. It is now unlocked. This is the case, I guess that when I'm doing or received phone calls in Google (G-mail & Hangouts). My questions are the following:
(1) why is this happening?
(2) how could avoid this happen?
(3) is there a simple way to check if the Plugin is blocked?If you need more information from me, I'll surely my best to respond to the best of my ability.
-
Updating FF 24/25, my browser hang, I uninstall the browser and tried to reinstall, but extract the Setup file and blocks until pls give a solution
I solved the problem, installed the installer from mode Windows safe.
Maybe you are looking for
-
I need to remove 4 cents off my account if I change regions
How can I remove 4 cents off my account if I change my region to the United States
-
Moving files/folders left behind empty folders
This had me crazy since I was first a Vista computer. It does on each of them, 32 and 64-bit. Updates are up to date and we are running SP2. If I try to move a folder to a directory on the hard drive to another directory on the same hard drive, Vis
-
the windows update icon is constantly on and I don't know why... If I put the updates automatically update... help
-
When I try to install a new program in my windows system 7, or when I insert a blank disc to burn music the 'auto play' will not work. When I opened the computer and right click on the 'E' drive, a window opens and I click on 'Open' and I get anothe
-
Smartphones for Curve 8830 blackBerry DVD converter software?
Everyone is a decent DVD converter (for PC or Mac) that will tear a standard commercial DVD to a file that works with the 8830 curve Media Player (or any other video player, for that matter)? I go back with the two Mobiola/SHARP (PC) and Warelex (Ma