Topic Closed

I'm running the new gpEasy 2.0b2 on nginx with php5 and fast cgi. The problem is, page loading is terribly slow. Watching the http server process, I see cpu usage go to 100% when naviagting from one page to the next. Now, here's where things get interesting: the problem dissappears entirely if I am logged in as the administrator. What's more - it appears to only happen with my custom theme.

Something else that is odd: I was reading the forum and found the post "admin-login not possible," from there I downloaded the (last mentioned) modified combine.php and replaced my copy with that. Immediatly, the problem went away. Page loading was quick and cpu usage was normal.

But NOW I'm getting the message "Javascript is required to access site administration."

I'm a bit confused, but am certianly suspecting combine.php to be the root of my issues. For now, I'm leaving up the modified version I found on the forums, so that the site will load normally for users... but I'd love a proper fix.

Please let me know how I can get you more information if you need it.

Thank you.

10 years ago#1528

Josh S.
2K Posts
295K Downloads
16 Themes
18 Plugins

I would love to work with you on getting that fixed!

I guess the first thing I'm wondering is if it's the combination of css files, js files or both. With the original combine.php file, go to the login page and do a "View Source". Within the html of the page you should see two lines with combine.php. One will have a list of css files and the other will be a list of js files. If you click on each of those individually, is there one that affects the cpu usage more than the other?

I'd also be interested in knowing which version of php you are using?

Sorry for the trouble, hopefully we can get this fixed quickly,

Thanks Andrew!

10 years ago#1552

Josh,

Following the links to combine.php with its arguments - I notice that only the css arguments cause the high cpu usage. Again, only with the original combine.css, not the modified version from the others post.

I'm using php5-fpm version 5.3.2 on an ubuntu box.

Let me know what else you need, or where else I can look. Thank you for the support.

10 years ago#1554

Josh S.
2K Posts
295K Downloads
16 Themes
18 Plugins

Still not sure what's happening. There are only a few small differences in the other combine.php file that you've used, and none that I can think of that would immediately explain a racing cpu. Would you mind trying some other combine.php files?

This version of the combine.php file disables the caching mechanism used to improve performance so it wouldn't be a final fix if it works, but it will help us narrow down the problem: combine.php. Does the cpu still max out with this one?

Thanks for helping!

10 years ago#1558

That last combine.php is the best one yet. CPU stays normal and I can log in to the admin area.

If it helps, here is a link to the style sheet that causes the issues: here.

10 years ago#1559

Josh S.
2K Posts
295K Downloads
16 Themes
18 Plugins

Ok, we're getting closer would you mind trying this one: combine.php

10 years ago#1560

That last one works very well, too. No high cpu load issues and admin works properly.

Think it's fixed?

10 years ago#1561

Josh S.
2K Posts
295K Downloads
16 Themes
18 Plugins

That last one still disabled caching, but it looks like the problem was an unecessary and never ending while loop. This should be it: combine.php

10 years ago#1562

Alright, that last file works wonderfully! If I run across any other bugs I'll be sure to post.

Thank you for all of your help.

10 years ago#1564

Josh S.
2K Posts
295K Downloads
16 Themes
18 Plugins

So it looks like the changes we made to get the combine.php script working for your server broke it for someone else. Would you mind trying out a new version of it that I'm hoping will work for everyone? Here's the new version: combine.php

-Josh

10 years ago#1582

That one seems to work just fine, too!

10 years ago#1586

Josh S.
2K Posts
295K Downloads
16 Themes
18 Plugins

That's great news. Thanks for checking it!

10 years ago#1587

Topic Closed

 

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1
8/12/2017

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

HH-Support

Company located in T├│rshavn, Faroe Islands. * Webpage Design * Consultant & Provider of a wide range of programs for visually impaired and dyslextics.

Find out more about our Provider Spotlight

Log In

  Register