rapimgr.exe using 100% of CPU all the time?! - General Questions and Answers

Only just noticed this, but rapimgr.exe (a part of ActiveSync 4) is using 100% of my CPU all the time, and about 55-60% of my core CPU time (which is what REALLY bogs the system down) all the time, regardless of whether my Alpine's docked or not. It only seems to start hogging the CPU after the Alpine has been docked (if the machine boots and the phone's not docked, it doesn't seem to get stuck in whatever loop it's in)...
... This is really beginning to annoy me, as the only way I can stop it from hogging the CPU is to kill the process, and then I get an ActiveSync critical communications services load failre error every time I dock the phone (and it won't sync properly, it'll only see the device and show its name).
Anybody else come across this problem, and/or know how to resolve it? Using ActiveSync 4.1.0 (Build 4811). Thanks in advance...

Turns out that this seems to happen if you have a combo of ZoneAlarm Firewall installed, and/or have a nonstandard Internet connection (I'm proxied here at Uni), but ZA seems to be the primary issue. It apparently hinders the software (which is part of ActiveSync) from connecting to AS on the phone correctly, thus looping forever until you either kill the process or it exits the loop itself (which I have seen it done).
Just posting this for the sake of completeness.

rapimgr.exe using 100% of CPU all the time
I've just spotted Christopher Woods post about interference between his firewall and rapimagr.exe and suddenly realised that a similar thing could be causing the the same problem on my PC.
I'm running XP with Activesync 4.2 and McAfee Internet Security Suite 2006.
I'd used the McAfee firewall to block the Activesync programs, as I didn't have my Sat Nav plugged in and whenever Activesync ran, rapimgr.exe hogged my cpu. I now understand it was in a loop (as described by Christopher Woods) so unblocking the Activesync programs has solved the problem.
Thanks

Hmmm.
Now i see why my friend's computer is acting strange. Thanks Guys !

It happened to me with kerio too.. the kpf4gui.exe (kerio process) also shown high cpu usage. So i suppose interference between activesync and firewalls is kinda common.

In my case the situation was little different. The firewalls was ok, but.. this rapimgr.exe uses port 990, and at my PC the FTP Server is installed, and by default it uses the same port for "Implicit FTPS". Seemed like FTP server was loaded more quick than rapimgr.exe, and that's why rapimgr.exe was eating 50% of resources, and the Synchronization with device was not possible!
Hope my issue can help somebody

Related

Auto Disconnect GPRS while device is asleep

Hi, I know this topic has been covered many times, but I here's my issue.
I have phoneAlarm running on my Trinity and set phoneAlarm to cut my data connection after 1min of data inactivity and it all works fine. I can browse the web, check emails using the WM5 inbuilt email application. After 1 min of data inactivity, my connection is cut, brilliant, works like a treat.
However, once the device is asleep, and my email application polls, the data connection remains connected (if there are no emails, it won't wake up) and I have to switch on again and either let it disconnect when awake, or manually disconnect it.
The funny thing is, its just the email application thats causing this. If I was browsing using PIE and just press the power button whilst it was still connected, it times out and it gets disconnected, and the next time I wake up the device I can see there is no data connection.
it seems like the WM5 email application whilst asleep is either holding on to the connection or some data is being transferred, as I said it doesn't happen if the device is awake.
This really is bugging me, as the whole point of setting up "Auto disconnect" is so I can leave it and trust it to only connect when need be. Currently, if I don't use the phone and don't receive any emails, my GPRS connection is on all the time whilst the phone is asleep.
I have tried other programs, but generally, all of these applications perform the same registry tweak.
Sorry for long post.
I did a program (ConnectionManager) that wakes up the pda to Idle state (screen off, no sound and cpu to minimum level) each 3 minutes and check the states of connections. If there isnt traffic in 2 minutes the connection is closed.
Hi,
Interesting. Do you have a link to that program? Tried to find it in the forum by searching for "ConnectionManager" and found nothing.
So when the device is in idle state, min CPU, screen off etc, there's no problem in accepting calls etc?
I was reading a thread regarding the other program you wrote that switches bands, was interested in that too.
Thanks for your help.
Don't worry, I've found it, and it WORKS. You're a star!!!
exactly what I was looking for. It did come across it before, but for some reason I thought you didn't check for data flows and close the connection full stop. Obviously i mis read
I've downloaded WM5 SDK, but didn't really know where to start, I am a developer, but don't know anything about the WM5 APIs. Cheeky question, but is it possible to let me have the source code?
I would love to enhance something like this, would love it to be a today plug in and let you enable it without opening a new form. Settings about how long before checking. Not sure how easy it would be.
Just a comment really, not sure if its just my device (Trinity) but the Close Program button seems to be out of shape, i.e. larger than the other 3 and goes right to the edge of the screen.
Oh, one more question, do you think having the device on idle will have much impact on battery life. Once the device is in idle, does it suspend again, or does it keep it in idle until you switch it on again?
Thanks again!
Hi, another thing. Having tried this program out for a little while now, it seems to not let the device time out into suspend state. For me, it seems to just lower the brightness of the screen. The program still works, but it won't let the device suspend automatically, i thought it would switch it to idle, and turn of the screen.
Once the machine is suspended manually by pressing the power button, then its fine. Do you have this issue?
Still works like a treat though, and better than anything I had before!
Thanks again!
Sorry, my mistake. It all works fine!
Hi. I was going to do other release (the user can modify connections check, etc) but i will post the source code, sure (but the source code is in my laptop). tomorrow i will post it.....
Greetings
hongsit said:
Don't worry, I've found it, and it WORKS. You're a star!!!
exactly what I was looking for. It did come across it before, but for some reason I thought you didn't check for data flows and close the connection full stop. Obviously i mis read
I've downloaded WM5 SDK, but didn't really know where to start, I am a developer, but don't know anything about the WM5 APIs. Cheeky question, but is it possible to let me have the source code?
I would love to enhance something like this, would love it to be a today plug in and let you enable it without opening a new form. Settings about how long before checking. Not sure how easy it would be.
Just a comment really, not sure if its just my device (Trinity) but the Close Program button seems to be out of shape, i.e. larger than the other 3 and goes right to the edge of the screen.
Oh, one more question, do you think having the device on idle will have much impact on battery life. Once the device is in idle, does it suspend again, or does it keep it in idle until you switch it on again?
Thanks again!
Click to expand...
Click to collapse
Idle is a state with minimum impact...but is bigger than suspended. When the device wakes up to idle state it is suspended again after a few seconds if the cpu isnt used too much. When the device is woke up by a app notification (Its our case) the system suspends very quickly. In my tests (using log method) the program does its stuff (1 seconds) and 10 seconds later the system is suspended again...
I ve used Visual Studio 2005 and the program was wrote using C (not MFC)...
Hi Daniel
Where can I download this app ?
Thanks and regards
Martin
I am curious if you gprs comes on for your push mail, can you still make outgoing call and also send text messages?. I have this issue for my atom exec and it's annoying me. Thanks
hongsit said:
Hi, I know this topic has been covered many times, but I here's my issue.
I have phoneAlarm running on my Trinity and set phoneAlarm to cut my data connection after 1min of data inactivity and it all works fine. I can browse the web, check emails using the WM5 inbuilt email application. After 1 min of data inactivity, my connection is cut, brilliant, works like a treat.
However, once the device is asleep, and my email application polls, the data connection remains connected (if there are no emails, it won't wake up) and I have to switch on again and either let it disconnect when awake, or manually disconnect it.
The funny thing is, its just the email application thats causing this. If I was browsing using PIE and just press the power button whilst it was still connected, it times out and it gets disconnected, and the next time I wake up the device I can see there is no data connection.
it seems like the WM5 email application whilst asleep is either holding on to the connection or some data is being transferred, as I said it doesn't happen if the device is awake.
This really is bugging me, as the whole point of setting up "Auto disconnect" is so I can leave it and trust it to only connect when need be. Currently, if I don't use the phone and don't receive any emails, my GPRS connection is on all the time whilst the phone is asleep.
I have tried other programs, but generally, all of these applications perform the same registry tweak.
Sorry for long post.
Click to expand...
Click to collapse
where can I find this piece of software?
http://forum.xda-developers.com/attachment.php?attachmentid=34693&d=1172683590

What if someone ping my phone constantly?

So we've got a smartphone that's connected to the Internet 7/24 and its IP address usually does not change, thanking to mobile IP.
From my PC, I can ping to my phone and my phone responses, even during the period of standby (dark screen).
What if someone ping my phone continuously? I think the battery will run out in an hour or so.
What we can do about this? You know hacks are probing ports all the time and they sure will find my phone. While they mostly cannot do any hack, but they'll drain out the battery.
Someone would really specifically want to annoy you or do you harm to ping your phone constantly, it is not as easy as it sounds. They would have to specifically want to do it to your phone.
About battery: I am not sure that sending a 1kb ping continuously would drain your battery that much quicker, as you're already connected to the internet and a similar process is already taking place to keep you that way 24/7. Even Direct Push Email will ping your phone once at least every 15 minutes, and Microsoft apparently found that an acceptable process.
We live in a world of hackers. Try watching your smartphone for a while and you'll see the data access is quite often (I have no push mail going on). Note: data activities use lots of power/battery.
ping dont hack the phone
i suspect that changing reception and therefore reinit with the service would be a bigger suspect
There's no risk on ping but if you need security then you can try a mobile firewall called 'ProtectStar Mobile Firewall'
This is not about hacking, it is about port probing that will drain the battery.

Vox crashing when using internet connection

In the last week or so, my VOX has become very unstable when I use applications that access the internet. I thought it was just some new apps that I installed making it unstable, but I removed all the recent apps and it still shuts down between 1 minute and 5 minutes of using the internet.
Apps that use the internet vary from pocket IE to Viigo to PodcastReady. I have not yet seen it crash when I use apps like Live Search, but I suspect that it would if I used it enough. I know there's trouble when pocket IE causes a shut-down -- it's an out-of-the-box app that isn't really prone to crashes like other 3rd party tools might be (Viigo and PodcastReady are beta, after all).
But I've never had my phone just shut down before -- not even with beta software.
One thing that I will say that I've recently been fiddling with my proxy settings and "work" "internet" "pass-through" types of connections in "Settings > Connections" in an effort to get my phone to access the web while connected via USB to my work laptop.
But I believe I've gone in and reset all the changes I've made. Plus, should those types of changes cause a crash??
I'm using the latest ROM from HTC (the 2008 update). I'm seriously considering upgrading to a 6.1 ROM to help resolve, but if it's hardware-related, then taking the time to upgrade (and re-install everything I've done) will be a waste of time.
Any info/insights into what's going on??
Thanks!
Jon
Phone Just Quit
I had a similar problem with my S710; tried all the ROMs, added, deleted software, tried all kinds of things, removed some programs, etc. Even went back to the HTC ROM. The only thing that solved my problem was to replace my battery. After putting in a new one, I've not had a single lockup in weeks. Before I was having them daily.
OK, that is weird. How could it be battery related? Was it the OEM battery?
I have to say, my battery level seems kind of erratic lately. It goes from 32% to "shut down" almost instantly...

Activesync Turns ON by it self all the time!!!

I have a problem with my new T-pro it keeps on turning ON Activesync for no reason. everything is setup exactly the same way it was on my TyTN II, but it Starts Activesync all the time....
I keep turning it OFF from Task Manager but it Turns it right back on!!!!
this is really anoying!! Anyone have a clue on how to cure this???
patrickrivard said:
I have a problem with my new T-pro it keeps on turning ON Activesync for no reason. everything is setup exactly the same way it was on my TyTN II, but it Starts Activesync all the time....
I keep turning it OFF from Task Manager but it Turns it right back on!!!!
this is really anoying!! Anyone have a clue on how to cure this???
Click to expand...
Click to collapse
does it show on the screen or in the background as a process??
My tytn II turned on Active sync all the time (in ran in the background as a process). If I shut down active sync on the pda, i would find it running in the background a couple of mins later.
Edit: Although on my previous pda phone, Eten X500+, active sync would stay off until I connected my PDA to the computer. When I disconnected the PDA, the active sync app would close (process would stop). I don't think its an issue, it's just HTC's engineer's at work. Maybe they had issues when active sync closed, like the pda wouldn't sync properly next time is was connected to the computer.
same here, i have a mogul and it would do the same, im guessing it is normal.
Well I've got WkTask installed and it shows on the top title bar...
And it shows in the "Running Program list" in Task Maanager...
I've remove almost everything on the device and deleted my exchange partership and it still Turns on!!!
It is driving me nuts... I'm at the stage of calling HTC... but I know what their answer is to all problems... they will say have tried "Hard Reset" ???
So next step will be that I guess... Unless someone has another Idea...
By the way, another issue but, the battery life is rfeally ****ty on this device compared once again to my TyTN II, I'm not impressed at all so far!!! This morning 07:30 off the charger, toyed with it for a max of 15 minutes in the whole day and the Batt went dead on me arround 18:00!!!!!
And to say that I spent over a Grand ($ 1,150.00) for it, incl all transport, customs, brockerage, import taxes... Not a happy camper at all!!!
pjmiebach said:
My tytn II turned on Active sync all the time (in ran in the background as a process). If I shut down active sync on the pda, i would find it running in the background a couple of mins later.
Click to expand...
Click to collapse
PJ, do you use a T-Pro ??
How is it performing in Ottawa?? I'm in QC.
B18DelSolT said:
same here, i have a mogul and it would do the same, im guessing it is normal.
Click to expand...
Click to collapse
B18, This is certainly not "Normal"!!!! On my TyTN II I could turn it off and it would not turn back ON by it self untill the set schedule in it!!!
patrickrivard said:
B18, This is certainly not "Normal"!!!! On my TyTN II I could turn it off and it would not turn back ON by it self untill the set schedule in it!!!
Click to expand...
Click to collapse
That's not true. I feel it IS normal. Every dutty ROM I ever ran on my Kaiser (all of them) This happened. It doesn't happen in the Leo ROMs (all of them) I use though, maybe has to do with the way the ROM is setup.
yep, activesync really ought to be running in the background...it uses hardly any resources and doesnt pester you so why is it such a problem?!?
Try this, it works:
http://pdaphonehome.com/forums/ppc-6700-xv6700/60676-how-stop-activesync-turning-automatically.html
Of course fter soft reset AS will strt ONCE but after you close it it will never start again.
patrickrivard said:
PJ, do you use a T-Pro ??
How is it performing in Ottawa?? I'm in QC.
Click to expand...
Click to collapse
I'll let you know on Tuesday when I get it.
BTW, how does it work in QC?
mrvanx said:
yep, activesync really ought to be running in the background...it uses hardly any resources and doesnt pester you so why is it such a problem?!?
Click to expand...
Click to collapse
Try this :
http://pdaphonehome.com/forums/ppc-6700-xv6700/60676-how-stop-activesync-turning-automatically.html
After a soft reset AS will start ONCE, but after You close it, it will never again
JimmyMcGee said:
That's not true. I feel it IS normal. Every dutty ROM I ever ran on my Kaiser (all of them) This happened. It doesn't happen in the Leo ROMs (all of them) I use though, maybe has to do with the way the ROM is setup.
Click to expand...
Click to collapse
Well I am running Duttys ROM on my Kaiser and I could turn it OFF and it would not Start back again on it's own!!! until next scheduled...
BTW I fully charged my T-Pro last night at 22:30 and at 07:30 this morning... Battery is dead!!!!
Evidently there is a problem with this unit... is it related to AS???
mrvanx said:
yep, activesync really ought to be running in the background...it uses hardly any resources and doesnt pester you so why is it such a problem?!?
Click to expand...
Click to collapse
Because this is the only thing I can see that would be draining my Batt so fricking fast...
It has nthing to do with the app it self but the fact that if AS is trying to Sync all the time it turns the Radio ON and Consumes power... which leads to extreme batt drain!!!
patrickrivard said:
Because this is the only thing I can see that would be draining my Batt so fricking fast...
It has nthing to do with the app it self but the fact that if AS is trying to Sync all the time it turns the Radio ON and Consumes power... which leads to extreme batt drain!!!
Click to expand...
Click to collapse
I had this battery draining problem too. My workaround was to ensure that Data Connections are set to auto-disconnect after a certain time (for me 1 minute).
This greatly improved my battery life to the point that I now don't mind that ActiveSync is constantly on (however annoying and pointless that may be... previous WM5/6/6.1 ROMs I used on my Trinity never had this occur)
Anyway to auto-disconnect via registry:
HKLM\Comm\ConnMgr\Planner\Settings
CacheTime=60
(60 seconds before disconnect, change to suit you)
SuspendResume=GPRS_bye_if_device_off
(default is "~GPRS!" which is always on)
Or install Schaps Advanced Configuration Tool, run, and select Menu->Connection Settings and you'll see "Disconnect after :" "x minutes" options.
Try that if it doesn't work there's also an ActiveSync setting that people say chews the battery on any WM device... google will find it for you. I tried it but the auto-disconnect for me worked much better.
kucsi said:
Try this :
http://pdaphonehome.com/forums/ppc-6700-xv6700/60676-how-stop-activesync-turning-automatically.html
After a soft reset AS will start ONCE, but after You close it, it will never again
Click to expand...
Click to collapse
Yeh this is the ActiveSync drain I was talking about... I did this but still find ActiveSync restarting itself tho. But at least it doesn't seem to drain battery anymore.
eugioc said:
I had this battery draining problem too. My workaround was to ensure that Data Connections are set to auto-disconnect after a certain time (for me 1 minute).
This greatly improved my battery life to the point that I now don't mind that ActiveSync is constantly on (however annoying and pointless that may be... previous WM5/6/6.1 ROMs I used on my Trinity never had this occur)
Anyway to auto-disconnect via registry:
HKLM\Comm\ConnMgr\Planner\Settings
CacheTime=60
(60 seconds before disconnect, change to suit you)
SuspendResume=GPRS_bye_if_device_off
(default is "~GPRS!" which is always on)
Or install Schaps Advanced Configuration Tool, run, and select Menu->Connection Settings and you'll see "Disconnect after :" "x minutes" options.
Try that if it doesn't work there's also an ActiveSync setting that people say chews the battery on any WM device... google will find it for you. I tried it but the auto-disconnect for me worked much better.
Click to expand...
Click to collapse
Does this auto disconnect happen no matter what, or only if the connection is inactive?
For example, will it stay connected if im connected to live messenger?
Also, will it turn itself on to get my emails according to the schedule (every 30 mins for me)?
As i red it somewhere, here's how have disabled activesync autostart permanently:
> Disable notification repllog.exe - AppRunAfterTimeChange
And voila, just manual activesync.
Note - You can use DotFred's Task Manager to accomplish this task.
Vasko said:
As i red it somewhere, here's how have disabled activesync autostart permanently:
> Disable notification repllog.exe - AppRunAfterTimeChange
And voila, just manual activesync.
Note - You can use DotFred's Task Manager to accomplish this task.
Click to expand...
Click to collapse
really working solution thanks
I did it and worked. the problem is when I try to sync via ActiveSync.
It doesnt find pc and pc doesnt find htc.
how do I start the service ?
I still want to keep things like this since my battery lasted 2 days ~
Deiota

[Q] HELP: c00d07c9 error in wireless sync

Hi there
I have a problem with my new HTC Trophy.
It works fine with my Wireless router, It connects fast when I'm in home, and I can surf and get emails and all the stuff.
But then I tried to use zune for configure the wireless sync and problems came.
Zune detecs fine my SSID (withc is not hidden and doesn¡t have MAC adress filter active). Then I click on "Set up wireless sync" button and on the next screen, on the "Confirm Network" one, this is what happens when I click "next":
"Can't detect your phone"
An error has ocurred.
Zune was unable to connect to the wireless network access point.
Error code: C00D07C9."​
I really don't understand what is going there. because My zune works pretty fine downloading apps and sync the phone.
Help Anyone?
Thanks in advanced!
I had the same problem with my Omnia7. I found out that you need to disable windows firewall or anyother antivirus firewall when doing the first sync.
Also, connect the phone to the computer and leave it idle for 10-15 mins before you setup wireless sync.
Oh man thanks very much for your help.
Just as soon I turned Off my windows Firewall the sync was completed without any kind of error.
Cheers!
I'm glad i could help.
Cheers
omniauser7 said:
I had the same problem with my Omnia7. I found out that you need to disable windows firewall or anyother antivirus firewall when doing the first sync.
Also, connect the phone to the computer and leave it idle for 10-15 mins before you setup wireless sync.
Click to expand...
Click to collapse
so, after the first sync you can turn your firewalls back on though, correct?
yes, I'd also add an exception for zune.exe to the firewall too
omniauser7 said:
I had the same problem with my Omnia7. I found out that you need to disable windows firewall or anyother antivirus firewall when doing the first sync.
Also, connect the phone to the computer and leave it idle for 10-15 mins before you setup wireless sync.
Click to expand...
Click to collapse
This worked for me also.. Great tip..
Worked for me as well. Thanks a lot
Nice one, I just spent 10 min trying to connect to an AP i forgot that i activated the access control months ago
*then it clicked*
I have same problem with Omnia 7. My laptop running Windows 7 64 bit is connected to same wireless network as my phone. Connection on both systems works without any problem. But when I try to setup wireless sync I have same problem like described here. I disabled Windows Firewall and also real time protection in Microsoft Security Essentials. I do not use any other security software. Any other solution?
same here
I'm also having issues getting wireless sync setup So far I've tried;
Disabling Windows Firewall
Connecting to network via cable
Removing wireless connection in phone and rebooting
Disabling AV
I'm at a loss as to what I else I can try. Wireless on the phone works, wireless on the laptop works, just setting up wireless sync doesn't
anything else to add
I have tried EVERYTHING to get this working. I have disabled everything that might be blocking the ports, I have reinstalled software, you name it.
Nothing.
The strange thing is, the phone worked and synced fine on Windows XP, then I upgraded (moved sideways?) to Vista and now I'm screwed. This is s**t Microsoft.
They can't tell me anything
MAke sure you are signed into the Zune software. i think this has to be done to let zune know that you are connected to the network. I think it is just a wierd bug thats never been caught. for some reason my auto sign in doesn't work. But i couldnt get it to work so i closed zune, then re-opened it signed in (top right corner of zune) then wen to settings and it worked.
I went into settings and click "Forget this phone" so that it would create a new profile. Still didn't work. Then I read on MS support Article ID: 952304 (goo.gl/6nsSm) that it may not work when connected to a public network.
D'Oh, I was connected to my VPN for work so it couldn't find my wireless access point. I disconnected/logged off my VPN, pressed Retry Wireless Sync and it worked like a charm. Then logged into my VPN again. Presto.
Hope this helps someone...
My Samsung Focus has never worked with wireless sync. I got it the day Windows Phone launched in the US and I've been through several hard resets over the past year and multiple reinstalls of Zune.
It sets up fine and then starts to sync and sometimes it will get through a song or two but it will eventually just stall during a transfer and there's no errors of any type. I can leave it there for hours and it won't progress any. I have no firewalls running or connected VPN's.
I've given up trying to get it to work. Very annoying.
I think I found the answer: According to [1] Zune is not compatible with routers using WPA/WPA2 mixed mode. Setting it to ONE of the two should make it work...
[1] http://www.zune.net/de-DE/support/w...help_originalid=C00D07C9&webhelp_locale=de-DE
hi guys,
so i think i have a solution but my modem ist airties it can be change with other models. so i have checked the link that hades has shared in german . yes you need to choose one of thee password code and then you go to ip adress of your modem default gateaway i mean, then then there should be isolation users something you need to untick that then save it . thats what i did and it worked.
i hope it works for you too
cheers
If this problem persists even after all the solutions provided, it is most likely that Zune does not currently properly support your Wireless Adapter associated with the computer.
I have this similar issue, I can sync fine on all computers but my desktop refuses to do so. I have even tried reinstalling everything.
Zune Sync USED to work for me... it now no longer works. The only change is that I've changed carrier ROMs since my phone's original carrier refused to update to 7440 and Internet Sharing. On my new ROM w/7440 I can't get it to work like it had... this sucks b/c I do miss it. Sigh WP7 was suppose to not require ROM flashing and hacking.
EDIT: Got it past the Set Up Wireless Sync prompts by going to "General Settings" on Zune and checking the Always start software when device is connected option box.
EDIT #2:Turns out, that did not get my LG Optimus 7 syncing, as now the PC would recognize the phone over wifi, but would fail to install proper drivers. I next had to uninstall Zune using this MS FixIt tool and then I reinstalled Zune as the tool prompts you. You don't lose any information during this process! And now my wifi sync works perfectly again. FWIW I think all this may have started when I installed specific LG drivers to be able to change LG ROMs.

Categories

Resources