Problem with registry size limit

G

Guest

Running W2K Server SP4, all patched. 2 gigs of physical memory. 2 swap files,
one on C (2.5 gig) and a second on F partition (initial size= 2.5g, max=3g)

Coldfusion 6.1MX is installed. App was inadvertently set to store session
vars in the registry.

Registry grew to 200 megs. RSL was up-ed to 300 megs, but the system still
reports errors upon login - "Windows cannot load the user's profile but has
logged you on with the default profile for the system. DETAIL - Insufficient
system resources exist to complete the requested service. " The SOFTWARE
hive is 200 megs.

We have reconfigured Coldfusion to store variables in a database going
forward. They also have a util to purge variables from the registry. But it's
a catch-22 -- when I try to purge things out of the SOFTWARE hive, I get an
error: "System could not allocate the required space in a registry log". Even
when I use regedit to try to manually delete one of the variable keys, I get
a non-descript error from regedit.

I have taken a look at the associated keys in HKLM/Software, and the
PagedPoolMemory key is set to 512megs. This was not done by us manually. But
upon examination, the pagedpool memory size according to taskmgr is still
about 240megs. So Windows is not setting the pagedpool memory to 512 megs.
And as I understand it, RSL can only be 80% of pagedpool. So this is where I
think I am hitting the 212 meg limit.

Does anyone have any ideas on how to resolve this? I know what I have to do
to clear the software hive using the Macromedia utility, but there is no room
in the registry log to perform the deletes. Is there any way to get Windows
to allow the pagedpool memory to increase over ~240 megs, just enough so I
can get into the hive and purge out all of those variables? And if so, will
the registry size automatically shrink afterwards?

Thanks,

Scot


In the computer performance panel where you set the paging files and rsl,
 
D

Dave Patrick

Try running Programs|Accessories|System Tools|Backup, then choose ERD, then
if you check the box for "Also backup....", then the reg will also be backed
up to
%windir%\repair\RegBack
leaving the
%windir%\repair\
directory files intact as original installation.

You can replace registry hives from within the recovery console by copying
the files from
%windir%\repair\regback
to
%windir%\system32\config
Try replacing the software hive after backing up the original.


To start the Recovery Console, start the computer from the Windows 2000
Setup CD or the Windows 2000 Setup floppy disks. If you do not have Setup
floppy disks and your computer cannot start from the Windows 2000 Setup CD,
use another Windows 2000-based computer to create the Setup floppy disks.
Press ENTER at the "Setup Notification" screen. Press R to repair a Windows
2000 installation, and then press C to use the Recovery Console. The
Recovery Console then prompts you for the administrator password. If you do
not have the correct password, Recovery Console does not allow access to the
computer. If an incorrect password is entered three times, the Recovery
Console quits and restarts the computer. Note If the registry is corrupted
or missing or no valid installations are found, the Recovery Console starts
in the root of the startup volume without requiring a password. You cannot
access any folders, but you can carry out commands such as chkdsk, fixboot,
and fixmbr for limited disk repairs. Once the password has been validated,
you have full access to the Recovery Console, but limited access to the hard
disk. You can only access the following folders on your computer: drive
root, %systemroot% or %windir%


--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Running W2K Server SP4, all patched. 2 gigs of physical memory. 2 swap
files,
| one on C (2.5 gig) and a second on F partition (initial size= 2.5g,
max=3g)
|
| Coldfusion 6.1MX is installed. App was inadvertently set to store session
| vars in the registry.
|
| Registry grew to 200 megs. RSL was up-ed to 300 megs, but the system still
| reports errors upon login - "Windows cannot load the user's profile but
has
| logged you on with the default profile for the system. DETAIL -
Insufficient
| system resources exist to complete the requested service. " The SOFTWARE
| hive is 200 megs.
|
| We have reconfigured Coldfusion to store variables in a database going
| forward. They also have a util to purge variables from the registry. But
it's
| a catch-22 -- when I try to purge things out of the SOFTWARE hive, I get
an
| error: "System could not allocate the required space in a registry log".
Even
| when I use regedit to try to manually delete one of the variable keys, I
get
| a non-descript error from regedit.
|
| I have taken a look at the associated keys in HKLM/Software, and the
| PagedPoolMemory key is set to 512megs. This was not done by us manually.
But
| upon examination, the pagedpool memory size according to taskmgr is still
| about 240megs. So Windows is not setting the pagedpool memory to 512 megs.
| And as I understand it, RSL can only be 80% of pagedpool. So this is where
I
| think I am hitting the 212 meg limit.
|
| Does anyone have any ideas on how to resolve this? I know what I have to
do
| to clear the software hive using the Macromedia utility, but there is no
room
| in the registry log to perform the deletes. Is there any way to get
Windows
| to allow the pagedpool memory to increase over ~240 megs, just enough so I
| can get into the hive and purge out all of those variables? And if so,
will
| the registry size automatically shrink afterwards?
|
| Thanks,
|
| Scot
|
|
| In the computer performance panel where you set the paging files and rsl,
 
