Commerce Server General - Problem with profiling

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > March 2005 > Problem with profiling





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Problem with profiling
arik

2005-02-16, 7:50 am

Hello
I'm getting System.OutOfMemoryException in my Code.
In the event handler i'm getting the following error
"The profile object cache has become full. Please release dirty entries, and
try your operation again. If problems persist, then please review profile
service documentation."
I'm using one profile DB for about 50 commerce sites.


Any Idea how to solve the problem ?
Do I need to activly release profile object on my site ?

Thanx
arik

Andre Podnozov [MSFT]

2005-02-17, 5:51 pm

This error indicates that the system cannot allocate more heap memory. You
can check if your process is running out of virtual memory space. Releasing
the objects sooner should help. However, with 50 sites your system will be
under considerable memory pressure, I imagine.

Thanks
Andre

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2004 Microsoft Corporation. All rights
reserved.


--------------------
Thread-Topic: Problem with profiling
thread-index: AcUULXLRKXSyui0hQlCHR2WGb1rtZw==
X-WBNR-Posting-Host: 212.143.57.174
From: "=?Utf-8?B?YXJpaw==?=" <arik@discussions.microsoft.com>
Subject: Problem with profiling
Date: Wed, 16 Feb 2005 05:43:08 -0800
Lines: 15
Message-ID: <66FA661A-21C1-4EB0-B0B8-04DAAF9E6505@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.commerceserver.general
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: TK2MSFTNGXA01.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.commerceserver.general:2224
X-Tomcat-NG: microsoft.public.commerceserver.general

Hello
I'm getting System.OutOfMemoryException in my Code.
In the event handler i'm getting the following error
"The profile object cache has become full. Please release dirty entries,
and
try your operation again. If problems persist, then please review profile
service documentation."
I'm using one profile DB for about 50 commerce sites.


Any Idea how to solve the problem ?
Do I need to activly release profile object on my site ?

Thanx
arik


arik

2005-02-20, 6:12 pm

Thanks Andre,

How can i relase unused profile objects ?
Should i clean it in Session_end event ?

