sbiesvc.exe use more than 100M memory
Moderator: Barb@Invincea
-
- Posts: 0
- Joined: Wed Dec 31, 1969 7:00 pm
sbiesvc.exe use more than 100M memory
Hi,
The sbiesvc.exe process in my computer use more than 100M memory when I use IE and firefox, is this normal?
I use sandboxie 3.0
The sbiesvc.exe process in my computer use more than 100M memory when I use IE and firefox, is this normal?
I use sandboxie 3.0
-
- Posts: 2690
- Joined: Tue Dec 26, 2006 5:44 pm
- Location: West Florida
-
- Posts: 0
- Joined: Wed Dec 31, 1969 7:00 pm
I read some post and do some test.
I use sandboxie under windows 2003 SP2, I test the sandboxie without antivirus or firewall.
After a reboot, I found
Memory usage increase observably when I open a new application
Memory usage almost doesn't increase when I open an application second time.
Memory usage increase very slack when no new application launch.
Memory usage doesn't decrease after I close all applications.
I tested software include
MSN messenger 8.5b
google talk
firefox
IE7
emule
bitcomet
After open all the application and use about half an hour the memory usage about 160M
I found the IE7 is very observably increase the sbiesvc.exe memory usage.
Wish these information can help
I use sandboxie under windows 2003 SP2, I test the sandboxie without antivirus or firewall.
After a reboot, I found
Memory usage increase observably when I open a new application
Memory usage almost doesn't increase when I open an application second time.
Memory usage increase very slack when no new application launch.
Memory usage doesn't decrease after I close all applications.
I tested software include
MSN messenger 8.5b
google talk
firefox
IE7
emule
bitcomet
After open all the application and use about half an hour the memory usage about 160M
I found the IE7 is very observably increase the sbiesvc.exe memory usage.
Wish these information can help
That statement prompted me look into SbieSvc again from another angle, and I found (and fixed) a bug that can certainly result in increased use of resources. Let's hope the next update to Sandboxie makes things better in this respect. I will release it soon.I use sandboxie under windows 2003 SP2, I test the sandboxie without antivirus or firewall.
tzuk
-
- Posts: 0
- Joined: Wed Dec 31, 1969 7:00 pm
Hi
The new version significant improve the memory usage of sbiesvc.exe
I test firefox with 7 process open more than 60 tabs and about 10 other programs, the memory usage is not exceed 10M
The 3.00.01 version will use 50-60M memory under this situation.
But the IE7 seem no improve. Open a new tab will cause the sbiesvc.exe usese about 20M memory. and it's speed is very slow
After opened 7 tabs, the memory usage reaches about 130M and console.exe report
SBIE2203 failed to communicate with Sandboxie service: null reply
then I reboot the machine the driver can't init and the service can't startup, some infomation in the system envent log below:
SBIE9156 Driver initialization not completed
SBIE1122 Error: [C0000058]
SBIE1121 Hook failed for service NtUserMessageCall
SBIE1153 Sandboxie initialization failed. Close all programs and then re-install Sandboxie OR restart your computer.
reinstall can correct the error.
The new version significant improve the memory usage of sbiesvc.exe
I test firefox with 7 process open more than 60 tabs and about 10 other programs, the memory usage is not exceed 10M
The 3.00.01 version will use 50-60M memory under this situation.
But the IE7 seem no improve. Open a new tab will cause the sbiesvc.exe usese about 20M memory. and it's speed is very slow
After opened 7 tabs, the memory usage reaches about 130M and console.exe report
SBIE2203 failed to communicate with Sandboxie service: null reply
then I reboot the machine the driver can't init and the service can't startup, some infomation in the system envent log below:
SBIE9156 Driver initialization not completed
SBIE1122 Error: [C0000058]
SBIE1121 Hook failed for service NtUserMessageCall
SBIE1153 Sandboxie initialization failed. Close all programs and then re-install Sandboxie OR restart your computer.
reinstall can correct the error.
That's the bug I've been looking for, but I have no idea how to reproduce it myself.After opened 7 tabs, the memory usage reaches about 130M and console.exe report
SBIE2203 failed to communicate with Sandboxie service: null reply
OK, I will make Sandboxie wait longer during initialization.then I reboot the machine the driver can't init and the service can't startup
reinstall can correct the error.
tzuk
-
- Posts: 0
- Joined: Wed Dec 31, 1969 7:00 pm
HiThat's the bug I've been looking for, but I have no idea how to reproduce it myself.
I think I may found the reason of too much memory used.
I fond the sbisvc.exe try to create below directoryes again and agin.
Local Settings\Temporary Internet Files
Local Settings\Temporary Internet Files\Content.IE5
Local Settings\History
Local Settings\History\History.IE5
So I add below config into sandboxie
OpenFilePath=iexplore.exe,%Cache%
OpenFilePath=iexplore.exe,%Cache%\Content.IE5
OpenFilePath=iexplore.exe,%Cookies%
OpenFilePath=iexplore.exe,%History%
OpenFilePath=iexplore.exe,%History%\History.IE5
OpenFilePath=iexplore.exe,%Local Settings%
OpenFilePath=iexplore.exe,%Local Settings%\Temp
After added the settings, sbisvc.exe doesn't use so much memory when IE7 start
But the IE7 still slower than out of sandboxie.
How did you find that out it was creating stuff? I'm asking because that's obviously a bug that I want to fix properly rather than with OpenFilePath settings.I fond the sbisvc.exe try to create below directoryes again and agin.
SbieSvc is supposed to do some operations on existing directories on behalf of sandboxed programs, but not to create them. Can you give some more details?
tzuk
-
- Posts: 0
- Joined: Wed Dec 31, 1969 7:00 pm
I use Process Monitor record the operation of sbiesvcHow did you find that out it was creating stuff? I'm asking because that's obviously a bug that I want to fix properly rather than with OpenFilePath settings.
SbieSvc is supposed to do some operations on existing directories on behalf of sandboxed programs, but not to create them. Can you give some more details?
http://www.microsoft.com/technet/sysint ... nitor.mspx
Log shows sbiesvc try to create these directorys in boxrootfolder but always can't fully success.
below is apart of the log
CreateFile C:\Documents and Settings\Administrator\Application Data\Sandbox\DefaultBox\user\current\Local Settings\Temporary Internet Files SUCCESS
SetBasicInformationFile C:\Documents and Settings\Administrator\Application Data\Sandbox\DefaultBox\user\current\Local Settings\Temporary Internet Files SUCCESS
CloseFile C:\Documents and Settings\Administrator\Application Data\Sandbox\DefaultBox\user\current\Local Settings\Temporary Internet Files SUCCESS
CreateFile C:\Documents and Settings\Administrator\Application Data\Sandbox\DefaultBox\user\current\Local Settings\Temporary Internet Files\Content.IE5 NAME NOT FOUND
CreateFile C:\Documents and Settings\Administrator\Application Data\Sandbox\DefaultBox\user\current\Local Settings\History NAME NOT FOUND
CreateFile C:\Documents and Settings\Administrator\Application Data\Sandbox\DefaultBox\user\current\Local Settings\History\History.IE5 PATH NOT FOUND
CreateFile C:\Documents and Settings\Administrator\Application Data\Sandbox\DefaultBox\user\current\Local Settings\Temporary Internet Files\Content.IE5 NAME NOT FOUND
CreateFile C:\Documents and Settings\Administrator\Application Data\Sandbox\DefaultBox\user\current\Local Settings\Temp\Temporary Internet Files\Content.IE5 PATH NOT FOUND
This process continue again and again.
Normal IE files?
I ran across those folders and files in my system too. It's just the IE7 cache, which consists of a huge number of files, depending on what you're viewing or downloading in IE7. It stores cookies, images, etc. in this space so it can re-load quickly.
The way I discovered them was trying to securely delete the default sandbox with Axcrypt. It left a couple of directories. So I opened up a DOS window and executed the command "dir /a /s". I was surprised when hundreds of files appeared. Apparently they all have the System and Hidden attributes set. So for drill, I executed the attrib command recursively and removed the S and H attributes. Then it was easy to secure delete the files.
I think it's normal for IE7 to create this huge cache of files, and it's clear Sandboxie should create this cache rather than add or use the one that un-sandboxed IE7 pages use.
I wonder if it would be a useful feature for Sanboxie to have an option to delete the default sandbox securely, i.e., by overwriting it with zeros. Somehow I find it reassuring to know your sandboxed session is securely deleted. I'd be curious if anyone else likes this idea.
On the other hand, it's quite easy to use a command like sdelete.exe (www.sysinternals.com) in a batch file to quickly accomplish the same thing manually.
Mwewe
The way I discovered them was trying to securely delete the default sandbox with Axcrypt. It left a couple of directories. So I opened up a DOS window and executed the command "dir /a /s". I was surprised when hundreds of files appeared. Apparently they all have the System and Hidden attributes set. So for drill, I executed the attrib command recursively and removed the S and H attributes. Then it was easy to secure delete the files.
I think it's normal for IE7 to create this huge cache of files, and it's clear Sandboxie should create this cache rather than add or use the one that un-sandboxed IE7 pages use.
I wonder if it would be a useful feature for Sanboxie to have an option to delete the default sandbox securely, i.e., by overwriting it with zeros. Somehow I find it reassuring to know your sandboxed session is securely deleted. I'd be curious if anyone else likes this idea.
On the other hand, it's quite easy to use a command like sdelete.exe (www.sysinternals.com) in a batch file to quickly accomplish the same thing manually.
Mwewe
-
- Posts: 0
- Joined: Wed Dec 31, 1969 7:00 pm
Who is online
Users browsing this forum: No registered users and 1 guest