consumes too much resource

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
5/18/2009 5:04:05 AM
Gravatar
Total Posts 22

consumes too much resource

I have a problem that my hosing company complains that the 3 of my sites consumes too much resource. The sites share database and are running in medium trust.
www.faringtofta.nu is the “root”.
byn.faringtofta.nu and fik.faringtofta.nu are child sites.
I do not have this problem on my other sites. I have tried to locate the error but I cannot find anything. Do anyone have any idea?
I am running mojoportal 2.2.9.6 on MSSQL. According to the hosting company (Surftown) it is running under Windows 2003.
 

5/18/2009 6:13:29 AM
Gravatar
Total Posts 18439

Re: consumes too much resource

Are you seeing any errors in the mojoportal logs that give a clue? 

Can your host be more specific? Consuming too much memory or processor or both?

 

5/23/2009 4:23:03 AM
Gravatar
Total Posts 251

Re: consumes too much resource

my mojoportal application pool takes 200mb of ram, this is normal?

I don't know about other CMS; when I was using other CMS, i was using a "cheap" shared hosting, with ftp access only.

BTW, mojoportal is so great, that it is worth every penny of my VPS

5/23/2009 5:54:18 AM
Gravatar
Total Posts 18439

Re: consumes too much resource

The amount of ram used by ASP.NET depends a lot on how much is available. The way garbage collection works memory is freed up as it is needed.

There are also configuration settings which can make IIS recycle the app pool when memory consumption reaches a certain level.

I don't think using 200MB indicates excessive use of memory at all. Thats about the same on my dedicated server that has 1GB of RAM, but if it had more RAM I think it would use more of it. I'm running 8 sites in the same app pool. I'm also running both SQLExpress and MySql on the same machine, 2 of the 8 sites use MySql and the rest use SQLExpress.

What you don't want to see is any signs of memory leaks where the memory consumption just keeps going up on every page request and never goes back down.

Best,

Joe

5/28/2009 1:46:03 PM
Gravatar
Total Posts 22

Re: consumes too much resource

Hi Joe,

I have not seen any errors that I can say ... A few pages that can not be found

When I surf the site I often get "Service Unavailable" ...

The hosting company sent me the IIS logs for my site and this is what they are saying:

Error:.NET Runtime 2.0 Error Reporting:0:5000:N/A:WSWB5:EventType clr20r3, P1 w3wp.exe, P2 6.0.3790.3959, P3 45d6968e, P4 mscorlib, P5 2.0.0.0, P6 471ebc5b, P7 3404, P8 15a, P9 system.unauthorizedaccess, P10 NIL.
Normal 1 24/04/2009 09:19:48 Error:ASP.NET 2.0.50727.0:0:1334:N/A:WSWB5:An unhandled exception occurred and the process was terminated.

Application ID: /LM/W3SVC/289/ROOT

Process ID: 4840

Exception: System.UnauthorizedAccessException

Message: Access to the path 'D:\hshome\user\site\Data\Sites\3\index\segments.new' is denied.

StackTrace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Lucene.Net.Store.FSDirectory.CreateOutput(String name)
at Lucene.Net.Index.SegmentInfos.Write(Directory directory)
at Lucene.Net.Index.IndexWriter.AnonymousClassWith.DoBody()
at Lucene.Net.Store.Lock.With.Run()
at Lucene.Net.Index.IndexWriter..ctor(D
Normal 1 24/04/2009 09:04:49 Warning:ASP.NET 2.0.50727.0:3:1309:N/A:WSWB5:Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 24-04-2009 09:04:19
Event time (UTC): 24-04-2009 07:04:19
Event ID: 1e37c3dbd7cf4ba985aa74ae4554d4d9
Event sequence: 686
Event occurrence: 1
Event detail code: 0
 

 

/Pär

5/28/2009 1:51:19 PM
Gravatar
Total Posts 18439

Re: consumes too much resource

Hi Par,

Sounds like something got funky with the search index files permissions.

I would backup the /Data/Sites/3/index folder then delete its contents and then do a search, it should rebuild the search index and create new files. Maybe that will fix it.

Before doing that I might delete all rows from mp_TaskQueue and mp_IndexingQueue just to remove any unprocessed rows.

Hope it helps,

Joe 

5/28/2009 2:15:18 PM
Gravatar
Total Posts 22

Re: consumes too much resource

The folders are empty, so there are no files ...

But I will empty the tables and see if I can get it working ...

5/28/2009 2:50:36 PM
Gravatar
Total Posts 18439

Re: consumes too much resource

Hi Par,

If the folder is empty already it means the folder is not writable by the web process and that is the cause of the error. 

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.