Browsing articles tagged with "hibernate - Admins Goodies"
Jun 19, 2012
tom

hiberfil.sys and pagefile.sys… rebuilt on boot?

I need to take an image of a drive. I’m working from a bootable CD, so I have the option to decruft before taking the image. The Windows installation on the drive has both hyberfil.sys and pagefile.sys which I would rather not include in the image. If I delete these from the drive, will Windows recreate these files if necessary? EDIT The Windows installation on the drive in question was shut-down cleanly. Asked by spender [...]

Continue Reading »
Oct 27, 2011
tom

Move Windows hibernation file to a different drive

Is it possible to move a Windows hibernation file to a different drive? For instance, if I have Windows installed on C, I want it’s hibernate file be on D. I wanted to about hibernation file (hiberfil.sys), not the page file. Edit: Now I know how you got those pagefile-related answers! >smile< Sorry, but you can’t relocate the HIBERFIL.SYS file to any partition other than the boot partition. This is because it’s needed very early [...]

Continue Reading »
Aug 24, 2011
tom

Can a naughty database app crash tomcat?

We’ve got a number of web services running through Tomcat which use hibernate/mysql. I suspect that some of them have incorrectly configured connection pools, as after several hours some of the individual apps run out of connections and stop responding. We have been making changes to the connection pool service (in this case, C3P0), but we still need to leave the old versions of the applications on the server for backwards compatibility. At any rate, [...]

Continue Reading »
Aug 24, 2011
tom

Is there a reason not to use the hibernation in Windows?

When leaving the computer for a long time it seems convenient to hibernate it instead of shutting down – all the programs remain in the same state when resumed. Are there any drawbacks in doing so? Generally there is no reason not to use it. Just keep in mind, that there are cases, that it won’t work as expected. These apply both for hibernation and suspend (to RAM): some applications are not hibernation-aware. Eg. games [...]

Continue Reading »
Aug 23, 2011
tom

Move hibernate file to a different drive

Is it possible to move a Windows hibernate file to a different drive? E.g. if I have Windows installed on C, I want it’s hibernate file be on D. Eee… just thought that I wanted to ask this question about hibernate file, not the page file. Don’t know where the page file came from. Sorry:) So the question is about hibernate file. But no problems with all answers about page file. (Edit: The original question [...]

Continue Reading »
Aug 23, 2011
tom

Any way to emulate HORM (hibernate once, resume many) on Windows XP?

I’ve read a little about the HORM (hibernate once, resume many) feature introduced in WinXP Embedded. Does anyone have any ideas on how to emulate that on WinXP Pro? Basically, I want to reuse my hibernation file so that I can cut the power to my machine and be able to resume it repeatedly the same way. I don’t know about emulating it, but there are “enthusiasts” who have gotten it working. This is a [...]

Continue Reading »
Aug 23, 2011
tom

Sleep/hibernate host machine without bothering about virtual machines?

I have a couple of workstations (Windows Vista, 7) used to host virtual machines using Virtual Server 2005, Virtual PC 2007, or Virtual PC for Windows 7. If i want to sleep or hibernate the physical hosts, I tend to get paranoid and save the states of the virtual machines before doing so. What I would like to know is there any adverse effects if I choose not to care and just immediately sleep the [...]

Continue Reading »
Aug 23, 2011
tom

Win7: Automatic scripts before and after hibernation

How can I scripts automatically before hibernation and after waking up form hibernation? I am searching for something similar to the Logon/logoff and startup/shutdown scripts feature. There’s nothing built into the OS, but you can get a dev to code something for you…you need to capture the WM_POWERBROADCAST event that fires when the system changes state. I found a sample script that works with AutoHotKey: OnMessage(0×218, “WM_POWERBROADCAST”) Return WM_POWERBROADCAST(wParam, lParam) { ; PBT_APMQUERYSUSPEND = 0 [...]

Continue Reading »
Aug 20, 2011
tom

Web application with Hibernate and ColdFusion8 goes up to 99% of the CPU

We have an application with ColdFusion 8 (the latest official release fully updated) in unix environment that the CPU sometimes goes up to 99%. Sometimes it takes days, and other times it takes minutes. We also using hibernate to the business logic. We’ve tried to remove all template cache and desactivate storage mechanism for client sessions (according to this info from Adobe) in coldfusion. Nothing worked. When we desactivate template cache it only take 2 [...]

Continue Reading »
Aug 20, 2011
tom

Web application with Hibernate, Spring and Oracle goes up to 99% of the CPU

We have an web application in Linux environment that the CPU sometimes goes up to 99%. Sometimes it takes days, and other times it takes minutes. We are using Hibernate with Spring in a tomcat webapp and an Oracle Database. Checking the logs it appears the following: “ConnectionManager – transaction completed on session with on_close connection release mode; be sure to close the session to release JDBC resources!”. And then the sessioncount starts to grow [...]

Continue Reading »
Pages:12»