I also saw that there is a parameter in the profile connection string that
suppose to activate Thread that cleans up unused profile object. I understand
that the defualt Value is "on". There is another parameter that say how much
time should pass before an unused profile object should be deleted. The
defulat value is 5 minutes.
I didn't changed both this parameters ,but my impression is that they don't
work.
Where can i see this parameter (it oesn't exist in the cs2002 manager.

Thanx

arik


arik

"Andre Podnozov [MSFT]" wrote:

> This error indicates that the system cannot allocate more heap memory. You
> can check if your process is running out of virtual memory space. Releasing
> the objects sooner should help. However, with 50 sites your system will be
> under considerable memory pressure, I imagine.
>
> Thanks
> Andre
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
> You assume all risk for your use. © 2004 Microsoft Corporation. All rights
> reserved.
>
>
> --------------------
> Thread-Topic: Problem with profiling
> thread-index: AcUULXLRKXSyui0hQlCHR2WGb1rtZw==
> X-WBNR-Posting-Host: 212.143.57.174
> From: "=?Utf-8?B?YXJpaw==?=" <arik@discussions.microsoft.com>
> Subject: Problem with profiling
> Date: Wed, 16 Feb 2005 05:43:08 -0800
> Lines: 15
> Message-ID: <66FA661A-21C1-4EB0-B0B8-04DAAF9E6505@microsoft.com>
> MIME-Version: 1.0
> Content-Type: text/plain;
> charset="Utf-8"
> Content-Transfer-Encoding: 7bit
> X-Newsreader: Microsoft CDO for Windows 2000
> Content-Class: urn:content-classes:message
> Importance: normal
> Priority: normal
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> Newsgroups: microsoft.public.commerceserver.general
> NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
> Path: TK2MSFTNGXA01.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
> Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.commerceserver.general:2224
> X-Tomcat-NG: microsoft.public.commerceserver.general
>
> Hello
> I'm getting System.OutOfMemoryException in my Code.
> In the event handler i'm getting the following error
> "The profile object cache has become full. Please release dirty entries,
> and
> try your operation again. If problems persist, then please review profile
> service documentation."
> I'm using one profile DB for about 50 commerce sites.
>
>
> Any Idea how to solve the problem ?
> Do I need to activly release profile object on my site ?
>
> Thanx
> arik
>
>

Ravi Shankar

2005-02-22, 2:51 am

You do not specify anywhere what your system configuration is..
If you have a system /w 3Gb or more then have you used the /GB & /USERVA
switches in the boot.ini ?

"arik" wrote:
[vbcol=seagreen]
> Thanks Andre,
>
> How can i relase unused profile objects ?
> Should i clean it in Session_end event ?
>
> I also saw that there is a parameter in the profile connection string that
> suppose to activate Thread that cleans up unused profile object. I understand
> that the defualt Value is "on". There is another parameter that say how much
> time should pass before an unused profile object should be deleted. The
> defulat value is 5 minutes.
> I didn't changed both this parameters ,but my impression is that they don't
> work.
> Where can i see this parameter (it oesn't exist in the cs2002 manager.
>
> Thanx
>
> arik
>
>
> arik
>
> "Andre Podnozov [MSFT]" wrote:
>
arik

2005-02-22, 7:47 am

I'm not sure that you answer my question.
How the boot.ini connect to profile object ?

"Ravi Shankar" wrote:
[vbcol=seagreen]
> You do not specify anywhere what your system configuration is..
> If you have a system /w 3Gb or more then have you used the /GB & /USERVA
> switches in the boot.ini ?
>
> "arik" wrote:
>
Andre Podnozov [MSFT]

2005-02-22, 5:50 pm

Here are a couple links that will give you some idea about the switches
that Ravi mentioned:
http://support.microsoft.com/?id=823440
http://support.microsoft.com/kb/810371

This goes back to my comment about your process virtual memory. Are you
running out of it?
Please examine Virtual Bytes perf counter for your process to verify this.

I'm assuming you are running CS2002?
Please list your OS version.
How much physical memory does your system have?

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.© 2004 Microsoft Corporation. All rights
reserved.


--------------------

I'm not sure that you answer my question.
How the boot.ini connect to profile object ?

"Ravi Shankar" wrote:
[vbcol=seagreen]
> You do not specify anywhere what your system configuration is..
> If you have a system /w 3Gb or more then have you used the /GB & /USERVA
> switches in the boot.ini ?
>
> "arik" wrote:
>
that[vbcol=seagreen]
understand[vbcol=seagreen]
much[vbcol=seagreen]
don't[vbcol=seagreen]
memory. You[vbcol=seagreen]
Releasing[vbcol=seagreen]
will be[vbcol=seagreen]
rights.[vbcol=seagreen]
rights[vbcol=seagreen]
microsoft.public.commerceserver.general:2224[vbcol=seagreen]
entries,[vbcol=seagreen]
profile[vbcol=seagreen]

Ravi Shankar

2005-02-23, 2:50 am

Apart from the .Net 1.1 & 3Gb issues, there is a restriction on the number of
profiles that can be handled by Commerce Server 2002... What is the total
number of Profiles that you have on your system (count(*) for UserObject ?).

"Andre Podnozov [MSFT]" wrote:

> Here are a couple links that will give you some idea about the switches
> that Ravi mentioned:
> http://support.microsoft.com/?id=823440
> http://support.microsoft.com/kb/810371
>
> This goes back to my comment about your process virtual memory. Are you
> running out of it?
> Please examine Virtual Bytes perf counter for your process to verify this.
>
> I'm assuming you are running CS2002?
> Please list your OS version.
> How much physical memory does your system have?
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
> You assume all risk for your use.© 2004 Microsoft Corporation. All rights
> reserved.
>
>
> --------------------
>
> I'm not sure that you answer my question.
> How the boot.ini connect to profile object ?
>
> "Ravi Shankar" wrote:
>
> that
> understand
> much
> don't
> memory. You
> Releasing
> will be
> rights.
> rights
> microsoft.public.commerceserver.general:2224
> entries,
> profile
>

arik

2005-02-28, 7:57 am

Hi,

We have 2 front servers with 2 GB memory.
Its a cs2002 application on a window 2000 server.
We are using the profile system also for anonymous users (we are using new
profile object - not the userObject).because of that we have about 2000-3000
new profiles each day. fom time to time we delete old profiles from the DB
(sql server) which we don't need anymore (users who didn't complete order).
we have total of 400000 profilesfor anonymous users. Is this suppose to
create a problem ?
We don;t have microsoft exhcage on the server so i don't see how the
switches will affect us.

Thanx

arik

"Ravi Shankar" wrote:
[vbcol=seagreen]
> Apart from the .Net 1.1 & 3Gb issues, there is a restriction on the number of
> profiles that can be handled by Commerce Server 2002... What is the total
> number of Profiles that you have on your system (count(*) for UserObject ?).
>
> "Andre Podnozov [MSFT]" wrote:
>
ravisesh_in@indiatimes.com

2005-02-28, 5:53 pm

Hi,
I got the same problem today. The usercount for our site is around
700,000. Microsoft recommends the following fix :
Check the calling program to determine why the profile objects are not
being released.
http://msdn.microsoft.com/library/d...en-us/csvr2002=
/htm/cs_mmc_errormsg_avec.asp

Any updates on this will be helpful.

Thanks in advance,

Ravi


arik wrote:
> Hi,
>
> We have 2 front servers with 2 GB memory.
> Its a cs2002 application on a window 2000 server.
> We are using the profile system also for anonymous users (we are

using new
> profile object - not the userObject).because of that we have about

2000-3000
> new profiles each day. fom time to time we delete old profiles from

the DB
> (sql server) which we don't need anymore (users who didn't complete

order).
> we have total of 400000 profilesfor anonymous users. Is this suppose

