i have 2 servers with the exact same moodle installation and configuration.
One server is 4 cores and 16 ram and the other is 8 cores and 32 ram.
The 4x16 editor in moodle loads in 1 minute and the 8x32 loads in 6 or 7 minutes and its frustrating.
I already review the php.ini to see the differences between servers and are minimal (not critical to this matter).
I dont know what else i can do, does anybody knows what should i look out?
Thanks!
I have moodle 2.5 and both are CentOS
The editor in Moodle is TinyMCE
http://docs.moodle.org/25/en/Text_editor
I'm not sure why its slow though. You might want to ask the question on the TinyMCE forum?
http://www.tinymce.com/forum/
Also found this on the Moodle forums, so it might be a new issue
https://moodle.org/mod/forum/discuss.php?d=232089
There is an alternative editor in the plugins, maybe test that, see if Moodle is still slow.
https://moodle.org/plugins/browse.php?list=category&id=23
Related
I'm using Umbraco 7.4.x. I've been trying to figure out the best way to do bi-directional deployments.
As in, we have more than one dev working locally, and we have a dev server and a live server. We have single click deploys from local to dev, but that's only code. We were copying up the databases to dev, but now we also have people who need to enter content on dev. This leads us to making changes on dev database as well and copying down the database. We do all this with Version control of course, but still, this is all very inconvenient.
Is there a better approach to this that I'm missing? I tried using usync a few months ago but we'd often run into crashes.
I have heard of Courier, it seems like it would be good for deploying from dev/stage to production, but would that also work for pushing content/doc type changes to our local machines? I wasn't sure as they're not web servers on the internet but just local IIS Express running through Visual Studios
Thanks in advance!
We use uSync (uSync + uSync.ContentEdition - https://our.umbraco.org/projects/developer-tools/usync/) for moving everything between instances. Give it another shot as it has changed from the point when you're exploring it in the past. It's worth to mention that it requires good configuration on different enviroments to avoid conflicts etc.
You can also use Courier and it's latest version is used by Umbraco Cloud (http://umbraco.io/) which may also interest you as it gives you full control over deployment processes between multiple Umbraco instances.
One option is to have all of your developers set up to work off of the same dev database. On occasion, your developers might have to "Republish the entire site" or reindex the examine indexes to make sure all their cache and TEMP file are up to date. Otherwise, this has worked well for us for many years. One frustrating part of this is that media files uploaded by dev A won't be immediately on the file system for dev B. You should be able to move your media to azure blob storage to work around this problem. There is a package that should help set this up here.
I wouldn't recommend uSync.ContentEdition. I haven't tried it personally, but I have yet to hear a good report about it. uSync on the other hand has been a life saver for us even if it isn't perfect. At this point, we install usync on every site even if we never configure it to read in changes. We like that we can record our changes to document types and datatypes in source control. Working with the shared database setup means that we don't need usync to be reading on our dev and local environments. However, you will need to make sure that your devs all understand usync. If dev A adds a doc type, the usync .def file for that doc type could show up on the file system for dev B. Dev B should not commit that usync file in that situation.
Courier has been working a lot better recently. I wouldn't recommend it unless you are running umbraco 7 and can get the latest version of Courier. Courier is very useful, but you should do a lot of testing with it before you hand it over to a client because Courier gives you the ability to shoot yourself in the foot in a big way. It has definitely improved. In Courier for umbraco 6 I used to have to try really hard to deploy without breaking my site. Now, in Courier for umbraco7, I have to try really hard to break it. This is now a viable option for deploying content changes to production. Just make sure you test it heavily before you use it in a production environment.
I was happy with my own mini php framework integrated with composer until laravel 5.1 come out on display. I've been digging laravel for around 2 weeks and was able to create a small blog. More I dig more I get but not all I understand. I guess I've just got the surface. But Laravel is great, thats why I've decided to give up my small framework (so to say).
Past few days I was trying to separate my project files [project, sub-folders as asset, Controllers, template, view] including route.php files but couldn't achieve. Can anyone help me how to do that? does laravel service->package is the answer?
One more thing to mention here: Out of the box when I run laravel it took ~1.6001 seconds to load the welcome page. Then I tried [php artisan optimize] then it came down to ~0.8000 seconds.
Any kind of help will ventilate me from my asphyxic state.
[I am using laravel in wamp 2.5 - computer hardware: i7 4770k, 8gb ram]
Newbie to site and MVC/.net web development.
I have searched hi and low and although there are some threads about this issue, I cannot seem to get a solution/direct answer ... hopefully someone here can assist.
I am using VS2010/MVC3/C#/.Net4/IIS7 to develop an internet app. making use of Open Office 3.4.1 to create PDF's from Docx documents.
I used this approach: http://tinyway.wordpress.com/2011/03/30/how-to-convert-office-documents-to-pdf-using-open-office-in-c/
All works fine on my local development machine, however as soon as I publish on the test server ... the bootstrap call (line 10) does not return (simply hangs for lack of better description)
Hopefully someone here can help.
Thanks, Eugene
I guess you have installed Open Office on your development machine. You have to do the same on your web server making sure you're using the same Open Office version.
Your application must reference these assemblies:
cli_basetypes.dll
cli_cppuhelper.dll
cli_oootypes.dll
cli_ure.dll
cli_uretypes.dll
and they all have to be set "Copy Local" to false.
You won't deploy these dlls cause they're going to be loaded from the GAC.
If your IIS is running on a x64 OS you might need to:
"Enable 32-Bit Applications" = True
This article might help you.
If you want to dig deeper.
I have a webapp developed with struts2 deployed in tomcat 5.5. The server has other applications deployed in it. But the app created with struts2 is very slow. Any ideas? How does Struts 2 handle object creation? And is there anything I can do on the tomecat server..
How slow is it? What are you doing? are you sure it is Struts 2 that is slow and not your application code? Did you do any profiling? What were the results?
Check this out: http://struts.apache.org/2.2.1/docs/performance-tuning.html
I found serving the static content from a folder increased the speed.
Well few details are really required for some one to answer your question in more good way
Which Struts2 version you are using
At which place/part do you think application is slow
as per my experience there are certain areas where Struts2 have known problems, OGNL in itself sometime creates problem since this is the part of the framework which took most of the time, this has been known to fixed in 3.x version of OGNL so you can get new jar of OGNL and than can test your application.
Second use some profiler and it will help you to catch the culprit like any thread blocking etc.
What OS is Tomcat running on?
If it's Linux, you may have run into a lack of entropy issue.
If this command returns something less than 200, it could explain your issue:
cat /proc/sys/kernel/random/entropy_avail
If it is low (or watch during startup/making requests), try pointing /dev/random to /dev/urandom. (Not for secure Production, but to test in Dev should be fine):
mv /dev/random /dev/random.orig
ln -s /dev/urandom /dev/random
And try starting Tomcat again.
YayMyLife.com is my first Rails site. I am using Apache/2.2.8 (Ubuntu) Phusion_Passenger/2.2.2 .
The site works fine on Linux/Mac/Phones. However, it does not load on any browser on XP. This behavior is also found on other XP machines. The browser seems to wait for more content and it times out. I have checked headers with Live HTTPHeaders (the headers look okey) and also flushed DNS cache on XP box.
Can you please help me fix the problem?
Are you sure it doesn't work? I just tried it using IE7 and Firefox 3 within one of my Windows XP virtual machines and the site loads fine. I get a JavaScript error in IE but not in Firefox.
I got browser shots for those who are interested in solving this case:
http://browsershots.org/http://www.yaymylife.com/
This gentleman was on #rubyonrails previously and asked the same question, with little feedback
What is the error that you are getting? If you look at all the browsers, they haven't finished loading ... could it be excessive load on the server?
Have you tried getting a Windows machine and trying to test it? If so, what is the error (with screenshot and/or stack trace from your log).
If it was a problem with rails, it would not load on any browser, if it was a css problem it would give you crap on the screen.
This looks to be an excessive load problem and something that you should try and address by looking at the web server end at the amount of time it takes to load the page and whether you need some sort of template caching or to improve the performance of DB queries that are running.
I started using Mongrel instead of Passenger and this problem is fixed. Thanks to everybody who took interest; esp. Omar Qureshi