Jump to:

23478 Posts in 18941 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Tracking memory issues

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2 3
Go to End
Author Topic: 2436 Views
  • dalesaurus
    Avatar
    Community Member
    283 Posts

    Re: Tracking memory issues Link to this post

    You both motivated me to hammer out my notes into the Wiki. I hope this is helpful, I dug out all the URL variables in the 2.3.3 codebase.

    http://doc.silverstripe.com/doku.php?id=urlvariabletools

  • banal
    Avatar
    Community Member
    901 Posts

    Re: Tracking memory issues Link to this post

    That's great! A very handy list, thanks a lot.
    I have to admit, as of now I didn't know quite a lot of these tools/methods. Bookmarked.

  • Mo
    Avatar
    Community Member
    508 Posts

    Re: Tracking memory issues Link to this post

    OH MY GOD!! That is so useful I don't think there is a word to accurately describe it!

    That page has gone straight into my Silverstripe Delicious Tags!

    Cheers

  • Mo
    Avatar
    Community Member
    508 Posts

    Re: Tracking memory issues Link to this post

    Right, this server keeps crashing, I am not entirely certain it is SS to blame.

    Luckily I had top running over SSH when it crashed, at the time of the crash there were 30 apache2 processes running, each using 5% of CPU.

    Is this normal? I thought apache ran in one process for all requests?

    Any Ideas?

  • Mo
    Avatar
    Community Member
    508 Posts

    Re: Tracking memory issues Link to this post

    Also, what is debug memory measured in? Is it Bytes?

  • dalesaurus
    Avatar
    Community Member
    283 Posts

    Re: Tracking memory issues Link to this post

    Bytes - http://us3.php.net/manual/en/function.memory-get-usage.php

    This is certainly not normal and sounds like a server issue. Time to get in the logs and make friends at http://stackoverflow.com/

  • Mo
    Avatar
    Community Member
    508 Posts

    Re: Tracking memory issues Link to this post

    Right, I have kind of worked this out.

    It appears to be the blog module. It is using a massive amount of memory!

    Currently, debug_memory tells me it is using 540,658,016 bytes of memory!!

    What the hell is going on? I dont get it :s.

  • dalesaurus
    Avatar
    Community Member
    283 Posts

    Re: Tracking memory issues Link to this post

    If you have it narrowed down to a specific module, perhaps its time to start a new discussion in the Modules forum to get more specialized feedback.

    But you are not crazy, it shouldn't be doing this. Many folks have this up and running without similar issues.

    2436 Views
Page: 1 2 3
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.