Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

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

Enourmus CPU


Reply


6 Posts   347 Views

Avatar
Suzanne

Community Member, 37 Posts

3 September 2013 at 4:03am

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

Avatar
Sean

Forum Moderator, 922 Posts

3 September 2013 at 5:17pm

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

Avatar
Suzanne

Community Member, 37 Posts

3 September 2013 at 6:10pm

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.

Avatar
Suzanne

Community Member, 37 Posts

4 September 2013 at 3:16am

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

Avatar
Sean

Forum Moderator, 922 Posts

4 September 2013 at 11:41am

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

Avatar
Suzanne

Community Member, 37 Posts

4 September 2013 at 8:02pm

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