to[vbcol=seagreen]
> create a problem ?
> We don;t have microsoft exhcage on the server so i don't see how the
> switches will affect us.
>
> Thanx
>
> arik
>
> "Ravi Shankar" wrote:
>
number of[vbcol=seagreen]
total[vbcol=seagreen]
UserObject ?).[vbcol=seagreen]
switches[vbcol=seagreen]
Are you[vbcol=seagreen]
verify this.[vbcol=seagreen]
no rights.[vbcol=seagreen]
All rights[vbcol=seagreen]
& /USERVA[vbcol=seagreen]
connection string[vbcol=seagreen]
object. I[vbcol=seagreen]
that say how[vbcol=seagreen]
deleted. The[vbcol=seagreen]
that they[vbcol=seagreen]
manager.[vbcol=seagreen]
heap[vbcol=seagreen]
space.[vbcol=seagreen]
system[vbcol=seagreen]
confers no[vbcol=seagreen]
Corporation. All[vbcol=seagreen]
<arik@discussions.microsoft.com>[vbcol=seagreen]
<66FA661A-21C1-4EB0-B0B8-04DAAF9E6505@microsoft.com>[vbcol=seagreen]
TK2MSFTNGXA01.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl[vbcol=seagreen]
dirty[vbcol=seagreen]
review[vbcol=seagreen]

arik

2005-02-28, 5:53 pm

Hi

I forgot to mention that in the event log i get an error from commerce
server with event id= 14
I couldn't find any where any documentaion about this event id.

If anyone know what it mean and also how can i release profile from the
cache ?
Thanks

arik

"ravisesh_in@indiatimes.com" wrote:

> Hi,
> I got the same problem today. The usercount for our site is around
> 700,000. Microsoft recommends the following fix :
> Check the calling program to determine why the profile objects are not
> being released.
> http://msdn.microsoft.com/library/d...rormsg_avec.asp
>
> Any updates on this will be helpful.
>
> Thanks in advance,
>
> Ravi
>
>
> arik wrote:
> using new
> 2000-3000
> the DB
> order).
> to
> number of
> total
> UserObject ?).
> switches
> Are you
> verify this.
> no rights.
> All rights
> & /USERVA
> connection string
> object. I
> that say how
> deleted. The
> that they
> manager.
> heap
> space.
> system
> confers no
> Corporation. All
> <arik@discussions.microsoft.com>
> <66FA661A-21C1-4EB0-B0B8-04DAAF9E6505@microsoft.com>
> TK2MSFTNGXA01.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
> dirty
> review
>
>

Caesar Samsi [MSFT]

2005-03-21, 5:59 pm