G

Guest

OK just so I understand:

1. I will have the original registry copy from install in
%windir%\repair\

2. I will have a backup copy of the current registry (which is too big) in
%windir%\repair\RegBack

3. I will of course still have the current registry in
%windir%\system32\config

When I go into the recovery console, what exactly am I doing? You stated to
replace the software hive. I have 2 copies of the hive - the one from the
original install, and the current backup. What am I replacing the SOFTWARE
hive in %windir%\system32\config with? The original one does me no good, and
the one in %windir%\repair\RegBack is the same problematic one.

Unless I am just missing something....

thanks for your help!

--
Scot


Dave Patrick said:
Try running Programs|Accessories|System Tools|Backup, then choose ERD, then
if you check the box for "Also backup....", then the reg will also be backed
up to
%windir%\repair\RegBack
leaving the
%windir%\repair\
directory files intact as original installation.

You can replace registry hives from within the recovery console by copying
the files from
%windir%\repair\regback
to
%windir%\system32\config
Try replacing the software hive after backing up the original.


To start the Recovery Console, start the computer from the Windows 2000
Setup CD or the Windows 2000 Setup floppy disks. If you do not have Setup
floppy disks and your computer cannot start from the Windows 2000 Setup CD,
use another Windows 2000-based computer to create the Setup floppy disks.
Press ENTER at the "Setup Notification" screen. Press R to repair a Windows
2000 installation, and then press C to use the Recovery Console. The
Recovery Console then prompts you for the administrator password. If you do
not have the correct password, Recovery Console does not allow access to the
computer. If an incorrect password is entered three times, the Recovery
Console quits and restarts the computer. Note If the registry is corrupted
or missing or no valid installations are found, the Recovery Console starts
in the root of the startup volume without requiring a password. You cannot
access any folders, but you can carry out commands such as chkdsk, fixboot,
and fixmbr for limited disk repairs. Once the password has been validated,
you have full access to the Recovery Console, but limited access to the hard
disk. You can only access the following folders on your computer: drive
root, %systemroot% or %windir%


--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Running W2K Server SP4, all patched. 2 gigs of physical memory. 2 swap
files,
| one on C (2.5 gig) and a second on F partition (initial size= 2.5g,
max=3g)
|
| Coldfusion 6.1MX is installed. App was inadvertently set to store session
| vars in the registry.
|
| Registry grew to 200 megs. RSL was up-ed to 300 megs, but the system still
| reports errors upon login - "Windows cannot load the user's profile but
has
| logged you on with the default profile for the system. DETAIL -
Insufficient
| system resources exist to complete the requested service. " The SOFTWARE
| hive is 200 megs.
|
| We have reconfigured Coldfusion to store variables in a database going
| forward. They also have a util to purge variables from the registry. But
it's
| a catch-22 -- when I try to purge things out of the SOFTWARE hive, I get
an
| error: "System could not allocate the required space in a registry log".
Even
| when I use regedit to try to manually delete one of the variable keys, I
get
| a non-descript error from regedit.
|
| I have taken a look at the associated keys in HKLM/Software, and the
| PagedPoolMemory key is set to 512megs. This was not done by us manually.
But
| upon examination, the pagedpool memory size according to taskmgr is still
| about 240megs. So Windows is not setting the pagedpool memory to 512 megs.
| And as I understand it, RSL can only be 80% of pagedpool. So this is where
I
| think I am hitting the 212 meg limit.
|
| Does anyone have any ideas on how to resolve this? I know what I have to
do
| to clear the software hive using the Macromedia utility, but there is no
room
| in the registry log to perform the deletes. Is there any way to get
Windows
| to allow the pagedpool memory to increase over ~240 megs, just enough so I
| can get into the hive and purge out all of those variables? And if so,
will
| the registry size automatically shrink afterwards?
|
| Thanks,
|
| Scot
|
|
| In the computer performance panel where you set the paging files and rsl,
 
D

Dave Patrick

:
| OK just so I understand:
|
| 1. I will have the original registry copy from install in
| %windir%\repair\
* Yes

| 2. I will have a backup copy of the current registry (which is too big) in
| %windir%\repair\RegBack
* Acually you'll have the current registry but compacted.


| 3. I will of course still have the current registry in
| %windir%\system32\config
* Yes
| When I go into the recovery console, what exactly am I doing?
* Replacing the existing software hive with a compacted hive.

After you run System Tools|Backup you can look at the file size of the
software hive in;
%windir%\repair\RegBack
to see the result.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
 
G

