Jump to:

23487 Posts in 18996 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Enourmus CPU

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
Go to End
Author Topic: 328 Views
  • Suzanne
    Avatar
    Community Member
    37 Posts

    Enourmus CPU Link to this post

    Hi,

    My CPU is skyrocketing. What can I do. Apache installation is okay. Installed XCache. But nothing seems to help.

    Can anyone help me?

    Gr. Suzanne

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: Enourmus CPU Link to this post

    Hi there,

    You'll need to provide some more details here before we can figure something out

    e.g which version of SilverStripe, what environment it is, and what custom code is developed for the site you're having problems with.

    Sean

  • Suzanne
    Avatar
    Community Member
    37 Posts

    Re: Enourmus CPU Link to this post

    Hi,

    Version is 3.0, on a linux installation. Modules I use are event_calendar, googlemapbasic, multivaluefield, userforms, queuejobs, widgets, advancedworkflow and I use the widget widget_featuredvideo.

  • Suzanne
    Avatar
    Community Member
    37 Posts

    Re: Enourmus CPU Link to this post

    Hi,

    I installed Static publisher and that helps. But I have one problem. When I want to build the cache from the command line. The
    it won't save the files. If I do it with the browser it will, but that takes about 6 minutes, and the command line is a lot faster. Can anybody help?

    Gr. Suzanne

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: Enourmus CPU Link to this post

    It almost sounds like the SilverStripe temp cache files are being rewritten on every request.

    Could you confirm the temp folder is being used correctly?
    Alternatively, create a "silverstripe-cache" folder in your project if you can't get access to the system one in /tmp.

    Have you checked out the code on a local development environment and does it work fine there?

    Sean

  • Suzanne
    Avatar
    Community Member
    37 Posts

    Re: Enourmus CPU Link to this post

    Hi,

    We have made a cache in the directory.

    Wenn I build the cache with the browser we first have to throw away al the files that are in the cache folder
    otherwise they won't get updated. They will get a new time stamp but nothing is changed. And wenn we do it
    on the commandline it looks very fast but after it there are no files in the cache directory.

    Gr. Suzanne

    328 Views
Page: 1
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.