In general profile system can scale fairly high, we've tested CS2002 SQL
stores to 25 million users.

This might also be caused by a small profile cache configuration.

Thanks, Caesar.

Apart from the .Net 1.1 & 3Gb issues, there is a restriction on the number
of
profiles that can be handled by Commerce Server 2002... What is the total
number of Profiles that you have on your system (count(*) for UserObject ?).



--
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2005 Microsoft Corporation. All rights
reserved.
arik

2005-03-22, 2:50 am

So how can i configure the profile cache ?
arik

"Caesar Samsi [MSFT]" wrote:

> In general profile system can scale fairly high, we've tested CS2002 SQL
> stores to 25 million users.
>
> This might also be caused by a small profile cache configuration.
>
> Thanks, Caesar.
>
> Apart from the .Net 1.1 & 3Gb issues, there is a restriction on the number
> of
> profiles that can be handled by Commerce Server 2002... What is the total
> number of Profiles that you have on your system (count(*) for UserObject ?).
>
>
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights.
> You assume all risk for your use. © 2005 Microsoft Corporation. All rights
> reserved

David Hargis [MSFT]

2005-03-22, 6:03 pm

The cache configuration can be changed by modifying the connection string
used to initialize the profile service. You can find documentation on the
way that the connection string can be changed in the CS documentation under
the topic "ProfileService.Initialize Method (PIA)".

Unfortunately, the only way to add the custom connection string parameters
is manually through SQL enterprise manager or query anlayzer. The property
value exists in the ResourceProps table of the MSCS_Admin DB. To get the
existing value, you can execute the query:

SELECT s.s_Name, rp.i_ResourceID, rp.s_PropertyName, rp.s_Value FROM Sites s
JOIN SiteResources sr ON s.i_SiteID = sr.i_SiteID
JOIN ResourceProps rp ON sr.i_ResourceID = rp.i_ResourceID
WHERE rp.s_PropertyName = 's_ProfileServiceConnectionString'

Once you have the resource ID, you can update the property value through
whatever means you prefer.

Please - as always - back up your data before you change any values in the
database!



--------------------
Thread-Topic: Problem with profiling
thread-index: AcUusWD+60bE+cGDTrSbvZoysxF00g==
X-WBNR-Posting-Host: 207.232.8.18
From: "=?Utf-8?B?YXJpaw==?=" <arik@discussions.microsoft.com>
References: <66FA661A-21C1-4EB0-B0B8-04DAAF9E6505@microsoft.com>
<nGA5QrUFFHA.3900@TK2MSFTNGXA01.phx.gbl>
<AA7EB35F-4DF9-403C-85D2-2CCB2A314004@microsoft.com>
<19FDAEFA-9728-44CA-A5B1-55D53E30889A@microsoft.com>
<E4B02EEA-0B2E-4F3F-A70E-7EEEDB0011B8@microsoft.com>
<MD6CkNTGFHA.2424@TK2MSFTNGXA02.phx.gbl>
<E5D143CA-9A6A-4EEE-BFB5-7C2F5293027D@microsoft.com>
<rr1LFxlLFHA.3100@TK2MSFTNGXA02.phx.gbl>
Subject: RE: Problem with profiling
Date: Mon, 21 Mar 2005 23:33:02 -0800
Lines: 23
Message-ID: <E184D3BD-3EB9-4C0D-867F-52D6D01DD5F7@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 8bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.commerceserver.general
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.commerceserver.general:15801
X-Tomcat-NG: microsoft.public.commerceserver.general

So how can i configure the profile cache ?
arik

"Caesar Samsi [MSFT]" wrote:

> In general profile system can scale fairly high, we've tested CS2002 SQL
> stores to 25 million users.
>
> This might also be caused by a small profile cache configuration.
>
> Thanks, Caesar.
>
> Apart from the .Net 1.1 & 3Gb issues, there is a restriction on the

number
> of
> profiles that can be handled by Commerce Server 2002... What is the total
> number of Profiles that you have on your system (count(*) for UserObject

?).
>
>
>
> --
> This posting is provided "AS IS" with no warranties, and confers no

rights.
> You assume all risk for your use. © 2005 Microsoft Corporation. All

rights
> reserved




--

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com