Guest

Dave Patrick said:
| 2. I will have a backup copy of the current registry (which is too big) in
| %windir%\repair\RegBack
* Acually you'll have the current registry but compacted.

Got it. When I replace the hive, I am simply copying the SOFTWARE file from
regback to config. Since there are no SOFTWARE.LOG or SOFTWARE.EVT files in
regback, I leave those alone, correct?

Interestingly enough, I looked at another server we have. in regback, there
were files from my last ERD. I ran BACKUP just now, through Remote Desktop,
and of course had no floppy in the drive. I ran ERD, selected to backup the
registry. Dialog box went through "Saving system data", then returned an
error because, of course, there was no disk in the drive. Backup copies of
all of the hives were placed in regback, except the SOFTWARE hive is 0 bytes
(again, this is not the machine in question). Any idea why it would not copy
the SOFTWARE hive during ERD?
 
D

Dave Patrick

:
| Got it. When I replace the hive, I am simply copying the SOFTWARE file
from
| regback to config. Since there are no SOFTWARE.LOG or SOFTWARE.EVT files
in
| regback, I leave those alone, correct?
* Yes correct. Be sure to backup SOFTWARE while in the RC before replacing
it.


| Interestingly enough, I looked at another server we have. in regback,
there
| were files from my last ERD. I ran BACKUP just now, through Remote
Desktop,
| and of course had no floppy in the drive. I ran ERD, selected to backup
the
| registry. Dialog box went through "Saving system data", then returned an
| error because, of course, there was no disk in the drive. Backup copies of
| all of the hives were placed in regback, except the SOFTWARE hive is 0
bytes
| (again, this is not the machine in question). Any idea why it would not
copy
| the SOFTWARE hive during ERD?
* No I haven't seen nor heard of that happening. That is strange. Try again
from a local logon.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
 
D

Dave Patrick

On second thought Try looking at it again. I think it may have changed to
zero in size while the backup was in progress also an effect of the terminal
service connection.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
<snip>
Backup copies of
| all of the hives were placed in regback, except the SOFTWARE hive is 0
bytes
| (again, this is not the machine in question). Any idea why it would not
copy
| the SOFTWARE hive during ERD?
<snip>
 
G

Guest

Couple hours later -- it's still at 0 bytes. Plenty of disk space available.
Haven't had a chance to try it from the console yet though...
 
G

Guest

FYI-

I tried the backup/ERD process on the machine in question. It too created a
backup of the SOFWTARE hive with a ZERO byte file. This was also done via TS.
I have tried the process on other servers through TS, and it appears to work
OK. The 2 servers that it created a zero byte SOFTWARE hive backup for both
had software hives over 125 megs. Maybe that has something to do with it?
Nonetheless, without the 'compressed' copy of the SOFTWARE hive, I cannot
perform your suggestion. I will try it at the console, but something tells me
it won't make a difference.

Is there any other way to get the system to allow the registry to grow to
more than 212megs, even temporarily so I have room in the log to allow me to
delete the keys I need to, which should shrink it down in size? Why doesn't
Windows recognize the pagedpool size of 524megs, which should allow a
registry size of about 400 megs...? Or is that not a factor?

Thanks again,
 
D

Dave Patrick

These ones might help. Be sure to backup the system hive in case but maybe
setting RegistrySizeLimit and PagedPoolSize back to zero

http://support.microsoft.com/?kbid=140364
http://support.microsoft.com/kb/124594/EN-US/
http://www.microsoft.com/resources/...s/2000/server/reskit/en-us/regentry/46653.asp

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| FYI-
|
| I tried the backup/ERD process on the machine in question. It too created
a
| backup of the SOFWTARE hive with a ZERO byte file. This was also done via
TS.
| I have tried the process on other servers through TS, and it appears to
work
| OK. The 2 servers that it created a zero byte SOFTWARE hive backup for
both
| had software hives over 125 megs. Maybe that has something to do with it?
| Nonetheless, without the 'compressed' copy of the SOFTWARE hive, I cannot
| perform your suggestion. I will try it at the console, but something tells
me
| it won't make a difference.
|
| Is there any other way to get the system to allow the registry to grow to
| more than 212megs, even temporarily so I have room in the log to allow me
to
| delete the keys I need to, which should shrink it down in size? Why
doesn't
| Windows recognize the pagedpool size of 524megs, which should allow a
| registry size of about 400 megs...? Or is that not a factor?
|
| Thanks again,
|
| --
| Scot
 
G

gguerrav

Did you found any solution for this problem?
I got exactly the same problem with Coldfusion 6.1 and my server with
windows 2000 server.
Thanks in advance
 
S

steves-place

try a program called REGISTRY MECHANIC i use it all the time and never have
this problem.
the registry gets filled with left over junk ,,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top