Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
SP Buddypress plugin freeze / overload my web server
Avatar
Yehonal
Member
sp_UserOfflineSmall Offline
Nov 5, 2015 - 11:58 am

After i enable the buddypress plugin integration for sp my server hangs and i've to restart the entire machine confused

In front end it just give "response error" or an infinite loop...

Instead in admin it gives some Notices ( but they seem not related to simplepress and maybe not relevant )

Here you are the debug output: http://pastebin.com/raw.php?i=55c25EFL

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Nov 5, 2015 - 12:28 pm

Is it possible you're hitting a PHP memory limit? Not sure what the debug output is from, is that from PHP error log? I'd expect to see some kind of error if things hang up enough to need to be restarted..

Avatar
Yehonal
Member
sp_UserOfflineSmall Offline
Nov 5, 2015 - 1:01 pm

Here you are the "real" error.log

As you said it seems to be a memory error: http://pastebin.com/raw.php?i=2vWSn8QA

Could you help me to find a solution?

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Nov 5, 2015 - 1:13 pm

Quite simply the more you have running (i.e plugins) the more PHP memory you will need.

So yes, increase it! You should be able to manually increase it in the php.ini file, although I can't tell you where that file will be exactly as it could differ depending on installation.

You might be able to edit it directly in your hosting panel (cPanel maybe?). I know locally mine is in Wamp > bin > php > phpversion > php.ini..

Look for the line:

; Maximum amount of memory a script may consume (128MB)
; http://php.net/memory-limit
memory_limit = 128M

Although mine is 128M, yours might be different. Change it to suit your needs.

If you can't access it you might need to ask your host.

Avatar
Yehonal
Member
sp_UserOfflineSmall Offline
Nov 5, 2015 - 1:32 pm

I've upgraded memory limit to 528M ( it was 128M) just to be sure...but the error is the the same( memory allocation ) followed by a segmentation fault

extra 400 MB for sp buddypress plugin should be enough...

Schermata-2.pngImage Enlarger

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Nov 5, 2015 - 1:55 pm

Did you restart the server after making the change?

If so, it's entirely possible your host doesn't allow PHP memory changes or it might have a ceiling so to speak - I'm no expert on that subject, you might need to ask them.

Avatar
Yehonal
Member
sp_UserOfflineSmall Offline
Nov 5, 2015 - 1:57 pm

I'm on a vps with full access to OS

I've restarted apache after changes. Isn't it enough? i'll do a try

Avatar
Yehonal
Member
sp_UserOfflineSmall Offline
Nov 5, 2015 - 2:06 pm

After restart the memory error seems  has been gone

but the segmentation fault persists and both admin panel and front end are blank ( simply it dies )

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 5, 2015 - 2:50 pm

Segmentation error? What are you seeing?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Yehonal
Member
sp_UserOfflineSmall Offline
Nov 5, 2015 - 3:03 pm
[Thu Nov 05 18:58:27.902882 2015] [core:notice] [pid 3494] AH00051: child pid 4287 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Thu Nov 05 18:58:35.911464 2015] [core:notice] [pid 3494] AH00051: child pid 4276 exit signal Segmentation fault (11), possible coredump in /etc/apache2
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625