IIS6 W3wc.exe Memory Usage.
I have a problem with our web servers and memory etc.
We have one application pool with a few websites in it and the w3wp.exe is
consuming about 800 mb memory now.
First we had a rule for recycling the application every x minutes or when
it's using more than 600 mb memory but when the recycle is activated the
w3wc.exe process hangs and the cpu usage goes to 100% until we execute an
iisreset.exe.
That's the reason why we disabled all the recycling options and configured
only one worker process for that application.
All the websites in the application pool use the same code, only they have a
different skin.
The website also uses xml/xsl transformations.
Is it normal for an application to push the w3wc.exe process to about 1GB???
If this is the case i really want to know how much memory dedicated hosting
companies need in their webservers :-)
We are storing some information in the application cache, but this is only
for the entire website and not per user... in plain text so the amount of
data would be no greater than 100KB at most.
The application is in classic ASP.
We walked thru the entire code and checked for correctly closing all sql
recordsets, email components etc etc etc...
What is the best approach to find out what is using so much memory and why
the recycle does not work correctly?
View Replies
ADVERTISEMENT
I am in the process of writing a simple web server monitor (ASP.Net with
VB.Net). One piece of useful information for me to gather would be the
amount of memory used by objects stored in the cache, since objects are
thrown in there left and right.
Items in the cache are either custom objects or are Hashtables. How can I
get the memory size of these objects.
Marshal.SizeOf(object) does not work in this case because .Net cannot
Marshal Managed objects. I thought that I might be able to pull out the
component items in each object and build the total size from their aggregate
sizes, however that would require me to determine each objects type so that I
can correctly gather size info from the internal attributes, something that I
do not want to do.
Is there a generic way to either:
1) get the size of Managed Objects
2) convert Managed Objects into Unmanaged Objects that can be marshaled?
OR
3) some other way to get memory sizes of cached objects
View Replies
View Related
When using cookies in classic asp, is it safe to assume that using a comma delimited list of values in one cookie is much more efficient than using multiple cookies? (example below)
Response.Cookies("someCookie") = "101,102,103,104,105,106"
If InStr(Request.Cookies("someCookie"),"103") 0 Then.......
vs.
Response.Cookies("101") = "True"
Response.Cookies("102") = "True"
Response.Cookies("103") = "True"
Response.Cookies("104") = "True"
Response.Cookies("105") = "True"
Response.Cookies("106") = "True"
If Request.Cookies("103") = "True"
Then.....
View Replies
View Related
How can a measure server session memory usage?
I have a 20-30 session variables and I would like to know how much they memory they consume then multplied with my projected user load.
View Replies
View Related
I am using traditinal asp in IIS6 and seem to be experiencing memory leaks problems that I did not have or at least did not seem to notice as much when I was running the same code under IIS5.
There may beunclosed connections/recordsets and/or connections/recrodsets that
have not be set = nothing in the code. Two questions
1. Is IIS6 less forgiving of this?
2. If you do not close recordset or connection objects or set them equal to nothing is there some sort of garbage collection going on in asp that will release the memory anyway.
View Replies
View Related
I have a client that wants a web form to send credit card information and other personal information to an email address. (such as name@aol.com) Now I am uncertain on how to do this. I know SSL must be involve, but what is the process with this and how to use it with ASP ? How do you use SSL with ASP .
View Replies
View Related
I am building a small Web app that will allow end users to visit a Web page, click a button which will in turn execute a batch file on the Web server which will migrate code from the development environment to QA. The Web app will also capture logins and execution requests, and the batch file currently emails the robocopy log to me.
In researching ways to get the ASP page to execute the batch file, I came across ASPExec from Server Objects - http://www.serverobjects.com/products.htm#free. It seemed straightforward enough, however I have not been able to get the permissions in sync for it to work.
View Replies
View Related
I have just figured out how to use the global.asa file to track sessions on my site. However it relies on users logging off correctly. Is there no way that I can know that the user has closed the browser WITHOUT logging off my site? I am finding users registered as being logged in when they may not be
Could anyone show me some code that I could put in Session_OnEnd that would clean up my database table of active users? Say if a user has been in-active for 60 minutes, clean him out. I have tried to do this but it hasn't worked. I cannot seem to connect to my access db from the global.asa file!
View Replies
View Related
i have an access database which iv'e designed for my 'client' (ok, he's my friend) and now i'm also in the process of designing a website for his company - so his customers can log on and see their order status.
what's the best (and most secure) way to update the site - we don't host the site - it's hosted by someone else.
i'm totally at loss with this - since iv'e never worked with networks or servers and i just want someone to point me in the right direction. i don't want to get lock errors and the like.
iv'e heard a bit about ADO and i know some of the syntax although i'm not really sure how it applies to me here (i'm not exactly exposed to ADO since iv'e been learning asp.net 2.0 from which i understand, has totally eliminated ADO)
View Replies
View Related
What is the proper way of using html in asp
Response .write "<td>"& variable & "</td>"
or
<td><% Response.write (variable)%></td>
What difference does it make?I am building a table whose number of rows keep changing
When i use the second method the space above my table keeps increasing.I just want to know which method is better..I had posted a similiar question....I'm still trying to figure out.
View Replies
View Related
I'm currently working on a survey system that allowes users take the survey and then review/change their answeres in any order. The system uses 3 frame (Header,Body,Footer).
As it stands the system uses 3 sessions to get this done. One for the project they are in, one for the step they are in and one for their answers.
My question is at what point do I end up over whealming the system with sessions? I truly do not want to slow the system down that much. how I could optimize the usage of this?
View Replies
View Related
Is there a way to use a Session Variable to prevent the successful resubmission of a form if the user uses the Back button and tries to submit it again?
View Replies
View Related
Does anyone have working ASP code that shows CPU usage on the server where it's running from?
View Replies
View Related
Hi's there any concerns or disadvantages of using alot of respose write's (50) in a ASP page for calculations and is it better than using the recordsets to do the calculations?
Also, we are looking at moving to a secure server, will this cause any problems apart from changing all references to https?
View Replies
View Related
Can anyone point me in the right direction for dealing with a dynamically created table of shopping cart items? Each row (or Item) has a column where the user can change the quantity. Is there an easy way to grab and use these changed values when they hit the form submit button?
Or, do I need to bite the bullet and write code that filters through the form fields named "quantity1," "quantity2," "quantity3," etc... And then determine which one goes with which cart item?
View Replies
View Related
I have 4 ASP pages where an user can update some fields and submit the page, so that the fields are updated in the Database(Sqlserver), I need to handle one situation.
1) At a time I need to allow only one user to update the details in a page.
2) I need to stop other users who are trying to access the same page concurrently(probably with a message or Redirecting to other page where he can see the details in a report format).
3) Session timeout in my application is 60, So if the first user leaves the page open for a long time , I think it would be a problem....the other session has to wait for a long time.
I have no choice in decreasing the session timeout interval.
Please suggest , How can I handle this in ASP.
View Replies
View Related
I am trying to get a thorough understanding of a code where a addition or
deletion of records can be done from a list of records. For addition part of
the form, data is being obtained from set of input boxes. Code:
View Replies
View Related
I'm currently testing a version of Win2003 to evaluate a migration of our
NT4 server, but I got some troubles with Office Web Component 9 (office
2000), it seems it doesn't work anymore, and I can't find the issue.
When I make a Set objSpreadsheet = Server.CreateObject("OWC.Spreadsheet"), I
got an error :
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/test/include/./include_asp/excel-class.asp, line 10
800401f3
So I thought it was a "Web service extension" problem, prohibited por
default by IIS6, I authorized MSOWC.dll but nothing changed...
Then I decided to setup OWC11 and it seems to works fine.... even if I don't
authorized it... (is it a normal behaviour ?, shouldn't I be supposed to
autorized it ? )
I can't understand my problem with OWC9 is there some incompatibility with
IIS6 ? Code:
View Replies
View Related
Ive got a ASP site on a server with a old iis and it works perfect on but ive got a new server with IIS 6 with exactly the same site and the session variables wont stick they just dissaper any idea.
View Replies
View Related
I have a custom File management ASP application that handles Large File uploads and download from a database (30 - 40 MB files) The application works fine on IIS5 but when I relocate it to IIS6 i get an error when I file not found error when i attempt to download out of the Database. IS there a reg setting or metabase setting that i need to change to handle large blob outputs.? Sorry I can't be more specific about the error msg but that is all it give's me a File not found error. it does however work fine with small files less then 2mb in size
View Replies
View Related
I used to be able to run ASP scripts on IIS and then I installed MS SQL
server 2000, and EVERY page I go to that has an .asp extension (even if the
code inside is BLANK) will return a error labeled "The requested resource is
in use. ".
I've tried many things like re-installing IIS 6, allot of things. PLEASE
help me, this is on a production box and HAS to be UP AND WORKING before 1:00
AM CST (5 Hours from the time I posted this)
View Replies
View Related
I migrated an application from NT4 (IIS4) to 2003 (IIS6).
The application only works when the components are registered with regsvr32.
One of the webpages doesn't work-- when I fill the form out and hit submit I
get "compx error '800af10a' Insufficient memory to perform operation.
/submit.asp, line 283"
I've tried going through and changing permissions but haven't had any luck.
I also tried setting the Web Site to use an Application Pool that I created
to run as System Mode but that didn't make any difference.
Everything works when I select "IIS5 Isolation Mode".
Knowing that it works under IIS5 Isolation mode how can I determine what is
causing the message so I can run it under IIS6?
View Replies
View Related
I migrated a VID6 application from Windows NT 4 to Windows 2003 Server (IIS4
to IIS6) which was developed using ASP and VBScript and I now I am getting an
error message as follows:
Microsoft OLE DB Provider for Visual FoxPro error '80004005'
There is not enough memory to complete this operation.
/hinojosa-web/iPD2.asp, line 377
The line mentioned above refers to the execution of a query to generate a
recordset which will be displayed to the user who is requesting data. This
issue does not always happens, it does only after accesing the web site
several times.
View Replies
View Related
I just have installed Windows 2003 Server Enterprise Ed.Where the IIS ver.6 came with it. I installed the IIS6 with all its subcomponents. The problem is that ASP pages
are not processed by the IIS whereis HTML pages are. I have allowed asp extensions.
View Replies
View Related
Is there an explanation somewhere as to how IIS6 determins how many ASP threads its actually going to use?I have configured IIS6 to have 20 threads (ASPProcessorThreadMAX) but it uses them all.
I am using the MACT test tool to stress test and with 50 concurrent users I quite often see only a single ASP thread being used the other 49 are on the Requests Queued. The Request Wait Time in Perfmon can be averaging around 5 or 6 seconds and there is plenty of spare CPU.
The application quite often has long running queries(15 to 20 seconds per request)and rather than use another thread IIS will quite often just keep ticking along with the threads its using with the result that the Request Wait Time can jump significantly.
View Replies
View Related
Set oVar = Server.CreateObject( "MSWC.PermissionChecker" )
The PermissionChecker component works flawlessly in IIS5.0, but we're migrating to IIS6.0 and it no longer works because IIS6 no longer supports it. Has anybody gotten around this issue?
View Replies
View Related
Is there a way to block an IP from entering a website on IIS? I do not have MOD-Rewrite and I have been told not to do this wih a PHP script. IS there a way in IIS?
View Replies
View Related
I've used DynuFTP and am happy with it but now the host server needs upgraded to IIS6 and Win2003. After they did this I get the error that I'm pretty sure is from DynuFTP:
Active Server Pages error 'ASP 0115'
Unexpected error
/cms/Upload.asp
A trappable error (E06D7363) occurred in an external object. The script cannot continue running.
Has anyone run into this? Seems like an IIS6 compatibility issue.
View Replies
View Related
we just upgrade a win2k server to win2k3. First we depromoted it, then we made the upgrade. The webs with ASP worked OK.
Then we made the DCPROMO and promoted it. After restart ASP's won't work.
The message on IE is:
"ya se está utilizando el recurso especificado"
something like "the specified resource is already in use"
View Replies
View Related
Part of the content of one of our web pages uses wingdings and Chr(239)
through Chr(242) (which are little arrow outlines, though that's not really
important.)
It worked just fine in Windows 2000 Server, but now under Server 2003 it
seems that characters above 127 get converted somehow, and our code no
longer produces the desired effect.
Does anyone know how to make it send our content without modification, or
how to encode it in a way that it makes it out to the browser with the
intended character value (as opposed to some thoroughly useless conversion
to a 7 bit value)?
View Replies
View Related
Im trying to find why my hosted server won't maintain session state.
Its not a web farm (not load balanced), its all the same server
An application requires a session to be set and then recalled (like you do
:)
However, since the server software was upgraded from IIS 5 to 6, the working
code no longer works.
(ie - login with session variables but get logged out immediately the page
changes)
Using simple code like <%=session.sessionid%> on the IIS6 server, and
refreshing the page shows a new ID most times - it should be the same id??
Testing on the old server (IIS5) would keep the same session id.
Where do I start looking and what pertinent questions do I need to ask my
host?
View Replies
View Related
I am trying to set a webserver to use French regional settings for testing
ASP pages.
According to http://support.microsoft.com/kb/q306044, for IIS5, this is a
matter of changing the regional settings for the authenticated user, and if
this user does not have a user profile then the default regional settings.
Unfortunately, this does not seem to be working in IIS6, in that I have
change the default user's settings and I am still getting English dates. Can
anyone tell me if this is because the way IIS chooses its settings has
changed for IIS6 or just because I have done something wrong?
View Replies
View Related
Does anyone know how to enable ASPX on IIS6?
View Replies
View Related